NucleusJ plugin for FIJI

Dear members of the forum,

I installed the latest release of NucleusJ (i.e., 1.0.3) and all its dependencies (jama.jar, MorphoLibJ_.jar, and imagescience.jar) on FIJI. However, although I am pretty sure that I am using the right settings, I keep getting the following error:

Exception in thread “Thread-5496” java.lang.IndexOutOfBoundsException
at ij.ImageStack.getVoxel(
at gred.nucleus.core.NucleusSegmentation.isVoxelThresholded(
at gred.nucleus.core.NucleusSegmentation.applySegmentation(

Do you know what’s causing this error message? Any help would be greatly appreciated.

Best regards,

I solved the problem. I just needed to transform the image into an 8-bit image before launching the script.