JoHof / lungmask

Automated lung segmentation in CT
Apache License 2.0
669 stars 150 forks source link

Segmentation names #98

Closed Renal-Of-Loon closed 11 months ago

Renal-Of-Loon commented 11 months ago

Hello there,

I'm fairly certain this must be available somewhere, but I can't seem to find a way to identify the name of each masks after using the example

inferer = LMInferer(modelname="LTRCLobes")
result = inferer.apply(input_image)

result seems to be the ndarray, and I'm not sure how to obtain what ROI name is associated for each mask value. Is this hardcoded somewhere, or available within the inferer class?

JoHof commented 11 months ago

Hi, you are right this is missing. I added the information to the readme with PR #99