Difference between Images and if statement
显示 更早的评论
a = imread('Image1.jpg');
b = imread('Image2.jpg');
c = imshowpair(a,b,'diff');
I have this variables now I want to do something like this:
If c==true
haveDifference = true;
else
haveDifference = false;
end
This don't work it's says it's false even they have difference!
1 个评论
per isakson
2015-3-13
编辑:per isakson
2015-3-13
Doc says:
h is a handle to the HG image object created by imshowpair.
i.e. c is not a logical variable
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Images 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!