A series of representative images can be determined by alternatively capturing lit and unlit images to result in I 1, I 2, I 3, I 4, etc.
The background image can be updated according to the following algorithm :.