As in previous works, the comer pixels of a window are masked (see Fig. 1) because they are highly unstable. The lighting condition of the masked window is ratified via subtracting the window image with an optimal fitting plane
in sense of minimum square error.