# Uses of Class
ij.process.ImageProcessor

Packages that use ImageProcessor
Package
Description
ij
ij.gui
ij.io
ij.measure
ij.plugin
ij.plugin.filter
ij.plugin.frame
ij.process

## Uses of ImageProcessor in ij

Fields in ij declared as ImageProcessor
Modifier and Type
Field
Description
`protected ImageProcessor`
ImagePlus.`ip`
Methods in ij that return ImageProcessor
Modifier and Type
Method
Description
`static ImageProcessor`
ImagePlus.`convertToImageProcessor(BufferedImage img, int band)`
Extract pixels as an ImageProcessor from a single band of a BufferedImage.
`ImageProcessor`
CompositeImage.`getChannelProcessor()`
`ImageProcessor`
ImagePlus.`getChannelProcessor()`
Returns a reference to the current ImageProcessor.
`ImageProcessor`
ImagePlus.`getMask()`
For images with irregular ROIs, returns a byte mask, otherwise, returns null.
`ImageProcessor`
CompositeImage.`getProcessor(int channel)`
`static ImageProcessor`
IJ.`getProcessor()`
Returns the active image or stack slice as an ImageProcessor, or displays an error message and aborts the plugin or macro if no images are open.
`ImageProcessor`
ImagePlus.`getProcessor()`
Returns a reference to the current ImageProcessor.
`ImageProcessor`
ImageStack.`getProcessor(int n)`
Returns an ImageProcessor for the specified slice, where 1<=n<=nslices.
`ImageProcessor`
VirtualStack.`getProcessor(int n)`
Returns an ImageProcessor for the specified slice, where 1<=n<=nslices.
Methods in ij with parameters of type ImageProcessor
Modifier and Type
Method
Description
`void`
ImageStack.`addSlice(ImageProcessor ip)`
Adds the image in 'ip' to the end of the stack.
`void`
ImageStack.`addSlice(String sliceLabel, ImageProcessor ip)`
Adds the image in 'ip' to the end of the stack, setting the string 'sliceLabel' as the slice metadata.
`void`
ImageStack.`addSlice(String sliceLabel, ImageProcessor ip, int n)`
Adds the image in 'ip' to the stack following slice 'n'.
`void`
VirtualStack.`addSlice(String sliceLabel, ImageProcessor ip)`
Does nothing..
`void`
VirtualStack.`addSlice(String sliceLabel, ImageProcessor ip, int n)`
Does noting.
`void`
LookUpTable.`drawUnscaledColorBar(ImageProcessor ip, int x, int y, int width, int height)`
`void`
ImagePlus.`setProcessor(ImageProcessor ip)`
Replaces the ImageProcessor with the one specified and updates the display.
`void`
ImagePlus.`setProcessor(String title, ImageProcessor ip)`
Replaces the ImageProcessor with the one specified and updates the display.
`void`
ImageStack.`setProcessor(ImageProcessor ip, int n)`
Assigns the pixel array of an ImageProcessor to the specified slice, where 1<=n<=nslices.
`void`
ImageStack.`update(ImageProcessor ip)`
Updates this stack so its attributes, such as min, max, calibration table and color model, are the same as 'ip'.
Constructors in ij with parameters of type ImageProcessor
Modifier
Constructor
Description
``
`ImagePlus(String title, ImageProcessor ip)`
Constructs an ImagePlus from an ImageProcessor.

## Uses of ImageProcessor in ij.gui

Fields in ij.gui declared as ImageProcessor
Modifier and Type
Field
Description
`protected ImageProcessor`
Roi.`cachedMask`
Methods in ij.gui that return ImageProcessor
Modifier and Type
Method
Description
`ImageProcessor`
Arrow.`getMask()`
`ImageProcessor`
OvalRoi.`getMask()`
`ImageProcessor`
PointRoi.`getMask()`
`ImageProcessor`
PolygonRoi.`getMask()`
`ImageProcessor`
Roi.`getMask()`
Always returns null for rectangular Roi's
`ImageProcessor`
ShapeRoi.`getMask()`
Returns this ROI's mask pixels as a ByteProcessor with pixels "in" the mask set to white (255) and pixels "outside" the mask set to black (0).
`ImageProcessor`
ImageRoi.`getProcessor()`
`ImageProcessor`
Plot.`getProcessor()`
Draws the plot (if not done before) in an ImageProcessor and returns the ImageProcessor with the plot.
`ImageProcessor`
PlotVirtualStack.`getProcessor(int n)`
Returns an ImageProcessor for the specified slice, where 1<=n<=nslices.
Methods in ij.gui with parameters of type ImageProcessor
Modifier and Type
Method
Description
`void`
TextRoi.`clear(ImageProcessor ip)`
`protected void`
HistogramPlot.`drawHistogram(ImageProcessor ip, boolean fixedRange)`
`protected void`
HistogramWindow.`drawHistogram(ImageProcessor ip, boolean fixedRange)`
`void`
Arrow.`drawPixels(ImageProcessor ip)`
`void`
Line.`drawPixels(ImageProcessor ip)`
If the width of this line is less than or equal to one, draws the line.
`void`
OvalRoi.`drawPixels(ImageProcessor ip)`
Draws an outline of this OvalRoi on the image.
`void`
PointRoi.`drawPixels(ImageProcessor ip)`
`void`
PolygonRoi.`drawPixels(ImageProcessor ip)`
`void`
Roi.`drawPixels(ImageProcessor ip)`
Draws the selection outline on the specified ImageProcessor.
`void`
ShapeRoi.`drawPixels(ImageProcessor ip)`
Draws the shape of this object onto the specified ImageProcessor.
`void`
TextRoi.`drawPixels(ImageProcessor ip)`
Renders the text on the image.
`static double[]`
ProfilePlot.`getColumnAverageProfile(Rectangle rect, ImageProcessor ip)`
`void`
ImageRoi.`setProcessor(ImageProcessor ip)`
Constructors in ij.gui with parameters of type ImageProcessor
Modifier
Constructor
Description
``
`ImageRoi(int x, int y, ImageProcessor ip)`
Creates a new ImageRoi from a ImageProcessor.
``
`Wand(ImageProcessor ip)`
Constructs a Wand object from an ImageProcessor.

## Uses of ImageProcessor in ij.io

Methods in ij.io that return ImageProcessor
Modifier and Type
Method
Description
`ImageProcessor`
FileOpener.`openProcessor()`
Constructors in ij.io with parameters of type ImageProcessor
Modifier
Constructor
Description
``
`TextEncoder(ImageProcessor ip, Calibration cal, int precision)`
Constructs a TextEncoder from an ImageProcessor and optional Calibration.

## Uses of ImageProcessor in ij.measure

Methods in ij.measure that return ImageProcessor
Modifier and Type
Method
Description
`ImageProcessor`
ResultsTable.`getTableAsImage()`
Returns the contents of this ResultsTable as a FloatProcessor.
Methods in ij.measure with parameters of type ImageProcessor
Modifier and Type
Method
Description
`static ResultsTable`
ResultsTable.`createTableFromImage(ImageProcessor ip)`
Creates a ResultsTable from an image or image selection.

## Uses of ImageProcessor in ij.plugin

Methods in ij.plugin that return ImageProcessor
Modifier and Type
Method
Description
`ImageProcessor`
CanvasResizer.`expandImage(ImageProcessor ipOld, int wNew, int hNew, int xOff, int yOff)`
`ImageProcessor`
AVI_Reader.`getProcessor(int n)`
Returns an ImageProcessor for the specified slice of this virtual stack (if it is one) where 1<=n<=nslices.
`ImageProcessor`
FileInfoVirtualStack.`getProcessor(int n)`
Returns an ImageProcessor for the specified image, where 1<=n<=nImages.
`ImageProcessor`
ListVirtualStack.`getProcessor(int n)`
Returns an ImageProcessor for the specified slice, where 1<=n<=nslices.
`ImageProcessor`
SurfacePlotter.`makeSurfacePlot(ImageProcessor ip)`
`ImageProcessor`
TextReader.`open()`
Displays a file open dialog and opens the specified text file as a float image.
`ImageProcessor`
TextReader.`open(String path)`
Opens the specified text file as a float image.
`ImageProcessor`
PGM_Reader.`open16bitAsciiImage(StreamTokenizer tok, int width, int height)`
`ImageProcessor`
PGM_Reader.`open16bitRawImage(InputStream is, int width, int height)`
`ImageProcessor`
Straightener.`rotateLine(ImagePlus imp, int width)`
`ImageProcessor`
Binner.`shrink(ImageProcessor ip, int xshrink, int yshrink, int method)`
`ImageProcessor`
Straightener.`straighten(ImagePlus imp, Roi roi, int width)`
`ImageProcessor`
Straightener.`straightenLine(ImagePlus imp, int width)`
`ImageProcessor`
Straightener.`straightenLine(ImagePlus imp, Line line, int width)`
Methods in ij.plugin with parameters of type ImageProcessor
Modifier and Type
Method
Description
`void`
ContrastEnhancer.`equalize(ImageProcessor ip)`
Changes the tone curves of images.
`ImageProcessor`
CanvasResizer.`expandImage(ImageProcessor ipOld, int wNew, int hNew, int xOff, int yOff)`
`static void`
FFT.`filter(ImagePlus imp, ImageProcessor filter)`
Does frequency domain fitering of the speciified image
`ImageStack`
StackMaker.`makeStack(ImageProcessor ip, int rows, int columns, int border)`
`ImageProcessor`
SurfacePlotter.`makeSurfacePlot(ImageProcessor ip)`
`static void`
FFT.`multiply(ImagePlus imp, ImageProcessor filter)`
Multiplies a Fourier domain image by a filter
`void`
Slicer.`putColumn(ImageProcessor ip, int x, int y, float[] data, int length)`
`void`
Slicer.`putRow(ImageProcessor ip, int x, int y, float[] data, int length)`
`ImageProcessor`
Binner.`shrink(ImageProcessor ip, int xshrink, int yshrink, int method)`
`void`
ContrastEnhancer.`stretchHistogram(ImageProcessor ip, double saturated)`
`void`
ContrastEnhancer.`stretchHistogram(ImageProcessor ip, double saturated, ImageStatistics stats)`
`static void`
FFT.`swapQuadrants(ImageProcessor ip)`

## Uses of ImageProcessor in ij.plugin.filter

Methods in ij.plugin.filter that return ImageProcessor
Modifier and Type
Method
Description
`ImageProcessor`
FFTFilter.`tileMirror(ImageProcessor ip, int width, int height, int x, int y)`
Puts ImageProcessor (ROI) into a new ImageProcessor of size width x height y at position (x,y).
Methods in ij.plugin.filter with parameters of type ImageProcessor
Modifier and Type
Method
Description
`void`
SaltAndPepper.`add(ImageProcessor ip, double percent)`
`boolean`
ParticleAnalyzer.`analyze(ImagePlus imp, ImageProcessor ip)`
Performs particle analysis on the specified ImagePlus and ImageProcessor.
`static void`
ImageMath.`applyMacro(ImageProcessor ip, String macro, boolean showProgress)`
`boolean`
GaussianBlur.`blur(ImageProcessor ip, double radius)`
Deprecated.
`void`
GaussianBlur.`blurGaussian(ImageProcessor ip, double sigma)`
Gaussian Filtering of an ImageProcessor
`void`
GaussianBlur.`blurGaussian(ImageProcessor ip, double sigmaX, double sigmaY, double accuracy)`
Gaussian Filtering of an ImageProcessor
`void`
Filler.`clear(ImageProcessor ip)`
`void`
Filler.`clearOutside(ImageProcessor ip)`
Deprecated.
replaced by ImageProcessor.fillOutside(Roi)
`Roi`
ThresholdToSelection.`convert(ImageProcessor ip)`
Returns a selection created from the thresholded pixels in the specified image, or null if there are no thresholded pixels.
`boolean`
Convolver.`convolve(ImageProcessor ip, float[] kernel, int kw, int kh)`
Convolves `ip` with a kernel of width `kw` and height `kh`.
`boolean`
Convolver.`convolveFloat(ImageProcessor ip, float[] kernel, int kw, int kh)`
Convolves the float image `ip` with a kernel of width `kw` and height `kh`.
`void`
Filler.`draw(ImageProcessor ip)`
Deprecated.
replaced by ImageProcessor.draw(Roi)
`void`
Filler.`drawLabel(ImagePlus imp, ImageProcessor ip, int count, Rectangle r)`
`protected void`
ParticleAnalyzer.`drawParticle(ImageProcessor drawIP, Roi roi, ImageStatistics stats, ImageProcessor mask)`
Draws a selected particle in a separate image.
`void`
Shadows.`east(ImageProcessor ip)`
`void`
Filler.`fill(ImageProcessor ip)`
Deprecated.
replaced by ImageProcessor.fill(Roi)
`ByteProcessor`
MaximumFinder.`findMaxima(ImageProcessor ip, double tolerance, boolean strict, double threshold, int outputType, boolean excludeOnEdges, boolean isEDM)`
Here the processing is done: Find the maxima of an image (does not find minima).
`ByteProcessor`
MaximumFinder.`findMaxima(ImageProcessor ip, double tolerance, double threshold, int outputType, boolean excludeOnEdges, boolean isEDM)`
Finds the maxima of an image (does not find minima).
`ByteProcessor`
MaximumFinder.`findMaxima(ImageProcessor ip, double tolerance, int outputType, boolean excludeOnEdges)`
Find the maxima of an image.
`String`
Info.`getImageInfo(ImagePlus imp, ImageProcessor ip)`
Deprecated.
`Polygon`
MaximumFinder.`getMaxima(ImageProcessor ip, double tolerance, boolean excludeOnEdges)`
Finds the image maxima and returns them as a Polygon, where poly.npoints is the number of maxima.
`Polygon`
MaximumFinder.`getMaxima(ImageProcessor ip, double tolerance, boolean strict, boolean excludeOnEdges)`
Finds the image maxima and returns them as a Polygon, where poly.npoints is the number of maxima.
`void`
Filler.`label(ImageProcessor ip)`
`ShortProcessor`
EDM.`make16bitEDM(ImageProcessor ip)`
Calculates a 16-bit grayscale Euclidean Distance Map for a binary 8-bit image.
`FloatProcessor`
EDM.`makeFloatEDM(ImageProcessor ip, int backgroundValue, boolean edgesAreBackground)`
Creates the Euclidian Distance Map of a (binary) byte image.
`void`
Filler.`makeMask(ImageProcessor ip, Rectangle r)`
`void`
Shadows.`north(ImageProcessor ip)`
`void`
Shadows.`northeast(ImageProcessor ip)`
`void`
Shadows.`northwest(ImageProcessor ip)`
`void`
RankFilters.`rank(ImageProcessor ip, double radius, int filterType)`
Filters an image by any method except 'despecle', 'remove outliers', or top-hat
`void`
RankFilters.`rank(ImageProcessor ip, double radius, int filterType, int whichOutliers, float threshold)`
Filters an image by any method except 'despecle' and top-hat (for 'despeckle', use 'median' and radius=1)
`void`
RankFilters.`rank(ImageProcessor ip, double radius, int filterType, int whichOutliers, float threshold, boolean lightBackground, boolean dontSubtract)`
Filters an image by any method except 'despecle' (for 'despeckle', use 'median' and radius=1)
`static void`
GaussianBlur.`resetOutOfRoi(ImageProcessor ip, int radius)`
Set the processed pixels above and below the roi rectangle back to their previous value (i.e., snapshot buffer).
`void`
BackgroundSubtracter.`rollingBallBackground(ImageProcessor ip, double radius, boolean createBackground, boolean lightBackground, boolean useParaboloid, boolean doPresmooth, boolean correctCorners)`
Create or subtract a background, works for all image types.
`void`
Analyzer.`run(ImageProcessor ip)`
`void`
AVI_Writer.`run(ImageProcessor ip)`
Asks for the compression type and filename; then saves as AVI file
`void`
BackgroundSubtracter.`run(ImageProcessor ip)`
Background for any image type
`void`
Benchmark.`run(ImageProcessor ip)`
`void`
Binary.`run(ImageProcessor ip)`
`void`
Calibrator.`run(ImageProcessor ip)`
`void`
Convolver.`run(ImageProcessor ip)`
`void`
Duplicater.`run(ImageProcessor ip)`
Deprecated.
`void`
EDM.`run(ImageProcessor ip)`
Called by the PlugInFilterRunner to process the image or one frame of a stack
`void`
FFTCustomFilter.`run(ImageProcessor ip)`
`void`
FFTFilter.`run(ImageProcessor ip)`
`void`
Filler.`run(ImageProcessor ip)`
`void`
Filters.`run(ImageProcessor ip)`
`void`
FractalBoxCounter.`run(ImageProcessor ip)`
`void`
GaussianBlur.`run(ImageProcessor ip)`
This method is invoked for each slice during execution
`void`
ImageMath.`run(ImageProcessor ip)`
`void`
ImageProperties.`run(ImageProcessor ip)`
`void`
Info.`run(ImageProcessor ip)`
Deprecated.
`void`
LineGraphAnalyzer.`run(ImageProcessor ip)`
`void`
LutApplier.`run(ImageProcessor ip)`
`void`
LutViewer.`run(ImageProcessor ip)`
`void`
MaximumFinder.`run(ImageProcessor ip)`
The plugin is inferred from ImageJ by this method
`void`
ParticleAnalyzer.`run(ImageProcessor ip)`
`void`
PlugInFilter.`run(ImageProcessor ip)`
Filters use this method to process the image.
`void`
Printer.`run(ImageProcessor ip)`
`void`
RankFilters.`run(ImageProcessor ip)`
`void`
RGBStackSplitter.`run(ImageProcessor ip)`
`void`
RoiWriter.`run(ImageProcessor ip)`
`void`
Rotator.`run(ImageProcessor ip)`
`void`
SaltAndPepper.`run(ImageProcessor ip)`
`void`
ScaleDialog.`run(ImageProcessor ip)`
`void`
Shadows.`run(ImageProcessor ip)`
`void`
StackLabeler.`run(ImageProcessor ip)`
`void`
ThresholdToSelection.`run(ImageProcessor ip)`
`void`
Transformer.`run(ImageProcessor ip)`
`void`
Translator.`run(ImageProcessor ip)`
`void`
UnsharpMask.`run(ImageProcessor ip)`
This method is invoked for each slice or color channel.
`void`
Writer.`run(ImageProcessor ip)`
Deprecated.
`void`
XYWriter.`run(ImageProcessor ip)`
`void`
Shadows.`south(ImageProcessor ip)`
`void`
Shadows.`southeast(ImageProcessor ip)`
`void`
Shadows.`southwest(ImageProcessor ip)`
`void`
BackgroundSubtracter.`subtractBackround(ImageProcessor ip, int ballRadius)`
Depracated.
`ImageProcessor`
FFTFilter.`tileMirror(ImageProcessor ip, int width, int height, int x, int y)`
Puts ImageProcessor (ROI) into a new ImageProcessor of size width x height y at position (x,y).
`void`
EDM.`toEDM(ImageProcessor ip)`
Converts a binary image into a 8-bit grayscale Euclidean Distance Map (EDM).
`void`
EDM.`toWatershed(ImageProcessor ip)`
Do watershed segmentation based on the EDM of the foreground objects (nonzero pixels) in an 8-bit image.
`void`
Shadows.`west(ImageProcessor ip)`

## Uses of ImageProcessor in ij.plugin.frame

Methods in ij.plugin.frame with parameters of type ImageProcessor
Modifier and Type
Method
Description
`static void`
ColorThresholder.`getLab(ImageProcessor ip, byte[] L, byte[] a, byte[] b)`
Returns Lab in 3 byte arrays.
`void`
ColorThresholder.`getYUV(ImageProcessor ip, byte[] Y, byte[] U, byte[] V)`

## Uses of ImageProcessor in ij.process

Subclasses of ImageProcessor in ij.process
Modifier and Type
Class
Description
`class`
`BinaryProcessor`
This class processes binary images.
`class`
`ByteProcessor`
This is an 8-bit image and methods that operate on that image.
`class`
`ColorProcessor`
This is an 32-bit RGB image and methods that operate on that image..
`class`
`FHT`
This class contains a Java implementation of the Fast Hartley Transform.
`class`
`FloatProcessor`
This is an 32-bit floating-point image and methods that operate on that image.
`class`
`IntProcessor`
This is an extended ColorProcessor that supports signed 32-bit int images.
`class`
`ShortProcessor`
ShortProcessors contain a 16-bit unsigned image and methods that operate on that image.
`class`
`SignedShortProcessor`
An extended ShortProcessor that supports signed 16-bit images (experimental).
Methods in ij.process that return ImageProcessor
Modifier and Type
Method
Description
`ImageProcessor`
ImageProcessor.`bin(int shrinkFactor)`
Returns a copy of this image that has been reduced in size using binning.
`ImageProcessor`
ImageProcessor.`convertToByte(boolean doScaling)`
Returns an 8-bit version of this image as a ByteProcessor.
`ImageProcessor`
MedianCut.`convertToByte(int maxcubes)`
This is a version of convert that returns a ByteProcessor.
`ImageProcessor`
TypeConverter.`convertToByte()`
Converts processor to a ByteProcessor.
`ImageProcessor`
ImageProcessor.`convertToFloat()`
Returns a 32-bit float version of this image as a FloatProcessor.
`ImageProcessor`
TypeConverter.`convertToFloat(float[] ctable)`
Converts processor to a FloatProcessor.
`ImageProcessor`
ImageProcessor.`convertToRGB()`
Returns an RGB version of this image as a ColorProcessor.
`ImageProcessor`
TypeConverter.`convertToRGB()`
Converts processor to a ColorProcessor.
`ImageProcessor`
ImageProcessor.`convertToShort(boolean doScaling)`
Returns a 16-bit version of this image as a ShortProcessor.
`ImageProcessor`
TypeConverter.`convertToShort()`
Converts processor to a ShortProcessor.
`ImageProcessor`
ByteProcessor.`createProcessor(int width, int height)`
Returns a new, blank ByteProcessor with the specified width and height.
`ImageProcessor`
ColorProcessor.`createProcessor(int width, int height)`
Returns a new, blank ColorProcessor with the specified width and height.
`ImageProcessor`
FloatProcessor.`createProcessor(int width, int height)`
Returns a new, blank FloatProcessor with the specified width and height.
`abstract ImageProcessor`
ImageProcessor.`createProcessor(int width, int height)`
Returns a new, blank processor with the specified width and height.
`ImageProcessor`
ShortProcessor.`createProcessor(int width, int height)`
Returns a new, blank ShortProcessor with the specified width and height.
`ImageProcessor`
ByteProcessor.`crop()`
`ImageProcessor`
ColorProcessor.`crop()`
`ImageProcessor`
FloatProcessor.`crop()`
`abstract ImageProcessor`
ImageProcessor.`crop()`
Returns a new processor containing an image that corresponds to the current ROI.
`ImageProcessor`
ShortProcessor.`crop()`
`ImageProcessor`
ByteProcessor.`duplicate()`
Returns a duplicate of this image.
`ImageProcessor`
ColorProcessor.`duplicate()`
Returns a duplicate of this image.
`ImageProcessor`
FloatProcessor.`duplicate()`
Returns a duplicate of this image.
`abstract ImageProcessor`
ImageProcessor.`duplicate()`
Returns a duplicate of this image.
`ImageProcessor`
ShortProcessor.`duplicate()`
Returns a duplicate of this image.
`ImageProcessor`
ImageProcessor.`getMask()`
For images with irregular ROIs, returns a mask, otherwise, returns null.
`ImageProcessor`
PolygonFiller.`getMask(int width, int height)`
Returns a byte mask containing a filled version of the polygon.
`ImageProcessor`
FHT.`getPowerSpectrum()`
Returns an 8-bit power spectrum, log-scaled to 1-254.
`ImageProcessor`
ColorProcessor.`makeThumbnail(int width2, int height2, double smoothFactor)`
Uses averaging to creates a new ColorProcessor containing a downsized copy of this image or selection.
`ImageProcessor`
ByteProcessor.`resize(int dstWidth, int dstHeight)`
Creates a new ByteProcessor containing a scaled copy of this image or selection.
`ImageProcessor`
ColorProcessor.`resize(int dstWidth, int dstHeight)`
Creates a new ColorProcessor containing a scaled copy of this image or selection.
`ImageProcessor`
FloatProcessor.`resize(int dstWidth, int dstHeight)`
Creates a new FloatProcessor containing a scaled copy of this image or selection.
`ImageProcessor`
ImageProcessor.`resize(int dstWidth)`
Returns a new ImageProcessor containing a scaled copy of this image or ROI, with the aspect ratio maintained.
`abstract ImageProcessor`
ImageProcessor.`resize(int dstWidth, int dstHeight)`
Returns a new ImageProcessor containing a scaled copy of this image or ROI.
`ImageProcessor`
ImageProcessor.`resize(int dstWidth, int dstHeight, boolean useAverging)`
Returns a new ImageProcessor containing a scaled copy of this image or ROI.
`ImageProcessor`
ShortProcessor.`resize(int dstWidth, int dstHeight)`
Creates a new ShortProcessor containing a scaled copy of this image or selection.
`protected ImageProcessor`
ImageProcessor.`resizeLinearly(int width2, int height2)`
Use linear interpolation to resize images that have a width or height of one.
`ImageProcessor`
ImageProcessor.`rotateLeft()`
Rotates the entire image 90 degrees counter-clockwise.
`ImageProcessor`
ImageProcessor.`rotateRight()`
Rotates the entire image 90 degrees clockwise.
Methods in ij.process with parameters of type ImageProcessor
Modifier and Type
Method
Description
`void`
Blitter.`copyBits(ImageProcessor src, int x, int y, int mode)`
Copies the image in 'src' to (x,y) using the specified mode.
`void`
ByteBlitter.`copyBits(ImageProcessor ip, int xloc, int yloc, int mode)`
Copies the byte image in 'ip' to (x,y) using the specified mode.
`void`
ByteProcessor.`copyBits(ImageProcessor ip, int xloc, int yloc, int mode)`
Copies the image contained in 'ip' to (xloc, yloc) using one of the transfer modes defined in the Blitter interface.
`void`
ColorBlitter.`copyBits(ImageProcessor ip, int xloc, int yloc, int mode)`
Copies the RGB image in 'ip' to (x,y) using the specified mode.
`void`
ColorProcessor.`copyBits(ImageProcessor ip, int xloc, int yloc, int mode)`
Copies the image contained in 'ip' to (xloc, yloc) using one of the transfer modes defined in the Blitter interface.
`void`
FloatBlitter.`copyBits(ImageProcessor ip, int xloc, int yloc, int mode)`
Copies the float image in 'ip' to (x,y) using the specified mode.
`void`
FloatProcessor.`copyBits(ImageProcessor ip, int xloc, int yloc, int mode)`
Copies the image contained in 'ip' to (xloc, yloc) using one of the transfer modes defined in the Blitter interface.
`abstract void`
ImageProcessor.`copyBits(ImageProcessor ip, int xloc, int yloc, int mode)`
Copies the image contained in 'ip' to (xloc, yloc) using one of the transfer modes defined in the Blitter interface.
`void`
ShortBlitter.`copyBits(ImageProcessor ip, int xloc, int yloc, int mode)`
Copies the 16-bit image in 'ip' to (x,y) using the specified mode.
`void`
ShortProcessor.`copyBits(ImageProcessor ip, int xloc, int yloc, int mode)`
Copies the image contained in 'ip' to (xloc, yloc) using one of the transfer modes defined in the Blitter interface.
`void`
StackProcessor.`copyBits(ImageProcessor src, int xloc, int yloc, int mode)`
`void`
EllipseFitter.`drawEllipse(ImageProcessor ip)`
Draws the ellipse on the specified image.
`void`
ImageStatistics.`drawEllipse(ImageProcessor ip)`
`void`
ByteProcessor.`fill(ImageProcessor mask)`
Sets pixels that are within roi and part of the mask to the foreground color.
`void`
ColorProcessor.`fill(ImageProcessor mask)`
Fills pixels that are within roi and part of the mask.
`void`
FloatProcessor.`fill(ImageProcessor mask)`
Fills pixels that are within roi and part of the mask.
`abstract void`
ImageProcessor.`fill(ImageProcessor mask)`
Fills pixels that are within the ROI bounding rectangle and part of the mask (i.e.
`void`
PolygonFiller.`fill(ImageProcessor ip, Rectangle r)`
Fills the polygon using the ImageProcessor's current drawing color.
`void`
ShortProcessor.`fill(ImageProcessor mask)`
Fills pixels that are within roi and part of the mask.
`void`
EllipseFitter.`fit(ImageProcessor ip, ImageStatistics stats)`
Fits an ellipse to the current ROI.
`double`
FloatProcessor.`getBicubicInterpolatedPixel(double x0, double y0, ImageProcessor ip2)`
This method is from Chapter 16 of "Digital Image Processing: An Algorithmic Introduction Using Java" by Burger and Burge (http://www.imagingbook.com/).
`double`
ImageProcessor.`getBicubicInterpolatedPixel(double x0, double y0, ImageProcessor ip2)`
This method is from Chapter 16 of "Digital Image Processing: An Algorithmic Introduction Using Java" by Burger and Burge (http://www.imagingbook.com/).
`int[]`
ByteProcessor.`getHistogram(ImageProcessor mask)`
`int[]`
ColorProcessor.`getHistogram(ImageProcessor mask)`
`static ImageStatistics`
ImageStatistics.`getStatistics(ImageProcessor ip)`
Calculates and returns uncalibrated (raw) statistics for the specified image, including histogram, area, mean, min and max, standard deviation and mode.
`static ImageStatistics`
ImageStatistics.`getStatistics(ImageProcessor ip, int mOptions, Calibration cal)`
Calculates and returns statistics for the specified image using the specified measurent options and calibration.
`void`
ImageProcessor.`insert(ImageProcessor ip, int xloc, int yloc)`
Inserts the image contained in 'ip' at (xloc, yloc).
`void`
EllipseFitter.`makeRoi(ImageProcessor ip)`
Generates the xCoordinates, yCoordinates public arrays that can be used to create an ROI.
`protected String`
ImageProcessor.`maskSizeError(ImageProcessor mask)`
`void`
FloodFiller.`particleAnalyzerFill(int x, int y, double level1, double level2, ImageProcessor mask, Rectangle bounds)`
This method is used by the particle analyzer to remove interior holes from particle masks.
`void`
ByteProcessor.`reset(ImageProcessor mask)`
Restore pixels that are within roi but not part of mask.
`void`
ColorProcessor.`reset(ImageProcessor mask)`
`void`
FloatProcessor.`reset(ImageProcessor mask)`
`abstract void`
ImageProcessor.`reset(ImageProcessor mask)`
Restores pixels from the snapshot buffer that are within the rectangular roi but not part of the mask.
`void`
ShortProcessor.`reset(ImageProcessor mask)`
`void`
ImageProcessor.`setMask(ImageProcessor mask)`
Defines a byte mask that limits processing to an irregular ROI.
`void`
FHT.`swapQuadrants(ImageProcessor ip)`
Swap quadrants 1 and 3 and 2 and 4 of the specified ImageProcessor so the power spectrum origin is at the center of the image.
Constructors in ij.process with parameters of type ImageProcessor
Modifier
Constructor
Description
``
`ByteProcessor(ImageProcessor ip, boolean scale)`
Creates a ByteProcessor from an ImageProcessor.
``
`ByteStatistics(ImageProcessor ip)`
Construct an ImageStatistics object from a ByteProcessor using the standard measurement options (area, mean, mode, min and max) and no calibration.
``
`ByteStatistics(ImageProcessor ip, int mOptions, Calibration cal)`
Constructs a ByteStatistics object from a ByteProcessor using the specified measurement and calibration.
``
`ColorStatistics(ImageProcessor ip)`
Construct an ImageStatistics object from a ColorProcessor using the standard measurement options (area, mean, mode, min and max).
``
`ColorStatistics(ImageProcessor ip, int mOptions, Calibration cal)`
Constructs a ColorStatistics object from a ColorProcessor using the specified measurement options.
``
`FHT(ImageProcessor ip)`
Constructs a FHT object from an ImageProcessor.
``
`FHT(ImageProcessor ip, boolean isFrequencyDomain)`
``
`FloatStatistics(ImageProcessor ip)`
Constructs an ImageStatistics object from a FloatProcessor using the standard measurement options (area, mean, mode, min and max).
``
`FloatStatistics(ImageProcessor ip, int mOptions, Calibration cal)`
Constructs a FloatStatistics object from a FloatProcessor using the specified measurement options.
``
`FloodFiller(ImageProcessor ip)`
``
`ShortStatistics(ImageProcessor ip)`
Construct an ImageStatistics object from a ShortProcessor using the standard measurement options (area, mean, mode, min and max).
``
`ShortStatistics(ImageProcessor ip, int mOptions, Calibration cal)`
Constructs a ShortStatistics object from a ShortProcessor using the specified measurement options.
``
`StackProcessor(ImageStack stack, ImageProcessor ip)`
Constructs a StackProcessor from a stack.
``
`TypeConverter(ImageProcessor ip, boolean doScaling)`