Login  Register

Re: Montage java.lang.NegativeArraySizeException

Posted by Mark J. Chopping on Aug 31, 2015; 10:00pm
URL: http://imagej.273.s1.nabble.com/Montage-java-lang-NegativeArraySizeException-tp5014201p5014205.html

Hi Curtis,  

Thanks. The 8-bit output image is somewhat smaller than:

xLocs  = 42,400 (53  800x800-pixel image chips)
yLocs  = 32,000 (40  800x800-pixel image chips)

...so it is reasonably large, about 1.3 Gb and 2,120 chips to mosaic. However, montage seems to work fine when I run it in GUI mode -- that's why I was surprised when it stopped when ImageJ was running from -batch. There are Large Montage and Custom Montage Plugins mentioned in the archives but I didn't think size/memory would be a problem if the vanilla montage worked from the GUI ok.

 Mark

Mark Chopping
Montclair State University

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html