Hi all..
I'am newbie in java programming..
I need help to compare two images in java...
Plss help me.. Thx for your appreciates.. ^^

to Ezarral and all:

I'm sorry... I really don't know that because this is my first time join programming forum...
I'm really sorry...
Thank you for your advice... I will introspection my attitude in this forum..
Thank you very much...^^

to ezarral and all:

I'm sorry... I really don't know that because this is my first time join programming forum...
I'm really sorry...
Thank you for your advice... I will introspection my attitude in this forum..
Thank you very much...^^

sorry, i want to ask more question...
to compare two images, better using image's pixel or using image's RGB?
thanks before..

How you compare the images is completely up to you. There are many techniques for image comparison and it depends on what you are trying to resolve from the two. All of them are going to use pixel values at some level of granularity.

Thank you Mr.Ezarral..
i want to ask more question..
Is using pixel can compare two same photo without or with moving object be contained??
I have made a project which can take picture every 5 second with comparing photo in there.
i have been tried comparing using image's pixel but the program always known that pictures are different whereas i have tried to take same picture without moving object or moving device.

Sorry, my english so bad.. So i hope Mr.Ezarral can understand...

Thank you for all of your advice Mr.Ezarral.

You are going to have to apply thresholding methods to determine that the photos meet whatever criteria you deem close enough to identical. You will most likely never get two different photos with the exact same pixel values in the exact same positions. The field of computer vision can get very complex quickly depending upon your expectations.

Thank you Mr.Peter Budo for the advice..
I'm sorry, i don't know because this is my first time join programming forum..
I will mark my thread as solved.. ^^
Thank you too for Mr Ezzalar who helped to solved my problem.. ^^

This post lists a different approach to compare images for similarity with references to some original posts. Hope it will useful to you :-)

Comments
Not useful, just riding on Rafael's succes

You can also compare two images using imagemagick tools. It is very simple.

compare -metric AE 5001.MAIN.jpg 5002.MAIN.jpg difference.jpg
if it returns value 0 means both images are same.

This post might help you.

Thanks,

Binod Suman

This question has already been answered. Start a new discussion instead.