I am working on backgroun subtraction under sudden light change. Is there any example code or way to do this efficiently in OpenCV or IPP? I am reading video frames, so the running time should be very fast. Thanks in advance.
I am working on backgroun subtraction under sudden light change. Is there any example
Share
you need to devise some kind of a normalization technique first, where both the frames (one with low lighting and other with a lot of light) would be normalized and should contain values which are very close.
Unfortunately I have had same problem and I could not solve it completely but one way to address this problem is to perform histogram equalization.
After you have done equalization, you can continue with simple background subtraction techniques.