Login  Register

Recent Fiji gets slow in constructing an image

Posted by Yuekan Jiao-2 on May 30, 2017; 11:36pm
URL: http://imagej.273.s1.nabble.com/Recent-Fiji-gets-slow-in-constructing-an-image-tp5018803.html

Hi,

I have a plugin which constructs a mosaic image imp (ImageProcessor ip)
simply based on the tiles' coordinates. Each tile (ipTile) is read into the
mosaic image being shown, and the mosaic image is updated. the workflow is:

loop through each tile{
     for (int j = 0; j < heightTile; j++) {
          for (int i = 0; i < widthTile; i++) {
               ip.set(xCoor + i, yCoor + j, ipTile.get(i, j));
          }
     }
     imp.updateAndDraw();
}

This process gets much slower with recently released Fiji, and hangs. I
tracked the Fiji versions on all my computers:

1. Jave 8 ImageJ-win64.exe dated 12/14/2016 works fine but May 30 2017
version and a bit earlier ones do not.

2. Java 6 life-line versions earlier than May 30, 2017 work fine, but May
30 2017 version does not.

All my systems are windows 7 with Java 8 installed.

Thank you.


Yuekan

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