Image comparing matlab
1 view (last 30 days)
Show older comments
Hi, this is the first time Im using matlab and has been pretty neat so far. This semester we have been asked to do a little proyect.
I choose to do an image comparing program.
What I want to compare is the level of diference between the 2 matrix.
For example, I have a table with 3 figures. a circle, a triangle, a square and since this pictures are taken in a gray scale whenever I take one of the objects off and take another picture, know where the object is missing. And reproduce that part of the matrix where the object is missing
I wanna know if this is feasable or how complicated it is.
0 Comments
Answers (1)
Image Analyst
on 2 Nov 2011
Just convert them to floating point, subtract them, and display them
imshow(single(image1) - single(image2), []);
It can be as simple as that. Or you could make it fancier if you want, such as applying colormaps, calling surf(), calculating the area of the difference, etc.
2 Comments
Walter Roberson
on 3 Nov 2011
It indicates that automatic scaling of the image levels should be used so that the lowest value actually present will correspond to the first color in the color map, and the highest value actually present will correspond to the last color in the color map.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!