Hi,
I am new to Imagej and am looking to analyze ~ 20 .tif TEM images to quantify mitochondria morphology (length, area, number of mitochondria per image).
From what I’ve read, the TWS plugin is appropriate for the type of analysis I’m wanting to carry out but I keep running into issues during the training step.
Any assistance would be greatly appreciated!
These are the errors:
Log:
Warning: at least one dimension of the image is larger than 1024 pixels.
Feature stack creation and classifier training might take some time depending on your computer.
Creating feature stack…
Updating features of slice number 1…
Error when updating feature stack.
Feature stack was not updated.
The traning did not finish.
Console:
[INFO] Reading available sites from https://imagej.net/
WARNING: core mtj jar files are not available as resources to this classloader (sun.misc.Launcher$AppClassLoader@764c12b6)
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
java.util.concurrent.FutureTask.report(FutureTask.java:122)
java.util.concurrent.FutureTask.get(FutureTask.java:192)
trainableSegmentation.FeatureStack.updateFeaturesMT(FeatureStack.java:3047)
trainableSegmentation.FeatureStack.updateFeaturesMT(FeatureStack.java:2780)
trainableSegmentation.FeatureStackArray.updateFeaturesMT(FeatureStackArray.java:190)
trainableSegmentation.WekaSegmentation.trainClassifier(WekaSegmentation.java:5271)
trainableSegmentation.Weka_Segmentation$4.run(Weka_Segmentation.java:1496)
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at trainableSegmentation.FeatureStack.updateFeaturesMT(FeatureStack.java:3047)
at trainableSegmentation.FeatureStack.updateFeaturesMT(FeatureStack.java:2780)
at trainableSegmentation.FeatureStackArray.updateFeaturesMT(FeatureStackArray.java:190)
at trainableSegmentation.WekaSegmentation.trainClassifier(WekaSegmentation.java:5271)
at trainableSegmentation.Weka_Segmentation$4.run(Weka_Segmentation.java:1496)
Caused by: java.lang.OutOfMemoryError: Java heap space
at ij.process.FloatProcessor.(FloatProcessor.java:38)
at trainableSegmentation.FeatureStack.calculateHessianOnChannel(FeatureStack.java:978)
at trainableSegmentation.FeatureStack.calculateHessian(FeatureStack.java:943)
at trainableSegmentation.FeatureStack.access$2(FeatureStack.java:938)
at trainableSegmentation.FeatureStack$10.call(FeatureStack.java:932)
at trainableSegmentation.FeatureStack$10.call(FeatureStack.java:1)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
NGLY1_Cell10_image10_19kx.tif (8.7 MB)