Hi,
Does anybody knows a way to "window" an ImagePlus, without creating a new
Image every time?
By now I am do this like that:
------------------------------------------------------------------
Imageplus image;
ImageProcessor imageProcessor;
this.imageProcessor = image.getProcessor();
this.imageProcessor.setMinAndMax(windowMin, windowMax);
this.image = new ImagePlus("ResultImage", this.imageProcessor);
-------------------------------------------------------------------
This way is very CPU and Memory consuming, as I have to copy the image
every time.
Thanks in advance
Johannes
-----------------------------------------------------------------
ImageJ User and Developer Conference
Please visit:
http://imagejconf.tudor.lu-----------------------------------------------------------------
Johannes Hermen - Ingenieur de Recherche
[hidden email]
-----------------------------------------------------------------
CRP Henri Tudor
http://www.santec.tudor.lu29, Avenue John F. Kennedy
L-1855 Luxembourg
-----------------------------------------------------------------