Boost logo

Boost Users :

Subject: [Boost-users] Does anyone know how to detect image offset?
From: blp330 (blp330_at_[hidden])
Date: 2009-06-07 13:32:12


Hi,

I have two images:

http://mercurius.f-snet.com/offset1.png
http://mercurius.f-snet.com/offset1.png
http://mercurius.f-snet.com/offset2.png
http://mercurius.f-snet.com/offset2.png

They are the same in visually by eyes, but actually they are different
because of margin.

Does anyone know any algorithm or way to compare these two images but
ignores the offset of images?
(I mean, offset2.png can be treated like offset1.png + n pixels offset, it
only moved, not changed.)

If I do boost::gil::equal_pixels(offset1, offset2), I will get false because
they are different.
I need a way to compare offset1.png and offset2.png with moving detection.

Any suggestion is welcome!

Thanks.

-- 
View this message in context: http://www.nabble.com/Does-anyone-know-how-to-detect-image-offset--tp23913312p23913312.html
Sent from the Boost - Users mailing list archive at Nabble.com.

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net