Generally,changes in illumination and noise could influence the integrity and effectiveness of moving object detection. An improved method based on three-frame difference was proposed.Firstly,three frames were extracted continuously;then the former two frames were then filtered and extracted edge respectively.After that,XOR processing was conducted to get the edge difference.Secondly,the later two frames were processed by difference and binarization.Then morphological processing was used,we could obtain a r...