Info
This question is closed. Reopen it to edit or answer.
Image processing help
1 view (last 30 days)
Show older comments
How to compare two images ?
1 Comment
Andreas Goser
on 7 Feb 2011
Image comparison is a very wide field and to answer the question one needs two example pictures.
Answers (2)
Arturo Moncada-Torres
on 23 May 2011
Indeed, I agree with Andreas Goser: image comparison is a very wide field. However, as a first approach, a very simple but always useful and powerful way of comparing two images is comparing their histograms.
doc imhist
Just remember that for a B&W image, you will get the histogram of the levels of gray. If you have an RGB image, you need to decompose it in each of the three layers (red, green, and blue) and obtain the histogram of each of them.
Hope it helps!
0 Comments
Harsha Vardhan Rao Avunoori
on 24 May 2011
Well you have asked a real broad question :)
Arturo has mentioned you a good way of comparing two images.
You can also try correlation approach to compare two images.
0 Comments
This question is closed.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!