Open thehabes opened 6 years ago
This would be tolerable from a UI perspective... it might even be nice if you weren't planning to do anything else. The bigger problem is the performance impact. Right now the plugin is slower than the macro.
I have found a way to keep images hidden during ACRTI and ACRaking processes. I am seeing places for solution inside of this API: https://imagej.nih.gov/ij/developer/api/index.html
Images are now processed in the background. Some ImageJ commands will flash an image window, but it is immediately taken into the background.
The macro uses setBatchMode(true) to process images in the background. At present, Java needs the window to be an existing visible object to access it which means oftentimes the image must show, if only for a second, to run a command on it. This seems to have unnecessary RAM and CPU cost. Does Java have something equivalent to setBatchMode(true)?