seva100 / optic-nerve-cnn

Code repository for a paper "Optic Disc and Cup Segmentation Methods for Glaucoma Detection with Modification of U-Net Convolutional Neural Network"
MIT License
119 stars 58 forks source link

Just a question, I am using your method to detect glaucoma, which needs calculating CDR value #15

Open alikeavo opened 2 years ago

alikeavo commented 2 years ago

Can you guide me on how to calculate the Cup to Disc Ratio for any dataset like the RIM-ONE v3, in this paper-you are cropping the OD to segment the OC, is it necessary to crop it? and how do we calculate the CDR values as input size is different?

seva100 commented 2 years ago

Hi, the network was trained on the images cropped by OD, but you can try retraining it on the original images. CDR is the ratio between the height of the optic cup and the optic disc, so I guess it should not change with the input size.