how i compare one image from many images in one folder, please help me to send the code.
이전 댓글 표시
how i compare one image from many images in one folder, please help me to send the code. thanks
답변 (3개)
Image Analyst
2014년 6월 15일
0 개 추천
How exact do the comparisons need to be? How about subtracting them? Or use psnr or ssim? Or use SURF or CBIR methods?
댓글 수: 1
Image Analyst
2014년 6월 15일
First check the sizes of all dimensions
[rows, columns, numberOfColorChannels] = size(yourImage);
if all those match up, then subtract them and look for differences
subtraction = double(image1) - double(image2);
if nnz(subtraction(:)) >= 1
% Then they don't match
else
% They do match
end
카테고리
도움말 센터 및 File Exchange에서 Image Quality에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!