Comparing two images !!
显示 更早的评论
Hi every one, I have two images and I want if there any difference between them I want to return 1 elso 0 , I know how to write it in python but can you help me to write in matlab...
回答(1 个)
Walter Roberson
2017-2-26
~isequal(FirstImage, SecondImage)
isequal would normally return 1 if they are identical and 0 otherwise, but you want the opposite of that, which is why the ~ is needed.
类别
在 帮助中心 和 File Exchange 中查找有关 Call Python from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!