Deprecated API


Contents
Deprecated Classes
ij.plugin.filter.Duplicater
          replaced by Duplicator class 
ij.plugin.filter.Resizer
          replaced by ij.plugin.Resizer 
 

Deprecated Fields
ij.measure.CurveFitter.IterFactor
          now in the Minimizer class (since ImageJ 1.46f). (probably of not much value for anyone anyhow?) 
 

Deprecated Methods
ij.ImageStack.addUnsignedShortSlice(String, Object)
          Short images are always unsigned. 
ij.plugin.filter.GaussianBlur.blur(ImageProcessor, double)
           
ij.plugin.ImageCalculator.calculate(String, ImagePlus, ImagePlus)
          replaced by run(String,ImagePlus,ImagePlus) 
ij.plugin.filter.Filler.clearOutside(ImageProcessor)
          replaced by ImageProcessor.fillOutside(Roi) 
ij.gui.NewImage.createUnsignedShortImage(String, int, int, int, int)
          Short images are always unsigned. 
ij.plugin.filter.Filler.draw(ImageProcessor)
          replaced by ImageProcessor.draw(Roi) 
ij.process.ImageProcessor.drawDot2(int, int)
            
ij.gui.Roi.drawPixels()
          replaced by drawPixels(ImageProcessor) 
ij.plugin.filter.Filler.fill(ImageProcessor)
          replaced by ImageProcessor.fill(Roi) 
ij.gui.Roi.getBoundingRect()
          replaced by getBounds() 
ij.gui.Toolbar.getColor()
          replaced by getForegroundColor() 
ij.gui.ImageCanvas.getDisplayList()
          replaced by ImagePlus.getOverlay() 
ij.plugin.frame.RoiManager.getList()
            
ij.plugin.JpegWriter.getQuality()
          replaced by FileSaver.getJpegQuality() 
ij.measure.ResultsTable.getValue(int, int)
          replaced by getValueAsDouble 
ij.process.ImageProcessor.hideProgress()
            
ij.process.ImageProcessor.isKillable()
            
ij.plugin.filter.RankFilters.makeKernel(double)
          Not needed any more, use the rank(ip, ...) method, which creates the kernel 
ij.gui.Toolbar.setColor(Color)
          replaced by setForegroundColor() 
ij.gui.ImageCanvas.setDisplayList(Roi, Color)
          replaced by ImagePlus.setOverlay(Roi, Color, int, Color) 
ij.gui.ImageCanvas.setDisplayList(Shape, Color, BasicStroke)
          replaced by ImagePlus.setOverlay(Shape, Color, BasicStroke) 
ij.gui.ImageCanvas.setDisplayList(Vector)
          replaced by ImagePlus.setOverlay(ij.gui.Overlay) 
ij.measure.ResultsTable.setHeading(int, String)
          replaced by addValue(String,double) and setValue(String,int,double) 
ij.gui.Roi.setInstanceColor(Color)
          replaced by setStrokeColor() 
ij.gui.Roi.setLineWidth(int)
          replaced by setStrokeWidth(int) 
ij.plugin.JpegWriter.setQuality(int)
          replaced by FileSaver.setJpegQuality() 
ij.process.ImageProcessor.translate(int, int, boolean)
          replaced by translate(x,y) 
ij.IJ.write(String)
          replaced by IJ.log(), ResultsTable.setResult() and TextWindow.append(). There are examples at http://imagej.nih.gov/ij/plugins/sine-cosine.html 
 

Deprecated Constructors
ij.gui.Line(int, int, int, int, ImagePlus)
          replaced by Line(int, int, int, int) 
ij.gui.OvalRoi(int, int, int, int, ImagePlus)
            
ij.gui.PlotWindow(String, String, String, double[], double[])
          replaced by the Plot class. 
ij.gui.PlotWindow(String, String, String, float[], float[])
          replaced by the Plot class. 
ij.gui.PolygonRoi(int[], int[], int, ImagePlus, int)
            
ij.gui.Roi(int, int, int, int, ImagePlus)
            
ij.process.ShortProcessor(int, int, short[], ColorModel, boolean)
          16 bit images are normally unsigned but signed images can be simulated by subtracting 32768 and using a calibration function to restore the original values. 
ij.gui.TextRoi(int, int, String, Font, Color)
            
 



Copyright © 1997–2014 NIH. All rights reserved.