answered Apr 9 '14
this is abit late, but you could try the BackgroundSubtractorGMG which is supposedly tuned for light variations. See here
Opencv v3.0.0_beta documentation has info on each of the 3 implemented algorithms here