Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/readii/loaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,11 @@ def loadRTSTRUCTSITK(

# Set up segmentation loader
logger.debug(f"Making mask using ROI names: {roiNames}")
makeMask = StructureSetToSegmentation(roi_names=roiNames)

# Initialize med-imagetools loader to convert RTSTRUCT point cloud to a segmentation
# Set continous to False to ensure indices are integers and not floats
makeMask = StructureSetToSegmentation(roi_names=roiNames,
continuous=False)

try:
# Get the individual ROI masks
Expand Down
Loading