joki
joki

Reputation: 847

Ensuring that the given image is flipped of another one

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

Answers (3)

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

ChronoTrigger
ChronoTrigger

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

Mailerdaimon
Mailerdaimon

Reputation: 6080

Just compare the image with the filpped and unflipped Version should be sufficient.

Upvotes: 1

Related Questions