Commit b26abc58b91dd8bc7516f994481a0b6f7d6e2610
1 parent
d54e05ee
Exists in
ffill_segmentation
Segmenting using floodfill
Showing
2 changed files
with
3 additions
and
2 deletions
Show diff stats
invesalius/data/styles.py
... | ... | @@ -1898,7 +1898,9 @@ class FloodFillSegmentInteractorStyle(DefaultInteractorStyle): |
1898 | 1898 | mask = self.viewer.slice_.current_mask.matrix[1:, 1:, 1:] |
1899 | 1899 | image = self.viewer.slice_.matrix |
1900 | 1900 | |
1901 | - if mask[z, y, x] < self.config.t0 or mask[z, y, x] > self.config.t1: | |
1901 | + print image[z, y, x] | |
1902 | + | |
1903 | + if image[z, y, x] < self.config.t0 or image[z, y, x] > self.config.t1: | |
1902 | 1904 | return |
1903 | 1905 | |
1904 | 1906 | if self.config.target == "3D": | ... | ... |
invesalius/gui/widgets/gradient.py