Comparing two images whether same or not
I want to compare two images whether same or not by using opencv plugin in eclipse JUNO 12.04 I have been installed opencv2.4.2 in Ubuntu If I can do, please help me sample java code about this
Thanks a lot,
You'd better specify what 'images are same' means for you:
* it can mean that both have exactly the same color in each pixel(i, j) - then you can just absdiff() them and countNonZero()
* or it can mean that the pictures contain the same objects but they differ by color-space or geometric transformations - in this case the analysis is not so trivial
If I want to compare pictures contain the same objects but they differ by color-space or geometric transformations - then what should be best approach?