Login  Register

PCA plugin

Posted by mungallj on May 31, 2011; 7:46pm
URL: http://imagej.273.s1.nabble.com/PCA-plugin-tp3684411.html

Dear All.  I have been trying to run the PCA plugin without success.  I have got to the point where it seems to be running but I get the following error messages:

java.lang.OutOfMemoryError: Java heap space
        at bijnum.BIJutil.getFloatPixels(BIJutil.java:251)
        at bijnum.BIJutil.matrixFromImageStack(BIJutil.java:115)
        at bijnum.BIJutil.matrixFromImageStack(BIJutil.java:94)
        at PCA_.run(PCA_.java:46)
        at ij.plugin.filter.PlugInFilterRunner.processOneImage(PlugInFilterRunner.java:249)
        at ij.plugin.filter.PlugInFilterRunner.<init>(PlugInFilterRunner.java:102)
        at ij.IJ.runUserPlugIn(IJ.java:185)
        at ij.ImageJ.runUserPlugIn(ImageJ.java:264)
        at ij.plugin.PlugInExecuter.run(Compiler.java:264)
        at java.lang.Thread.run(Unknown Source)

The stack I am working on comprises Landsat data, each slice being about 170 Mb in size - perhaps the files are too large?

any pointers would be most welcome!