Python Library for Local Threshold Effect

In Python through slicer, is there a way to run the local threshold effect like the following pseudocode?

set feature size to 6.000 mm
set threshold range to 245.00 to 1003.00
set type to grow cut
segment = point.localThreshold()

Thank you!

1 Like

You need to set the effect parameters and then call apply(ijkPoints). These examples should help with the details:

1 Like