|
Algorithm 1 Steps for predicting lesions with extraprostatic extension |
Require:
Require: user defined parameters
Ensure: load pre-trained cancer model
▹ deep learning model inference, Equation (1)
dilate ▹ Equation (2)
▹ apply dilated prostate mask, Equation (3)
binary threshold ▹ Equation (4)
connected components ▹ Equation (5)
empty list ▹ where final EPE lesion predictions will be appended
for
i in do ▹ iterate over all candidates
if and then ▹ Equations (6) and (7)
compute tumor–capsule contact line length ▹ Equation (8)
if then
▹ component satisfied all criteria, Equation (9)
▹ append to list of final EPE predictions
end if
else continue
end if
end for
aggregate all final predictions for the case, q
|