From 25cf230c8fcda860cf3982c866bb46022b05f26a Mon Sep 17 00:00:00 2001 From: Fereshteh Yousefirizi <84542058+qurit-frizi@users.noreply.github.com> Date: Thu, 17 Sep 2026 12:12:08 -0700 Subject: [PATCH] Change contour_mode from 'voxel_center' to 'voxel_edge' --- rt_utils/rtstruct.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rt_utils/rtstruct.py b/rt_utils/rtstruct.py index 35cb723..6e7403e 100644 --- a/rt_utils/rtstruct.py +++ b/rt_utils/rtstruct.py @@ -32,7 +32,7 @@ def add_roi( use_pin_hole: bool = False, approximate_contours: bool = True, roi_generation_algorithm: Union[str, int] = 0, - contour_mode: str = "voxel_center", + contour_mode: str = "voxel_edge", ): """ Add a Region of Interest (ROI) to the RTStruct given a 3D binary mask for each slice.