1 | initial version |
In the first,you have to change the color space of image from BGR to HSI then specify the mask image form the region of original object.
In the next stage ,you compute homography matrix then transform the input image to the original state.
In the finial stage,the two images are normalized then compute the difference of Intensity channel according to the mask image.