How can i apply threshold for masking in segmentation process, using python code?
I’m using this seed grow example but i want to use threshold masking with this ,
i tried effect.self().onUseForPaint() and its not working
Hi @lassoan , i tried seed grow with masking(applying threshold for paint) , and it works if i put the python code in python interactor in slicer .
same code i have added in my scriptable module and seed grow works normally but i’m not seeing masking is applied before seefGrow.