Filter löschen
Filter löschen

how to find similar image from folder 1 to folder2

3 Ansichten (letzte 30 Tage)
ARVIND YELLAPPA
ARVIND YELLAPPA am 24 Apr. 2020
Beantwortet: Raunak Gupta am 27 Apr. 2020
For each resized image (64x64) in the “folder1” , how to plot the test image with the most similar image in the “folder2”

Antworten (1)

Raunak Gupta
Raunak Gupta am 27 Apr. 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.

Community Treasure Hunt

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

Start Hunting!

Translated by