Research Article
Shadow Elimination Algorithm Using Color and Texture Features
Algorithm 1
The proposed shadow detection and removal algorithm.
| | Input: video | | | Output: moving object with shadow removed | | | For t = 1 to T | | | establish the background of video frame by Gaussian mixture model | | | End for | | | For t = T to Tvideo | | | (1) extract the shadowed moving object S1 by Gaussian mixture model and the established background | | | (2) detect the shadow S2 of moving object by (4) | | | (3) calculate the binary image B1 with shadow removed by (11) | | | (4) calculate the binary image B2 with shadow removed by (18) | | | (5) calculate the binary image B3 by | | | (6) obtain the final binary image B with shadow removed by B = B1 OR B2 OR B3 | | | End for |
|