dice similarity index between segmented image and ground truth
5 次查看(过去 30 天)
显示 更早的评论
Helo I have an segmented image , trying to find dice similarity index between the segmented image and ground truth.
0 个评论
采纳的回答
Anand
2013-3-26
编辑:Anand
2013-3-26
How about this:
dice = 2*nnz(segIm&grndTruth)/(nnz(segIm) + nnz(grndTruth))
This expects segIm and grndTruth to be of the same size. They must also be numeric or logical.
2 个评论
Image Analyst
2013-3-26
I don't understand. segIm is what he called your final segmented image - your final binary image after all processing has been done. What do you mean by "how to put is that whole image"? There is nothing to put, it is just a variable. And you stick the variable into the equation.
更多回答(1 个)
APOORVA SAFAI
2014-10-17
how to make the two images of same size if they differ?
3 个评论
Diah Junaidi
2019-8-1
(segIm&grndTruth) :
segIm = image that we wanna reference with
grndTruth = image that being reference
just determine what is segIm and grndTruth after you obtain them, just concatenate them (segIm&grndTruth)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!