Login  Register

Looooong time to save zipped ROIs from ROI Manager.

Posted by Bill Mohler on Apr 18, 2011; 2:29pm
URL: http://imagej.273.s1.nabble.com/Looooong-time-to-save-zipped-ROIs-from-ROI-Manager-tp3684962.html

Has anyone else noticed how extremely long it takes to save a zip file
of ROIs from the ROI manager?  I'm seeing times like 6 minutes for 477kb
of data, 13 minutes for 850 kb...  Is this just the slowness of the zip
algorithm, or is there something intrinisically slow within the
structure of an ROI being written to disk.
Or is there something accidental and recursive going on (like rezipping
the file after each of the several thousand ROIs in a busy ROI manager
are written?  Or is it making calls to the ImagePlus associated with the
ROIs while writing each one (might make sense, since I'm using a
VirtualStack to create the ROIs)?

Just wondering if anyone else has noticed and has an explanation.  Seems
like it could be sped up dramatically.

Bill