how to find similar image from folder 1 to folder2
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
For each resized image (64x64) in the “folder1” , how to plot the test image with the most similar image in the “folder2”
0 commentaires
Réponses (1)
Raunak Gupta
le 27 Avr 2020
Hi,
From the question I understand that you need to find closest image for each image in ‘folder1’ in ‘folder2’. As mentioned in a question answered here the similarity can be established between two images structurally. So, for each pair of images you may run ssim and get the similarity index stored in a matrix where rows represent images in ‘folder1’ and column represent images in ‘folder2’. The maximum value in a row corresponds to most similar image based on the column number. Since you have mentioned that image is (64x64) the ssim will work as it support grayscale images as of now.
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!