2
$\begingroup$

I've come across code to calculate a Dice coefficient in imaging segmentation, in which a "smoothing factor" was added to the formula, as below (pseudo-code):

sf = 1    
Dice = [2 (A * B) + sf] / [(A + B) + sf]

What would be the purpose of this and its effect on the output of Dice coefficient?

$\endgroup$
2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.