Dose metric ¶
By: Yuliang on May 5, 2025, 4:04 p.m.
Hi, I just spot some issues in the implementation of the dose metric.
On the challenge website, it is said that "In cases where an algorithm produces no output on a given frame with ground truth label available, the following default metric values will be used: DSC=0, HD95/MASD/CD=image size along the largest dimension in mm, dose set to zero for that frame, inference time calculated as in normal cases."
However, the code in the trackrad2025 repo are not implemented accordingly. More specifically, the DoseMetric class does not filter out empty predictions, which will cause center of mass to have null value after this line https://github.com/LMUK-RADONC-PHYS-RES/trackrad2025/blob/c5380c16b3e0b264ee8713d2c68de0c90cb463fd/evaluation/evaluate.py#L325C8-L325C98.
Could you please have a look at this issue? Many thanks!