Info
此问题已关闭。 请重新打开它进行编辑或回答。
Image processing help
1 次查看(过去 30 天)
显示 更早的评论
How to compare two images ?
1 个评论
Andreas Goser
2011-2-7
Image comparison is a very wide field and to answer the question one needs two example pictures.
回答(2 个)
Arturo Moncada-Torres
2011-5-23
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 个评论
Harsha Vardhan Rao Avunoori
2011-5-24
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 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!