Question:
How to compare two images in Java?
Gee
2008-08-18 05:48:10 UTC
Please send some coding samples or references for compare two images in java?
Four answers:
Simple Guy
2008-08-18 06:15:52 UTC
http://java.ittoolbox.com/groups/technical-functional/java-l/how-do-i-compare-two-images-in-java-1298836



http://forums.sun.com/thread.jspa?messageID=3394026
?
2016-12-12 09:36:01 UTC
Compare Images Java
anonymous
2016-12-11 22:45:10 UTC
in case you're in basic terms taking a random image and dumping it someplace, you haven't any longer any possibility of understanding what card is what. What you could desire to make your suggestions up is the thank you to by some potential get the tournament and extensive type (eg. H4, CK) into your application, then you definately can persist with your set of rules. i in my view won't be in a position to think of of a manner of telling this device to decipher a picture and confirm what it potential. evaluate transforming into an interface the place someone can enter the situation of taking part in cards. Or, you could create the situation your self, enable the person attempt and sparkling up, and then enable your solver persist with your set of rules.
anonymous
2008-08-18 06:37:26 UTC
That's an interesting Question to handle at the moment

Wow !!!



hey try this u got 2 images say image im1 and image im2

well get their pixel values as an array using pixelgrabber()

as two arrays



then jus compare the array values....its simple isnt it



But, this wont work in most situations, I guess ...

where %age similarity is expected ...



//this is to get pixel values as array<-pixels[] for one image



ColorModel defRGB=ColorModel.getRGBdefault();

int pixels[]=new int[500*500];

try{

PixelGrabber pg=new PixelGrabber(image,x,y,width,height,pixels,0,width);

System.out.println("Entered try and catch, trying to grab pixels");

pg.grabPixels();

}

catch(InterruptedException ie){

ie.printStackTrace();

}



Do send me a copy if u get ... it working the way you wanted ...



R u trying to match 2 fingerprints?



http://armageddonsaviour.blogspot.com

http://armageddonsaviour.wordpress.com


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...