I have been trying to segment DAPI stained nuclei with the new 3D functionality. I am getting the following error when processing the Threshold module:
Failed to run module Threshold
Traceback (most recent call last):
File “CellProfiler\cellprofiler\gui\pipelinecontroller.py”, line 2887, in do_step
File “CellProfiler\cellprofiler\pipeline.py”, line 2022, in run_module
File “CellProfiler\cellprofiler\modules\threshold.py”, line 658, in run
File “CellProfiler\cellprofiler\modules\threshold.py”, line 740, in get_threshold
File “CellProfiler\cellprofiler\modules\threshold.py”, line 844, in _threshold_otsu3
File “site-packages\centrosome\threshold.py”, line 237, in get_adaptive_threshold
File “site-packages\scipy\interpolate\fitpack2.py”, line 1174, in init
error: (1<=kx && kx<=5) failed for 5th keyword kx: regrid_smth:kx=0
I have built this pipepline from scratch in v3 and am not doing anything complicated at this stage (just want to see if it can actually segment my cells well enough in 3D). I only Resize (0.5) and medianFilter prior to thresholding.
Any help would be appreciated.