Project-MONAI / MONAILabel

MONAI Label is an intelligent open source image labeling and learning tool.
https://docs.monai.io/projects/label
Apache License 2.0
565 stars 185 forks source link

Probability map export from monailabel server #1657

Open rfrs opened 3 months ago

rfrs commented 3 months ago

Dear all,

I have not found a way to export the probability maps from monailabel infer... i can infer binary representations but not the probability maps.

Could you help?

Best

diazandr3s commented 3 months ago

Hi @rfrs,

The probability maps are computed/obtained here: https://github.com/Project-MONAI/MONAILabel/blob/main/sample-apps/radiology/lib/infers/segmentation.py#L91

You could store/save them to then export to the viewer. Otherwise, you could modify the infer API to also send the probability maps to the UI.

I hope this helps,