Open kcabolis opened 4 years ago
Hello, would you mind providing some extra information?
Was this installed using the update site as described in the wiki page?
What version of FIJI do you have installed?
3.What threshold option are you using and what type of format are the images?
Also when was the last time MiNA worked for you and have you made any additional changes, installations since then? Any extra information would help.
Thank you
Hello,
Hopefully this helps- Please let me know if you need any further info.
There is no need to binarize an image before running MiNA since it will automatically do so already. https://github.com/StuartLab/MiNA/blob/dc02fc7c25738c323755bcc6461bf4faeec2af93/src/MiNA_Analyze_Morphology.py#L136-L137 The error seems to come from the manual thresholding that you are doing. There is also no need for this since you can choose the thresholding that you want to do through the thresholding Op menu MiNA offers. Please tell me if you have any other issues!
I recently downloaded and used the MiNA plug in successfully. However today every time I try to use it I get the following error message. I have tried uninstalling it and re-installing and this did not help.
ERROR] Traceback (most recent call last): File "Plugins/StuartLab/MiNA_Scripts/MiNA_Analyze_Morphology.py", line 291, in
File "Plugins/StuartLab/MiNA_Scripts/MiNA_Analyze_Morphology.py", line 136, in run
at net.imglib2.histogram.Real1dBinMapper.min(Real1dBinMapper.java:237)
at net.imglib2.histogram.Real1dBinMapper.center(Real1dBinMapper.java:265)
at net.imglib2.histogram.Real1dBinMapper.getCenterValue(Real1dBinMapper.java:151)
at net.imglib2.histogram.Real1dBinMapper.getCenterValue(Real1dBinMapper.java:49)
at net.imglib2.histogram.Histogram1d.getCenterValue(Histogram1d.java:300)
at net.imagej.ops.threshold.AbstractComputeThresholdHistogram.compute(AbstractComputeThresholdHistogram.java:53)
at net.imagej.ops.threshold.AbstractComputeThresholdHistogram.compute(AbstractComputeThresholdHistogram.java:41)
at net.imagej.ops.threshold.ApplyThresholdMethod$IsoData.getThreshold(ApplyThresholdMethod.java:155)
at net.imagej.ops.threshold.ApplyThresholdMethod$IsoData.getThreshold(ApplyThresholdMethod.java:134)
at net.imagej.ops.threshold.AbstractApplyThresholdIterable.compute(AbstractApplyThresholdIterable.java:52)
at net.imagej.ops.threshold.AbstractApplyThresholdIterable.compute(AbstractApplyThresholdIterable.java:43)
at net.imagej.ops.special.hybrid.UnaryHybridCF.calculate(UnaryHybridCF.java:61)
at net.imagej.ops.special.hybrid.UnaryHybridCF.run(UnaryHybridCF.java:71)
at net.imagej.ops.special.hybrid.UnaryHybridCF.run(UnaryHybridCF.java:97)
at org.scijava.command.CommandModule.run(CommandModule.java:199)
at net.imagej.ops.OpEnvironment.run(OpEnvironment.java:950)
at net.imagej.ops.OpEnvironment.run(OpEnvironment.java:136)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: invalid bin position specified
Caused by: java.lang.IllegalArgumentException: invalid bin position specified at net.imglib2.histogram.Real1dBinMapper.min(Real1dBinMapper.java:237) at net.imglib2.histogram.Real1dBinMapper.center(Real1dBinMapper.java:265) at net.imglib2.histogram.Real1dBinMapper.getCenterValue(Real1dBinMapper.java:151) at net.imglib2.histogram.Real1dBinMapper.getCenterValue(Real1dBinMapper.java:49) at net.imglib2.histogram.Histogram1d.getCenterValue(Histogram1d.java:300) at net.imagej.ops.threshold.AbstractComputeThresholdHistogram.compute(AbstractComputeThresholdHistogram.java:53) at net.imagej.ops.threshold.AbstractComputeThresholdHistogram.compute(AbstractComputeThresholdHistogram.java:41) at net.imagej.ops.threshold.ApplyThresholdMethod$IsoData.getThreshold(ApplyThresholdMethod.java:155) at net.imagej.ops.threshold.ApplyThresholdMethod$IsoData.getThreshold(ApplyThresholdMethod.java:134) at net.imagej.ops.threshold.AbstractApplyThresholdIterable.compute(AbstractApplyThresholdIterable.java:52) at net.imagej.ops.threshold.AbstractApplyThresholdIterable.compute(AbstractApplyThresholdIterable.java:43) at net.imagej.ops.special.hybrid.UnaryHybridCF.calculate(UnaryHybridCF.java:61) at net.imagej.ops.special.hybrid.UnaryHybridCF.run(UnaryHybridCF.java:71) at net.imagej.ops.special.hybrid.UnaryHybridCF.run(UnaryHybridCF.java:97) at org.scijava.command.CommandModule.run(CommandModule.java:199) at net.imagej.ops.OpEnvironment.run(OpEnvironment.java:950) at net.imagej.ops.OpEnvironment.run(OpEnvironment.java:136) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.python.core.PyReflectedFunction.call(PyReflectedFunction.java:188) ... 31 more