Clear Filters
Clear Filters

Is there a method to capire similarity between two images?

11 views (last 30 days)
I would like to find method to compaire between two cracked images to measure the similarty, I used jaccard index but not working well , is there another way to measure similarity?

Answers (1)

Image Analyst
Image Analyst on 15 Oct 2023
Edited: Image Analyst on 15 Oct 2023
  4 Comments
yasmin ismail
yasmin ismail on 16 Oct 2023
@Image Analyst why I got very low IoU compaired with ssim
A = logical(imread('new7027-157.png'));
BW_groundTruth =logical(imread('Label7027_157.png'));
similarity = jaccard(A, BW_groundTruth)
similarity =
0.2822
I created GroundTuth by using Image segmenter App and export it to work space , then i used jaccrad index(IoU) , why I got very law result although both images seem same by eye vision, how to fix it, is it related to the way of creating groundtruth or I missed something to do after labeling before calculationg the similarity? can you hel me to fix it please?
I attached the original image (70027-157.jpg) which used in Image segmenter App for labeling

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!