Computational and Mathematical Methods in Medicine / 2013 / Article / Alg 1

Research Article

Constructing Benchmark Databases and Protocols for Medical Image Analysis: Diabetic Retinopathy

Algorithm 1

Image-wise evaluation based on image scores.
(1)for  each test image do
(2) , , ,
(3) curr_score image score
(4)for each test image do
(5)  if curr_score image score then
(6)   if ground truth assignment “normal” then
(7)    
(8)   else
(9)    
(10)   end if
(11)  else
(12)   if ground truth assignment “abnormal”  then
(13)    
(14)   else
(15)    
(16)    end if
(17)  end if
(18)end for
(19) (Sensitivity)
(20) (Specificity)
(21)  Add new ROC point ( ) = (1 − SP, SN)
(22)end for
(23)Return the final ROC curve (all points)

You are browsing a BETA version of Hindawi.com. Click here to switch back to the original design.