public class RecordedImageProcessor extends ImageProcessor
antialiasedText, baseCM, BICUBIC, BILINEAR, BLACK, BLACK_AND_WHITE_LUT, BLUR_MORE, bLUT1, bLUT2, boldFont, CENTER_JUSTIFY, clipXMax, clipXMin, clipYMax, clipYMin, cm, cm2, CONVOLVE, cTable, cx, cy, defaultColorModel, drawingColor, FIND_EDGES, fmImage, font, fontMetrics, gLUT1, gLUT2, height, histogramMax, histogramMin, histogramSize, image, img, interpolate, interpolationMethod, inversionTested, invertedLut, ISODATA, ISODATA2, justification, LEFT_JUSTIFY, lineWidth, lutAnimation, lutUpdateMode, MAX, maxThreshold, MEDIAN_FILTER, MIN, minMaxSet, minThreshold, NEAREST_NEIGHBOR, newPixels, NO_LUT_UPDATE, NO_THRESHOLD, NONE, OVER_UNDER_LUT, raster, RED_LUT, RIGHT_JUSTIFY, rLUT1, rLUT2, roiHeight, roiWidth, roiX, roiY, sampleModel, snapshotHeight, snapshotWidth, source, width, xMax, xMin, yMax, yMin| Constructor and Description |
|---|
RecordedImageProcessor(ImageProcessor proc) |
RecordedImageProcessor(ImageProcessor proc,
int channelNum,
ImageProcessor[] otherChannels) |
| Modifier and Type | Method and Description |
|---|---|
void |
abs() |
void |
add(double value) |
void |
add(int value) |
void |
and(int value) |
void |
applyMethodStack(List<loci.plugins.util.RecordedImageProcessor.MethodEntry> stack) |
void |
applyTable(int[] lut) |
void |
autoThreshold() |
ImageProcessor |
convertToByte(boolean doScaling) |
ImageProcessor |
convertToFloat() |
ImageProcessor |
convertToRGB() |
ImageProcessor |
convertToShort(boolean doScaling) |
void |
convolve(float[] kernel,
int kernelWidth,
int kernelHeight) |
void |
convolve3x3(int[] kernel) |
void |
copyBits(ImageProcessor ip,
int xloc,
int yloc,
int mode) |
Image |
createImage() |
ImageProcessor |
createProcessor(int width,
int height) |
ImageProcessor |
crop() |
void |
dilate() |
void |
drawDot(int xcenter,
int ycenter) |
void |
drawDot2(int x,
int y)
Deprecated.
|
void |
drawLine(int x1,
int y1,
int x2,
int y2) |
void |
drawOval(int x,
int y,
int width,
int height) |
void |
drawPixel(int x,
int y) |
void |
drawPolygon(Polygon p) |
void |
drawRect(int x,
int y,
int width,
int height) |
void |
drawString(String s) |
void |
drawString(String s,
int x,
int y) |
ImageProcessor |
duplicate() |
void |
erode() |
void |
exp() |
void |
fill() |
void |
fill(ImageProcessor mask) |
void |
fillOval(int x,
int y,
int width,
int height) |
void |
fillPolygon(Polygon p) |
void |
filter(int type) |
void |
findEdges() |
void |
flipHorizontal() |
void |
flipVertical() |
void |
gamma(double value) |
int |
get(int index) |
int |
get(int x,
int y) |
int |
getAutoThreshold() |
int |
getAutoThreshold(int[] histogram) |
double |
getBackgroundValue() |
int |
getBestIndex(Color c) |
BufferedImage |
getBufferedImage() |
float[] |
getCalibrationTable() |
ImageProcessor |
getChild() |
ColorModel |
getColorModel() |
void |
getColumn(int x,
int y,
int[] data,
int length) |
ColorModel |
getCurrentColorModel() |
IndexColorModel |
getDefaultColorModel() |
float |
getf(int index) |
float |
getf(int x,
int y) |
float[][] |
getFloatArray() |
FontMetrics |
getFontMetrics() |
int |
getHeight() |
int[] |
getHistogram() |
double |
getHistogramMax() |
double |
getHistogramMin() |
int |
getHistogramSize() |
int[][] |
getIntArray() |
boolean |
getInterpolate() |
double |
getInterpolatedPixel(double x,
double y) |
double[] |
getLine(double x1,
double y1,
double x2,
double y2) |
int |
getLutUpdateMode() |
ImageProcessor |
getMask() |
byte[] |
getMaskArray() |
double |
getMax() |
double |
getMaxThreshold() |
List<loci.plugins.util.RecordedImageProcessor.MethodEntry> |
getMethodStack() |
double |
getMin() |
double |
getMinThreshold() |
int |
getNChannels() |
int |
getPixel(int x,
int y) |
int[] |
getPixel(int x,
int y,
int[] iArray) |
int |
getPixelCount() |
int |
getPixelInterpolated(double x,
double y) |
Object |
getPixels() |
Object |
getPixelsCopy() |
float |
getPixelValue(int x,
int y) |
Rectangle |
getRoi() |
void |
getRow(int x,
int y,
int[] data,
int length) |
Object |
getSnapshotPixels() |
int |
getStringWidth(String s) |
int |
getWidth() |
void |
insert(ImageProcessor ip,
int xloc,
int yloc) |
void |
invert() |
void |
invertLut() |
boolean |
isColorLut() |
boolean |
isInvertedLut() |
boolean |
isKillable()
Deprecated.
|
boolean |
isPseudoColorLut() |
void |
lineTo(int x2,
int y2) |
void |
log() |
void |
max(double value) |
double |
maxValue() |
void |
medianFilter() |
void |
min(double value) |
double |
minValue() |
void |
moveTo(int x,
int y) |
void |
multiply(double value) |
void |
noise(double range) |
void |
or(int value) |
void |
putColumn(int x,
int y,
int[] data,
int length) |
void |
putPixel(int x,
int y,
int value) |
void |
putPixel(int x,
int y,
int[] iArray) |
void |
putPixelValue(int x,
int y,
double value) |
void |
putRow(int x,
int y,
int[] data,
int length) |
void |
reset() |
void |
reset(ImageProcessor mask) |
void |
resetBinaryThreshold() |
void |
resetMinAndMax() |
void |
resetRoi() |
void |
resetThreshold() |
ImageProcessor |
resize(int dstWidth) |
ImageProcessor |
resize(int dstWidth,
int dstHeight) |
void |
rotate(double angle) |
ImageProcessor |
rotateLeft() |
ImageProcessor |
rotateRight() |
void |
scale(double xScale,
double yScale) |
void |
set(int index,
int value) |
void |
set(int x,
int y,
int value) |
void |
setAntialiasedText(boolean antialiased) |
void |
setAutoThreshold(int method,
int lutUpdate) |
void |
setBackgroundValue(double value) |
void |
setCalibrationTable(float[] ctable) |
void |
setClipRect(Rectangle clipRect) |
void |
setColor(Color color) |
void |
setColor(int value) |
void |
setColorModel(ColorModel cm) |
void |
setDoRecording(boolean doRecording) |
void |
setf(int index,
float value) |
void |
setf(int x,
int y,
float value) |
void |
setFloatArray(float[][] a) |
void |
setFont(Font font) |
void |
setHistogramRange(double histMin,
double histMax) |
void |
setHistogramSize(int size) |
void |
setIntArray(int[][] a) |
void |
setInterpolate(boolean interpolate) |
void |
setJustification(int justification) |
void |
setLineWidth(int width) |
void |
setLutAnimation(boolean lutAnimation) |
void |
setMask(ImageProcessor mask) |
void |
setMinAndMax(double min,
double max) |
void |
setPixels(int channelNumber,
FloatProcessor fp) |
void |
setPixels(Object pixels) |
void |
setProgressBar(ProgressBar pb) |
void |
setRoi(int x,
int y,
int rwidth,
int rheight) |
void |
setRoi(Polygon roi) |
void |
setRoi(Rectangle roi) |
void |
setRoi(Roi roi) |
void |
setSnapshotCopyMode(boolean b) |
void |
setSnapshotPixels(Object pixels) |
void |
setThreshold(double minThreshold,
double maxThreshold,
int lutUpdate) |
void |
setValue(double value) |
void |
sharpen() |
void |
smooth() |
void |
snapshot() |
void |
sqr() |
void |
sqrt() |
void |
swapPixelArrays() |
void |
threshold(int level) |
FloatProcessor |
toFloat(int channelNumber,
FloatProcessor fp) |
String |
toString() |
void |
translate(int xOffset,
int yOffset) |
void |
updateComposite(int[] rgbPixels,
int channel) |
void |
xor(int value) |
clone, cubic, draw, drawOverlay, drawRoi, drawString, fill, fillOutside, getBicubicInterpolatedPixel, getFont, getIndexSampleModel, getInterpolatedValue, getInterpolationMethod, getInterpolationMethods, getLineWidth, getNeighborhood, getSliceNumber, getStatistics, hideProgress, isBinary, isDefaultLut, makeDefaultColorModel, maskSizeError, resize, setAutoThreshold, setAutoThreshold, setAutoThreshold, setAutoThreshold, setBinaryThreshold, setInterpolationMethod, setOverColor, setSliceNumber, setUnderColor, setUseBicubic, showProgress, subtract, translate, translatepublic RecordedImageProcessor(ImageProcessor proc)
public RecordedImageProcessor(ImageProcessor proc, int channelNum, ImageProcessor[] otherChannels)
public void setDoRecording(boolean doRecording)
public List<loci.plugins.util.RecordedImageProcessor.MethodEntry> getMethodStack()
public void applyMethodStack(List<loci.plugins.util.RecordedImageProcessor.MethodEntry> stack)
public ImageProcessor getChild()
public void abs()
abs in class ImageProcessorpublic void add(double value)
add in class ImageProcessorpublic void add(int value)
add in class ImageProcessorpublic void and(int value)
and in class ImageProcessorpublic void applyTable(int[] lut)
applyTable in class ImageProcessorpublic void autoThreshold()
autoThreshold in class ImageProcessorpublic ImageProcessor convertToByte(boolean doScaling)
convertToByte in class ImageProcessorpublic ImageProcessor convertToFloat()
convertToFloat in class ImageProcessorpublic ImageProcessor convertToRGB()
convertToRGB in class ImageProcessorpublic ImageProcessor convertToShort(boolean doScaling)
convertToShort in class ImageProcessorpublic void convolve(float[] kernel,
int kernelWidth,
int kernelHeight)
convolve in class ImageProcessorpublic void convolve3x3(int[] kernel)
convolve3x3 in class ImageProcessorpublic void copyBits(ImageProcessor ip, int xloc, int yloc, int mode)
copyBits in class ImageProcessorpublic Image createImage()
createImage in class ImageProcessorpublic ImageProcessor createProcessor(int width, int height)
createProcessor in class ImageProcessorpublic ImageProcessor crop()
crop in class ImageProcessorpublic void dilate()
dilate in class ImageProcessorpublic void drawDot(int xcenter,
int ycenter)
drawDot in class ImageProcessorpublic void drawLine(int x1,
int y1,
int x2,
int y2)
drawLine in class ImageProcessorpublic void drawOval(int x,
int y,
int width,
int height)
drawOval in class ImageProcessorpublic void drawPixel(int x,
int y)
drawPixel in class ImageProcessorpublic void drawPolygon(Polygon p)
drawPolygon in class ImageProcessorpublic void drawRect(int x,
int y,
int width,
int height)
drawRect in class ImageProcessorpublic void drawString(String s)
drawString in class ImageProcessorpublic void drawString(String s, int x, int y)
drawString in class ImageProcessorpublic ImageProcessor duplicate()
duplicate in class ImageProcessorpublic void erode()
erode in class ImageProcessorpublic void exp()
exp in class ImageProcessorpublic void fill()
fill in class ImageProcessorpublic void fill(ImageProcessor mask)
fill in class ImageProcessorpublic void fillOval(int x,
int y,
int width,
int height)
fillOval in class ImageProcessorpublic void fillPolygon(Polygon p)
fillPolygon in class ImageProcessorpublic void filter(int type)
filter in class ImageProcessorpublic void findEdges()
findEdges in class ImageProcessorpublic void flipHorizontal()
flipHorizontal in class ImageProcessorpublic void flipVertical()
flipVertical in class ImageProcessorpublic void gamma(double value)
gamma in class ImageProcessorpublic int get(int index)
get in class ImageProcessorpublic int get(int x,
int y)
get in class ImageProcessorpublic int getAutoThreshold()
getAutoThreshold in class ImageProcessorpublic double getBackgroundValue()
getBackgroundValue in class ImageProcessorpublic int getAutoThreshold(int[] histogram)
getAutoThreshold in class ImageProcessorpublic int getBestIndex(Color c)
getBestIndex in class ImageProcessorpublic BufferedImage getBufferedImage()
getBufferedImage in class ImageProcessorpublic float[] getCalibrationTable()
getCalibrationTable in class ImageProcessorpublic ColorModel getColorModel()
getColorModel in class ImageProcessorpublic void getColumn(int x,
int y,
int[] data,
int length)
getColumn in class ImageProcessorpublic ColorModel getCurrentColorModel()
getCurrentColorModel in class ImageProcessorpublic IndexColorModel getDefaultColorModel()
getDefaultColorModel in class ImageProcessorpublic float getf(int index)
getf in class ImageProcessorpublic float getf(int x,
int y)
getf in class ImageProcessorpublic float[][] getFloatArray()
getFloatArray in class ImageProcessorpublic FontMetrics getFontMetrics()
getFontMetrics in class ImageProcessorpublic int getHeight()
getHeight in class ImageProcessorpublic int[] getHistogram()
getHistogram in class ImageProcessorpublic double getHistogramMax()
getHistogramMax in class ImageProcessorpublic double getHistogramMin()
getHistogramMin in class ImageProcessorpublic int getHistogramSize()
getHistogramSize in class ImageProcessorpublic int[][] getIntArray()
getIntArray in class ImageProcessorpublic boolean getInterpolate()
getInterpolate in class ImageProcessorpublic double getInterpolatedPixel(double x,
double y)
getInterpolatedPixel in class ImageProcessorpublic double[] getLine(double x1,
double y1,
double x2,
double y2)
getLine in class ImageProcessorpublic int getLutUpdateMode()
getLutUpdateMode in class ImageProcessorpublic ImageProcessor getMask()
getMask in class ImageProcessorpublic byte[] getMaskArray()
getMaskArray in class ImageProcessorpublic double getMax()
getMax in class ImageProcessorpublic double getMaxThreshold()
getMaxThreshold in class ImageProcessorpublic double getMin()
getMin in class ImageProcessorpublic double getMinThreshold()
getMinThreshold in class ImageProcessorpublic int getNChannels()
getNChannels in class ImageProcessorpublic int getPixel(int x,
int y)
getPixel in class ImageProcessorpublic int[] getPixel(int x,
int y,
int[] iArray)
getPixel in class ImageProcessorpublic int getPixelInterpolated(double x,
double y)
getPixelInterpolated in class ImageProcessorpublic int getPixelCount()
getPixelCount in class ImageProcessorpublic Object getPixels()
getPixels in class ImageProcessorpublic Object getPixelsCopy()
getPixelsCopy in class ImageProcessorpublic float getPixelValue(int x,
int y)
getPixelValue in class ImageProcessorpublic Rectangle getRoi()
getRoi in class ImageProcessorpublic void getRow(int x,
int y,
int[] data,
int length)
getRow in class ImageProcessorpublic Object getSnapshotPixels()
getSnapshotPixels in class ImageProcessorpublic int getStringWidth(String s)
getStringWidth in class ImageProcessorpublic int getWidth()
getWidth in class ImageProcessorpublic void insert(ImageProcessor ip, int xloc, int yloc)
insert in class ImageProcessorpublic void invert()
invert in class ImageProcessorpublic void invertLut()
invertLut in class ImageProcessorpublic boolean isColorLut()
isColorLut in class ImageProcessorpublic boolean isInvertedLut()
isInvertedLut in class ImageProcessorpublic boolean isPseudoColorLut()
isPseudoColorLut in class ImageProcessorpublic void lineTo(int x2,
int y2)
lineTo in class ImageProcessorpublic void log()
log in class ImageProcessorpublic void max(double value)
max in class ImageProcessorpublic double maxValue()
maxValue in class ImageProcessorpublic void medianFilter()
medianFilter in class ImageProcessorpublic void min(double value)
min in class ImageProcessorpublic double minValue()
minValue in class ImageProcessorpublic void moveTo(int x,
int y)
moveTo in class ImageProcessorpublic void multiply(double value)
multiply in class ImageProcessorpublic void noise(double range)
noise in class ImageProcessorpublic void or(int value)
or in class ImageProcessorpublic void putColumn(int x,
int y,
int[] data,
int length)
putColumn in class ImageProcessorpublic void putPixel(int x,
int y,
int value)
putPixel in class ImageProcessorpublic void putPixel(int x,
int y,
int[] iArray)
putPixel in class ImageProcessorpublic void putPixelValue(int x,
int y,
double value)
putPixelValue in class ImageProcessorpublic void putRow(int x,
int y,
int[] data,
int length)
putRow in class ImageProcessorpublic void reset()
reset in class ImageProcessorpublic void reset(ImageProcessor mask)
reset in class ImageProcessorpublic void resetBinaryThreshold()
resetBinaryThreshold in class ImageProcessorpublic void resetMinAndMax()
resetMinAndMax in class ImageProcessorpublic void resetRoi()
resetRoi in class ImageProcessorpublic void resetThreshold()
resetThreshold in class ImageProcessorpublic ImageProcessor resize(int dstWidth)
resize in class ImageProcessorpublic ImageProcessor resize(int dstWidth, int dstHeight)
resize in class ImageProcessorpublic void rotate(double angle)
rotate in class ImageProcessorpublic ImageProcessor rotateLeft()
rotateLeft in class ImageProcessorpublic ImageProcessor rotateRight()
rotateRight in class ImageProcessorpublic void scale(double xScale,
double yScale)
scale in class ImageProcessorpublic void set(int index,
int value)
set in class ImageProcessorpublic void set(int x,
int y,
int value)
set in class ImageProcessorpublic void setAntialiasedText(boolean antialiased)
setAntialiasedText in class ImageProcessorpublic void setAutoThreshold(int method,
int lutUpdate)
setAutoThreshold in class ImageProcessorpublic void setBackgroundValue(double value)
setBackgroundValue in class ImageProcessorpublic void setCalibrationTable(float[] ctable)
setCalibrationTable in class ImageProcessorpublic void setClipRect(Rectangle clipRect)
setClipRect in class ImageProcessorpublic void setColor(Color color)
setColor in class ImageProcessorpublic void setColor(int value)
setColor in class ImageProcessorpublic void setColorModel(ColorModel cm)
setColorModel in class ImageProcessorpublic void setf(int index,
float value)
setf in class ImageProcessorpublic void setf(int x,
int y,
float value)
setf in class ImageProcessorpublic void setFloatArray(float[][] a)
setFloatArray in class ImageProcessorpublic void setFont(Font font)
setFont in class ImageProcessorpublic void setHistogramRange(double histMin,
double histMax)
setHistogramRange in class ImageProcessorpublic void setHistogramSize(int size)
setHistogramSize in class ImageProcessorpublic void setIntArray(int[][] a)
setIntArray in class ImageProcessorpublic void setInterpolate(boolean interpolate)
setInterpolate in class ImageProcessorpublic void setJustification(int justification)
setJustification in class ImageProcessorpublic void setLineWidth(int width)
setLineWidth in class ImageProcessorpublic void setLutAnimation(boolean lutAnimation)
setLutAnimation in class ImageProcessorpublic void setMask(ImageProcessor mask)
setMask in class ImageProcessorpublic void setMinAndMax(double min,
double max)
setMinAndMax in class ImageProcessorpublic void setPixels(int channelNumber,
FloatProcessor fp)
setPixels in class ImageProcessorpublic void setPixels(Object pixels)
setPixels in class ImageProcessorpublic void setProgressBar(ProgressBar pb)
setProgressBar in class ImageProcessorpublic void setRoi(int x,
int y,
int rwidth,
int rheight)
setRoi in class ImageProcessorpublic void setRoi(Polygon roi)
setRoi in class ImageProcessorpublic void setRoi(Rectangle roi)
setRoi in class ImageProcessorpublic void setRoi(Roi roi)
setRoi in class ImageProcessorpublic void setSnapshotCopyMode(boolean b)
setSnapshotCopyMode in class ImageProcessorpublic void setSnapshotPixels(Object pixels)
setSnapshotPixels in class ImageProcessorpublic void setThreshold(double minThreshold,
double maxThreshold,
int lutUpdate)
setThreshold in class ImageProcessorpublic void setValue(double value)
setValue in class ImageProcessorpublic void sharpen()
sharpen in class ImageProcessorpublic void smooth()
smooth in class ImageProcessorpublic void snapshot()
snapshot in class ImageProcessorpublic void sqr()
sqr in class ImageProcessorpublic void sqrt()
sqrt in class ImageProcessorpublic void swapPixelArrays()
swapPixelArrays in class ImageProcessorpublic void threshold(int level)
threshold in class ImageProcessorpublic FloatProcessor toFloat(int channelNumber, FloatProcessor fp)
toFloat in class ImageProcessorpublic String toString()
toString in class ImageProcessorpublic void translate(int xOffset,
int yOffset)
public void updateComposite(int[] rgbPixels,
int channel)
updateComposite in class ImageProcessorpublic void xor(int value)
xor in class ImageProcessorpublic void drawDot2(int x,
int y)
drawDot2 in class ImageProcessorpublic boolean isKillable()
isKillable in class ImageProcessorCopyright © 2014 Open Microscopy Environment