Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: set StructureSetToSegmentation continuous argument to False #77

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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