New Segment Editor effect: Local threshold

No idea, please try and it would be great if you report it here.

I am a little confused what Local Threshold vs the regular threshold module changes. I don’t seem to be able to threshold within a locality, so using this module seems to just threshold the image as it would have normally without using the ExtraEffects add on. Is there a way to delimit the area that I want to threshold? Even when I create an ROI it doesn’t seem to delimit the growing segment

By clicking into the locality you were able to threshold in the locality.
Thresholding the whole image would be a different outcome.
I have not used ROI yet with success.

What creates the locality? I don’t see a definitive demarcation in and outside of the local thresholder as it seems to threshold the whole image no matter where I click or draw

As I understood it some functions from the Segment Editor Extra Effects package are not yet fully polished and require some more work until they can get included in the standard effects collection.

@nysfour Could you try running local threshold and attaching the log? If you could also send me a scene with the image that you are trying to segment, it would be helpful. You can send it to me over private message if you can’t share it publicly.

How do I record the log?

You can find log files in Help → Report a bug. The most recent log will be for the current session.

Thanks for sending the log + data!

The issue is that the GrowCut filter does not work on 2D data.
It should work if you change the segmentation algorithm to “Masking” in the Local threshold effect.

I’ll add a message to let the user know about this limitation if they have an algorithm that is incompatible with their data selected.

Thank you very much!

Is there any limitation on how many ROI’s can be added? When I add a first ROI, local thresholder works to segment. However, when a second ROI is added, the program doesn’t generate a new mask, even if the ROI is changed to the secondary box. Is there anything wrong with this group of settings? (R_1 is the added ROI)
image

Multiple ROIs should work fine. I tested on 3D images and you can use multiple ROI nodes, or modify a single one between operations.

In 2D however it looks like the ROI doesn’t function correctly. I’m looking into it.

For the last 2D run I did, I was able to place 2 ROIs and segment within them, but the third ROI I placed prevented any segmentation. I can run more tests and send the logs if that would be helpful