Reputation: 847
I have two images, one is the mirrored (flipped) one of another. I am using surf object for detection. I want to find out that one image is mirrored of another. How can i achieve this? Any idea? Thanks.
Upvotes: 0
Views: 91
Reputation: 3408
The easiest approach in this case is to calculate the histograms of the two images and match them. It will work even if the image has been both resized and flipped.
Upvotes: 1
Reputation: 8607
Flip and compute some kind of cross-correlation value. If the image is the same, the correlation must be high (equivalently, the sum of square differences must be low).
Upvotes: 1
Reputation: 6080
Just compare the image with the filpped and unflipped Version should be sufficient.
Upvotes: 1