setThreshold NaN value
Posted by
ebocher on
Aug 29, 2007; 4:29pm
URL: http://imagej.273.s1.nabble.com/setThreshold-NaN-value-tp3698503.html
Dear all,
I try to set a NaN value to my image.
I use this
ip.setThreshold(0.0d, 500.0d, ImageProcessor.RED_LUT);
ImagePlus imp = new ImagePlus("",ip);
imp.show();
IJ.run("NaN Background");
It works fine but I don't want to show the imagePlus.
Is it another way to do this ?
Thanks
R1.
Ps : I use this code in a java application.
--
Ingénieur de recherche
Docteur en géographie,
spécialité géomatique
École Centrale de Nantes
Institut de recherche en sciences et techniques de la ville
http://www.irstv.cnrs.fr/http://geosysin.iict.ch/irstv-trac/wikihttp://r1.bocher.free.frhttp://www.projet-sigle.org