how i compare one image from many images in one folder, please help me to send the code.
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
how i compare one image from many images in one folder, please help me to send the code. thanks
0 commentaires
Réponses (3)
Image Analyst
le 15 Juin 2014
How exact do the comparisons need to be? How about subtracting them? Or use psnr or ssim? Or use SURF or CBIR methods?
1 commentaire
Image Analyst
le 15 Juin 2014
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
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!