Image processing help

How to compare two images ?

1 comentario

Andreas Goser
Andreas Goser el 7 de Feb. de 2011
Image comparison is a very wide field and to answer the question one needs two example pictures.

Respuestas (2)

Arturo Moncada-Torres
Arturo Moncada-Torres el 23 de Mayo de 2011

0 votos

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!
Harsha Vardhan Rao  Avunoori
Harsha Vardhan Rao Avunoori el 24 de Mayo de 2011

0 votos

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.

La pregunta está cerrada.

Preguntada:

el 7 de Feb. de 2011

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by