# Threshold range in 3D Slicer is \[0, 99\]

**URL:** <https://discourse.slicer.org/t/threshold-range-in-3d-slicer-is-0-99/7760>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [July 25, 2019, 6:21pm UTC](https://discourse.slicer.org/t/threshold-range-in-3d-slicer-is-0-99/7760 "2019-07-25T18:21:05Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![mli](https://avatars.discourse-cdn.com/v4/letter/m/5daacb/32.png) [@mli](https://discourse.slicer.org/u/mli)\
**Post date:** [July 25, 2019, 6:21pm UTC](https://discourse.slicer.org/t/threshold-range-in-3d-slicer-is-0-99/7760/1 "2019-07-25T18:21:05Z")

</div>

Hi guys,

I am trying to segment CT image. The data format is .nrrd and I can import it to Slicer successfully. I checked the import data and the voxel value is HU, which is from about -1000 to 1000.

However, when I use the Threshold feature in Segment Editor, the threshold range is limited to [0, 99], and I can not change it. I also tried to choose different Automatic Threshold (auto-\>maximum, minimum-\>auto, as lower, as upper), but it does not make any change.

I am a new user to Slicer. Am I missing something? Any suggestions are greatly appreciated. Thank you very much!

Best regards,  
Mohan

 ![PNG](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/9/69eee0402089aaa91914001e319c12416dd40b1f.jpeg)

---

<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:** [July 25, 2019, 6:21pm UTC](https://discourse.slicer.org/t/threshold-range-in-3d-slicer-is-0-99/7760/2 "2019-07-25T18:21:59Z")

</div>

Does it work correctly in latest Stable Release or in recent Preview Release? If not, could you please send the application log (menu: Help / Report a bug)?

---

<div class="post-metadata">

**Author:** ![Jini](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@Jini](https://discourse.slicer.org/u/Jini)\
**Post date:** [October 30, 2019, 9:00am UTC](https://discourse.slicer.org/t/threshold-range-in-3d-slicer-is-0-99/7760/3 "2019-10-30T09:00:10Z")

</div>

Hello,  
I have the same problem, that the Threshold range is limited to 99.00. I will Range from -1500 to 1500. What I can do?

---

<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 30, 2019, 11:01am UTC](https://discourse.slicer.org/t/threshold-range-in-3d-slicer-is-0-99/7760/4 "2019-10-30T11:01:32Z")

</div>

Slider range should match range of intensity values in your volume. Please attach the application log to see any hint about what went wrong.

---

<div class="post-metadata">

**Author:** ![Jini](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@Jini](https://discourse.slicer.org/u/Jini)\
**Post date:** [October 30, 2019, 11:04am UTC](https://discourse.slicer.org/t/threshold-range-in-3d-slicer-is-0-99/7760/5 "2019-10-30T11:04:06Z")

</div>

Problem report for Slicer 4.10.2 win-amd64: [please describe expected and actual behavior]

Hello,

my Problem is that the Threshold range go only from 0.00 to 99.00. But I will  
-1500 to 1500 Range. Can you help me what the Problem is ?

Thanks

---

<div class="post-metadata">

**Author:** ![Jini](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@Jini](https://discourse.slicer.org/u/Jini)\
**Post date:** [November 1, 2019, 10:13am UTC](https://discourse.slicer.org/t/threshold-range-in-3d-slicer-is-0-99/7760/6 "2019-11-01T10:13:20Z")

</div>

Hi,  
I have two Slicer Version in my work PC. But both have problem. In Version 4.10.2 I can not croped the Volume. In Version 4.11. I can select the Threshold Range but the Apply function is not work and I dont get 3D Modell. My data have 10GB.

 ![PNG](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/6/765e2f53fcba6c6c1400cefee868404b72fbd8ba.jpeg)

---

<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:** [November 1, 2019, 11:21am UTC](https://discourse.slicer.org/t/threshold-range-in-3d-slicer-is-0-99/7760/7 "2019-11-01T11:21:37Z")

</div>

If your data set size is 10GB then you need about 100GB memory space to ensure you don’t run out of memory while performing various processing.

How much RAM do you have? How much virtual memory have you configured in system settings?

---

<div class="post-metadata">

**Author:** ![Jini](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@Jini](https://discourse.slicer.org/u/Jini)\
**Post date:** [November 1, 2019, 10:29am UTC](https://discourse.slicer.org/t/threshold-range-in-3d-slicer-is-0-99/7760/8 "2019-11-01T10:29:19Z")

</div>

In Version 4.11.0 I have tha Trashold Range, but I can not appply and make 3D Modell.

 ![PNG](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/b/5/b54523e64c5983d236f11e548bf6b5cdb500b404.jpeg) . My PC have 64 RAM  
Intel(R) Core™ i7-9700 CPU 3.00GHz 64Bit. Why the Slicer not work ?  
 ![PNG](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/b/5/b54523e64c5983d236f11e548bf6b5cdb500b404.jpeg)

Thanks

---

<div class="post-metadata">

**Author:** ![Jini](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@Jini](https://discourse.slicer.org/u/Jini)\
**Post date:** [November 1, 2019, 11:26am UTC](https://discourse.slicer.org/t/threshold-range-in-3d-slicer-is-0-99/7760/9 "2019-11-01T11:26:55Z")

</div>

64 RAM Intel® Core™ i7-9700 CPU 3.00GHz 64Bit

---

<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:** [November 1, 2019, 11:41am UTC](https://discourse.slicer.org/t/threshold-range-in-3d-slicer-is-0-99/7760/10 "2019-11-01T11:41:03Z")

</div>

What operating system do you use? How much virtual memory have you configured in system settings?

---

<div class="post-metadata">

**Author:** ![Jini](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@Jini](https://discourse.slicer.org/u/Jini)\
**Post date:** [November 1, 2019, 12:03pm UTC](https://discourse.slicer.org/t/threshold-range-in-3d-slicer-is-0-99/7760/11 "2019-11-01T12:03:59Z")

</div>

Windows 10 Enterprise and graphic card NVIDIA GeForce RTX 2070

---

<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:** [November 1, 2019, 12:39pm UTC](https://discourse.slicer.org/t/threshold-range-in-3d-slicer-is-0-99/7760/12 "2019-11-01T12:39:12Z")

</div>

Configure 100GB virtual memory in your system settings and let us know if it helped.

---

<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:** [November 1, 2019, 4:02pm UTC](https://discourse.slicer.org/t/threshold-range-in-3d-slicer-is-0-99/7760/13 "2019-11-01T16:02:43Z")

</div>

I’ve tested loading of a 10GB volume then segmenting in Segment editor using Threshold effect then create 3D model by enabling “Show 3D”. I’ve found a bug that caused Slicer to exit during model generation, but I’ve fixed it now, so Slicer Preview Release that you download tomorrow or later (revision 28581 or later) should work well.

---

<div class="post-metadata">

**Author:** ![Jini](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@Jini](https://discourse.slicer.org/u/Jini)\
**Post date:** [November 4, 2019, 8:27am UTC](https://discourse.slicer.org/t/threshold-range-in-3d-slicer-is-0-99/7760/14 "2019-11-04T08:27:59Z")

</div>

Hello,  
I have with the new Version the same problem today.

 ![PNG](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/2/929e2d8b9bad3afaff1819e2656e265200cf758e.jpeg)

---

<div class="post-metadata">

**Author:** ![Jini](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@Jini](https://discourse.slicer.org/u/Jini)\
**Post date:** [November 4, 2019, 11:24am UTC](https://discourse.slicer.org/t/threshold-range-in-3d-slicer-is-0-99/7760/15 "2019-11-04T11:24:46Z")

</div>

What mean this flag in Slicer? and the Data Volum is 22GB and by apply i get this error in picture. ![flagge](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/8/6/86886fa848ec93a1934cc0981666fa82620b6de9.png)  
Can you please help me?

---

<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:** [November 4, 2019, 11:57am UTC](https://discourse.slicer.org/t/threshold-range-in-3d-slicer-is-0-99/7760/16 "2019-11-04T11:57:43Z")

</div>

Task manager shows that you are running out of memory. The error message tells the same. Configure 50-100GB more virtual memory or crop and/or downsanple the image before starting segmentation.

The flag allows you to indicate for yourself that you a segment is correct and complete. It is essential when you have hundreds of segments. See details here: [New feature: Search and filter in segments table](https://discourse.slicer.org/t/new-feature-search-and-filter-in-segments-table/7827)

---

<div class="post-metadata">

**Author:** ![Jini](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@Jini](https://discourse.slicer.org/u/Jini)\
**Post date:** [December 3, 2019, 11:33am UTC](https://discourse.slicer.org/t/threshold-range-in-3d-slicer-is-0-99/7760/17 "2019-12-03T11:33:27Z")

</div>

Hi,  
3D Slicer is not work for DICOM Data.  
I have the hard disk rate system expanded to 3TB. I can only open a finished 3D reconstruction, but I can not load a DICOM. What could be the problem?

PC:  
intel Core i7-9700 CPU 3,00GHz  
64GB  
64Bit  
Windows 10 Version 1803 ![PC](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/1/0/10a90b958a7aae961241aa48b16997beff6dbdab.png)  
D-Laufwerk: 2,72TB  
C-Laufwerk : 238GB

Can you please help?

Thanks

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [December 3, 2019, 1:58pm UTC](https://discourse.slicer.org/t/threshold-range-in-3d-slicer-is-0-99/7760/18 "2019-12-03T13:58:48Z")

</div>

Did you try the things listed here:

[https://www.slicer.org/wiki/Documentation/4.10/FAQ/DICOM](https://www.slicer.org/wiki/Documentation/4.10/FAQ/DICOM)

---

<div class="post-metadata">

**Author:** ![Nicholas.jacobson](https://avatars.discourse-cdn.com/v4/letter/n/ba8739/32.png) [@Nicholas.jacobson](https://discourse.slicer.org/u/Nicholas.jacobson)\
**Post date:** [December 8, 2020, 12:42am UTC](https://discourse.slicer.org/t/threshold-range-in-3d-slicer-is-0-99/7760/19 "2020-12-08T00:42:44Z")

</div>

Hi All,  
I seem to be running into the same issue with my threshold range. It is coming in at -2038.26 to 11956.00 which is way above HU units range of -1000 to 1000. Am I missing something or is this an error?

nick  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/f/6f92247d9ed4d464c3317b457eddf6b8c9266e6e.png)

---

<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:** [December 8, 2020, 2:03am UTC](https://discourse.slicer.org/t/threshold-range-in-3d-slicer-is-0-99/7760/20 "2020-12-08T02:03:06Z")

</div>

The displayed threshold range is the volume’s intensity range. If it has these large numbers then it means that your volume has such large numbers in it. Even a single outlier single voxel value will alter the min/max value. You can get voxel position of these outliers using numpy:

```python
a = array('MRHead')
import numpy as np
indices = np.where(a>200)
for i in range(len(indices[0])):
    print(f"voxel {i+1}: index = {indices[2][i]} {indices[1][i]} {indices[0][i]}, value = {a[indices[0][i],indices[1][i],indices[2][i]]}")

```
