AIM-Harvard / SlicerRadiomics

A Slicer extension to provide a GUI around pyradiomics
BSD 3-Clause "New" or "Revised" License
104 stars 48 forks source link

BUG: Fix some segment missing in output #69

Closed lassoan closed 2 years ago

lassoan commented 2 years ago

When input regions were provided as a segmentation node, segments were missed when segment name was not the same as the segment ID (e.g., the user renamed the segment).

The problem was that ExportSegmentsToLabelmapNode requires segment ID, but it was provided segment name instead. Fixed the issue by providing segment ID.

jcfr commented 2 years ago

:+1:

fedorov commented 2 years ago

Thank you!