# Thresholding Failing in Nightly Build

**URL:** <https://discourse.slicer.org/t/thresholding-failing-in-nightly-build/8693>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [October 7, 2019, 3:58pm UTC](https://discourse.slicer.org/t/thresholding-failing-in-nightly-build/8693 "2019-10-07T15:58:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevenagl12](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/stevenagl12/32/3391_2.png) [@stevenagl12](https://discourse.slicer.org/u/stevenagl12)\
**Post date:** [October 7, 2019, 3:58pm UTC](https://discourse.slicer.org/t/thresholding-failing-in-nightly-build/8693/1 "2019-10-07T15:58:17Z")

</div>

I am working on a windows 10, and have the latest nightly build from today. When I import my volume and then import a labelmap, convert it to a segmentation node, and attempt to threshold the volume, the segmentation fails (it only segments a small patch of the spine (my threshold is set at 134.63 and should be segmenting the couch and all bone). The first image is what should be thresholded, while the second is what is actually getting thresholded.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/b/2/b2f659579cd701c614980f2d1ef5a999880bde42.png)

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [October 7, 2019, 4:21pm UTC](https://discourse.slicer.org/t/thresholding-failing-in-nightly-build/8693/2 "2019-10-07T16:21:16Z")

</div>

The extent of an existing segment will not change. What happens if you try thresholding on a newly created segment?

---

<div class="post-metadata">

**Author:** ![stevenagl12](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/stevenagl12/32/3391_2.png) [@stevenagl12](https://discourse.slicer.org/u/stevenagl12)\
**Post date:** [October 7, 2019, 4:48pm UTC](https://discourse.slicer.org/t/thresholding-failing-in-nightly-build/8693/3 "2019-10-07T16:48:32Z")

</div>

Just tried adding an additional segment, and the same thing happened. It’s still not thresholding past the vertebrae.

---

<div class="post-metadata">

**Author:** ![stevenagl12](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/stevenagl12/32/3391_2.png) [@stevenagl12](https://discourse.slicer.org/u/stevenagl12)\
**Post date:** [October 7, 2019, 4:55pm UTC](https://discourse.slicer.org/t/thresholding-failing-in-nightly-build/8693/4 "2019-10-07T16:55:10Z")

</div>

The only time it seems to work is if I create a new segmentation, threshold the DICOM, then drag and drop the segments into the new segmentation.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [October 7, 2019, 4:59pm UTC](https://discourse.slicer.org/t/thresholding-failing-in-nightly-build/8693/5 "2019-10-07T16:59:34Z")

</div>

As @cpinter wrote above, segment extents are not modified automatically. You can adjust extents by clicking on the segmentation geometry button (next to volume selector).
