I have detected edges from an image and now I want to compare my result with the groundtruth of that image which has .mat/.seg extension.

Answers (1)

You can read in your .mat ground truth image with load(). I don't know how to read in a .seg format file, nor have I ever heard of it. Then you can just subtract the images and count up the number of times (# of pixels) they agree and disagree.

Categories

Asked:

on 31 May 2014

Answered:

on 31 May 2014

Community Treasure Hunt

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

Start Hunting!