Difference between Images and if statement

조회 수: 2 (최근 30일)
Adem Kikaj
Adem Kikaj 2015년 3월 13일
편집: per isakson 2015년 3월 13일
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
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개)

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by