How to compare ground truth with segmented image?

I have segmented images of a brain MRI and I have a ground truth that is in .mat format. There are various parameters online such as Dice to compare, but how exactly do I go about with it since the segmented image is in .jpg and ground truth is in .mat? Is there any code that implements any of the segmentation evaluation that I can refer to?

Answers (1)

You can use dice or jaccard for evaluating your segmentation:
First, you need to open your segmented image with imread and the compare both images with one of these methods

Categories

Asked:

on 15 Mar 2019

Answered:

on 15 Mar 2019

Community Treasure Hunt

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

Start Hunting!