How to compare ground truth with segmented image?

7 views (last 30 days)
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)

Alex Mcaulley
Alex Mcaulley on 15 Mar 2019
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

Find more on Medical Physics in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!