We help IT Professionals succeed at work.

compare two images

shaikchanbasha
on
Medium Priority
247 Views
Last Modified: 2008-03-06
Hai Java Guys,

How to compare two images using java.If any thing different at any place ,we have to give details of that pixel.It is GIS project.If anybody know solution for this plz let me know.Thank you in asdvance.

Basha
Comment
Watch Question

Did something like this before.
Basically you load you two images and run them each through a PixelGrabber using getPixels. This gets you two arrays of pixels. You can then loop through the arrays comapring the pixels from each image and throw an error if any are different.

Look at java.awt.image.PixelGrabber.

I did something similar to see if certain images were within given color tolerances pixel by pixel.
Here is the url to the original question :

http://www.experts-exchange.com/jsp/qShow.jsp?ta=java&qid=20086631

Commented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

- Points for ozymandias

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Venabili
EE Cleanup Volunteer

Explore More ContentExplore courses, solutions, and other research materials related to this topic.