Commit a0d4d4ee1ba2991b03d489e9784653e79c8f1876
1 parent
1237f501
Exists in
region_growing_confidence
Removed unused prints
Showing
1 changed file
with
0 additions
and
3 deletions
Show diff stats
invesalius/data/styles.py
@@ -2176,7 +2176,6 @@ class FloodFillSegmentInteractorStyle(DefaultInteractorStyle): | @@ -2176,7 +2176,6 @@ class FloodFillSegmentInteractorStyle(DefaultInteractorStyle): | ||
2176 | def do_rg_confidence(self, image, mask, p, bstruct): | 2176 | def do_rg_confidence(self, image, mask, p, bstruct): |
2177 | x, y, z = p | 2177 | x, y, z = p |
2178 | if self.config.use_ww_wl: | 2178 | if self.config.use_ww_wl: |
2179 | - print "Using WW&WL" | ||
2180 | ww = self.viewer.slice_.window_width | 2179 | ww = self.viewer.slice_.window_width |
2181 | wl = self.viewer.slice_.window_level | 2180 | wl = self.viewer.slice_.window_level |
2182 | image = get_LUT_value_255(image, ww, wl) | 2181 | image = get_LUT_value_255(image, ww, wl) |
@@ -2201,8 +2200,6 @@ class FloodFillSegmentInteractorStyle(DefaultInteractorStyle): | @@ -2201,8 +2200,6 @@ class FloodFillSegmentInteractorStyle(DefaultInteractorStyle): | ||
2201 | t0 = mean - var * self.config.confid_mult | 2200 | t0 = mean - var * self.config.confid_mult |
2202 | t1 = mean + var * self.config.confid_mult | 2201 | t1 = mean + var * self.config.confid_mult |
2203 | 2202 | ||
2204 | - print self.config.confid_iters, self.config.confid_mult | ||
2205 | - | ||
2206 | floodfill.floodfill_threshold(image, [[x, y, z]], t0, t1, 1, bstruct, out_mask) | 2203 | floodfill.floodfill_threshold(image, [[x, y, z]], t0, t1, 1, bstruct, out_mask) |
2207 | 2204 | ||
2208 | bool_mask[out_mask == 1] = True | 2205 | bool_mask[out_mask == 1] = True |