Replace one value by NaN
Posted by
ebocher on
Sep 04, 2007; 3:29pm
URL: http://imagej.273.s1.nabble.com/Replace-one-value-by-NaN-tp3698434.html
Dear,
I'd like to replace a value in my image by NaN.
Currently I use this method :
ip.setThreshold(0.0d, 500.0d, ImageProcessor.NO_LUT_UPDATE);
ImagePlus imp = new ImagePlus("",ip);
WindowManager.setTempCurrentImage(imp);
IJ.run("NaN Background");
imp.show();
Is it possible to replace only one pixel value ?
R1.
--
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