# Local threshold no longer works

**URL:** <https://discourse.slicer.org/t/local-threshold-no-longer-works/34934>\
**Category:** Support\
**Created:** [March 17, 2024, 1:20pm UTC](https://discourse.slicer.org/t/local-threshold-no-longer-works/34934 "2024-03-17T13:20:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chir.set](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chir.set/32/66982_2.png) [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Post date:** [March 17, 2024, 1:20pm UTC](https://discourse.slicer.org/t/local-threshold-no-longer-works/34934/1 "2024-03-17T13:20:13Z")

</div>

On latest Slicer preview in Linux, nothing happens in the slice views after selecting ‘Local threshold’ in the ‘Segment editor’. My oldest build is 5.7.0-2024-02-29 r32739 / c7fe865 where it does not work either. The result is the same under X11 or Wayland. No particular error message can be read.  
The other effects of ‘SegmentEditorExtraEffects’ do not have issues.

Can someone confirm this is an issue?

Thank you.

---

<div class="post-metadata">

**Author:** ![Sunderlandkyl](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sunderlandkyl/32/79987_2.png) [@Sunderlandkyl](https://discourse.slicer.org/u/Sunderlandkyl)\
**Post date:** [March 18, 2024, 2:11pm UTC](https://discourse.slicer.org/t/local-threshold-no-longer-works/34934/2 "2024-03-18T14:11:59Z")

</div>

To confirm, the issue is that the preview does not show up?

I just tested on Windows, and while I can’t see the preview, CTRL + click still added the region to the segment.

It could be that there was an update in the base threshold effect that broke the local threshold. I’ll take a look at it.

---

<div class="post-metadata">

**Author:** ![chir.set](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chir.set/32/66982_2.png) [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Post date:** [March 18, 2024, 3:58pm UTC](https://discourse.slicer.org/t/local-threshold-no-longer-works/34934/3 "2024-03-18T15:58:33Z")

</div>

> [@Sunderlandkyl](#):
>
> the issue is that the preview does not show up?

Yes, there is no preview.

> [@Sunderlandkyl](#):
>
> CTRL + click still added the region to the segment

Yes, it the specified threshold range, manually.

> [@Sunderlandkyl](#):
>
> an update in the base threshold effect

Probably, thanks for having a look.

I reported because it came as a surprise; I don’t use it very often and there are alternatives.
