how to compare transformed images

2 views (last 30 days)
Sir,
I attached three images. when comparison occurs among these images suppose a=imread(2.jpg), b= imread(sh2.jpg), c= imread(n2.jpg) when to compare between (c,a) and (c,b)resembles the same. How can I implement in matlab. Please help me sir.

Accepted Answer

Image Analyst
Image Analyst on 19 Dec 2017
  2 Comments
Maruthi Maruthi
Maruthi Maruthi on 21 Dec 2017
Sir, I need to compare the above three images.
if (c,a) then
disp(match) else
if(c,b)
disp(match)
else
disp(notmatch)
end
end
Please help me, how can I compare images of this type to display match.
Image Analyst
Image Analyst on 21 Dec 2017
Use isequal(image1, image2) to compare entire images on a pixel by pixel basis.
imagesMatch = isequal(image1, image2);

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!