how to find similar image from folder 1 to folder2
조회 수: 1 (최근 30일)
이전 댓글 표시
For each resized image (64x64) in the “folder1” , how to plot the test image with the most similar image in the “folder2”
댓글 수: 0
답변 (1개)
Raunak Gupta
2020년 4월 27일
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
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!