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, translate
public 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 ImageProcessor
public void add(double value)
add
in class ImageProcessor
public void add(int value)
add
in class ImageProcessor
public void and(int value)
and
in class ImageProcessor
public void applyTable(int[] lut)
applyTable
in class ImageProcessor
public void autoThreshold()
autoThreshold
in class ImageProcessor
public ImageProcessor convertToByte(boolean doScaling)
convertToByte
in class ImageProcessor
public ImageProcessor convertToFloat()
convertToFloat
in class ImageProcessor
public ImageProcessor convertToRGB()
convertToRGB
in class ImageProcessor
public ImageProcessor convertToShort(boolean doScaling)
convertToShort
in class ImageProcessor
public void convolve(float[] kernel, int kernelWidth, int kernelHeight)
convolve
in class ImageProcessor
public void convolve3x3(int[] kernel)
convolve3x3
in class ImageProcessor
public void copyBits(ImageProcessor ip, int xloc, int yloc, int mode)
copyBits
in class ImageProcessor
public Image createImage()
createImage
in class ImageProcessor
public ImageProcessor createProcessor(int width, int height)
createProcessor
in class ImageProcessor
public ImageProcessor crop()
crop
in class ImageProcessor
public void dilate()
dilate
in class ImageProcessor
public void drawDot(int xcenter, int ycenter)
drawDot
in class ImageProcessor
public void drawLine(int x1, int y1, int x2, int y2)
drawLine
in class ImageProcessor
public void drawOval(int x, int y, int width, int height)
drawOval
in class ImageProcessor
public void drawPixel(int x, int y)
drawPixel
in class ImageProcessor
public void drawPolygon(Polygon p)
drawPolygon
in class ImageProcessor
public void drawRect(int x, int y, int width, int height)
drawRect
in class ImageProcessor
public void drawString(String s)
drawString
in class ImageProcessor
public void drawString(String s, int x, int y)
drawString
in class ImageProcessor
public ImageProcessor duplicate()
duplicate
in class ImageProcessor
public void erode()
erode
in class ImageProcessor
public void exp()
exp
in class ImageProcessor
public void fill()
fill
in class ImageProcessor
public void fill(ImageProcessor mask)
fill
in class ImageProcessor
public void fillOval(int x, int y, int width, int height)
fillOval
in class ImageProcessor
public void fillPolygon(Polygon p)
fillPolygon
in class ImageProcessor
public void filter(int type)
filter
in class ImageProcessor
public void findEdges()
findEdges
in class ImageProcessor
public void flipHorizontal()
flipHorizontal
in class ImageProcessor
public void flipVertical()
flipVertical
in class ImageProcessor
public void gamma(double value)
gamma
in class ImageProcessor
public int get(int index)
get
in class ImageProcessor
public int get(int x, int y)
get
in class ImageProcessor
public int getAutoThreshold()
getAutoThreshold
in class ImageProcessor
public double getBackgroundValue()
getBackgroundValue
in class ImageProcessor
public int getAutoThreshold(int[] histogram)
getAutoThreshold
in class ImageProcessor
public int getBestIndex(Color c)
getBestIndex
in class ImageProcessor
public BufferedImage getBufferedImage()
getBufferedImage
in class ImageProcessor
public float[] getCalibrationTable()
getCalibrationTable
in class ImageProcessor
public ColorModel getColorModel()
getColorModel
in class ImageProcessor
public void getColumn(int x, int y, int[] data, int length)
getColumn
in class ImageProcessor
public ColorModel getCurrentColorModel()
getCurrentColorModel
in class ImageProcessor
public IndexColorModel getDefaultColorModel()
getDefaultColorModel
in class ImageProcessor
public float getf(int index)
getf
in class ImageProcessor
public float getf(int x, int y)
getf
in class ImageProcessor
public float[][] getFloatArray()
getFloatArray
in class ImageProcessor
public FontMetrics getFontMetrics()
getFontMetrics
in class ImageProcessor
public int getHeight()
getHeight
in class ImageProcessor
public int[] getHistogram()
getHistogram
in class ImageProcessor
public double getHistogramMax()
getHistogramMax
in class ImageProcessor
public double getHistogramMin()
getHistogramMin
in class ImageProcessor
public int getHistogramSize()
getHistogramSize
in class ImageProcessor
public int[][] getIntArray()
getIntArray
in class ImageProcessor
public boolean getInterpolate()
getInterpolate
in class ImageProcessor
public double getInterpolatedPixel(double x, double y)
getInterpolatedPixel
in class ImageProcessor
public double[] getLine(double x1, double y1, double x2, double y2)
getLine
in class ImageProcessor
public int getLutUpdateMode()
getLutUpdateMode
in class ImageProcessor
public ImageProcessor getMask()
getMask
in class ImageProcessor
public byte[] getMaskArray()
getMaskArray
in class ImageProcessor
public double getMax()
getMax
in class ImageProcessor
public double getMaxThreshold()
getMaxThreshold
in class ImageProcessor
public double getMin()
getMin
in class ImageProcessor
public double getMinThreshold()
getMinThreshold
in class ImageProcessor
public int getNChannels()
getNChannels
in class ImageProcessor
public int getPixel(int x, int y)
getPixel
in class ImageProcessor
public int[] getPixel(int x, int y, int[] iArray)
getPixel
in class ImageProcessor
public int getPixelInterpolated(double x, double y)
getPixelInterpolated
in class ImageProcessor
public int getPixelCount()
getPixelCount
in class ImageProcessor
public Object getPixels()
getPixels
in class ImageProcessor
public Object getPixelsCopy()
getPixelsCopy
in class ImageProcessor
public float getPixelValue(int x, int y)
getPixelValue
in class ImageProcessor
public Rectangle getRoi()
getRoi
in class ImageProcessor
public void getRow(int x, int y, int[] data, int length)
getRow
in class ImageProcessor
public Object getSnapshotPixels()
getSnapshotPixels
in class ImageProcessor
public int getStringWidth(String s)
getStringWidth
in class ImageProcessor
public int getWidth()
getWidth
in class ImageProcessor
public void insert(ImageProcessor ip, int xloc, int yloc)
insert
in class ImageProcessor
public void invert()
invert
in class ImageProcessor
public void invertLut()
invertLut
in class ImageProcessor
public boolean isColorLut()
isColorLut
in class ImageProcessor
public boolean isInvertedLut()
isInvertedLut
in class ImageProcessor
public boolean isPseudoColorLut()
isPseudoColorLut
in class ImageProcessor
public void lineTo(int x2, int y2)
lineTo
in class ImageProcessor
public void log()
log
in class ImageProcessor
public void max(double value)
max
in class ImageProcessor
public double maxValue()
maxValue
in class ImageProcessor
public void medianFilter()
medianFilter
in class ImageProcessor
public void min(double value)
min
in class ImageProcessor
public double minValue()
minValue
in class ImageProcessor
public void moveTo(int x, int y)
moveTo
in class ImageProcessor
public void multiply(double value)
multiply
in class ImageProcessor
public void noise(double range)
noise
in class ImageProcessor
public void or(int value)
or
in class ImageProcessor
public void putColumn(int x, int y, int[] data, int length)
putColumn
in class ImageProcessor
public void putPixel(int x, int y, int value)
putPixel
in class ImageProcessor
public void putPixel(int x, int y, int[] iArray)
putPixel
in class ImageProcessor
public void putPixelValue(int x, int y, double value)
putPixelValue
in class ImageProcessor
public void putRow(int x, int y, int[] data, int length)
putRow
in class ImageProcessor
public void reset()
reset
in class ImageProcessor
public void reset(ImageProcessor mask)
reset
in class ImageProcessor
public void resetBinaryThreshold()
resetBinaryThreshold
in class ImageProcessor
public void resetMinAndMax()
resetMinAndMax
in class ImageProcessor
public void resetRoi()
resetRoi
in class ImageProcessor
public void resetThreshold()
resetThreshold
in class ImageProcessor
public ImageProcessor resize(int dstWidth)
resize
in class ImageProcessor
public ImageProcessor resize(int dstWidth, int dstHeight)
resize
in class ImageProcessor
public void rotate(double angle)
rotate
in class ImageProcessor
public ImageProcessor rotateLeft()
rotateLeft
in class ImageProcessor
public ImageProcessor rotateRight()
rotateRight
in class ImageProcessor
public void scale(double xScale, double yScale)
scale
in class ImageProcessor
public void set(int index, int value)
set
in class ImageProcessor
public void set(int x, int y, int value)
set
in class ImageProcessor
public void setAntialiasedText(boolean antialiased)
setAntialiasedText
in class ImageProcessor
public void setAutoThreshold(int method, int lutUpdate)
setAutoThreshold
in class ImageProcessor
public void setBackgroundValue(double value)
setBackgroundValue
in class ImageProcessor
public void setCalibrationTable(float[] ctable)
setCalibrationTable
in class ImageProcessor
public void setClipRect(Rectangle clipRect)
setClipRect
in class ImageProcessor
public void setColor(Color color)
setColor
in class ImageProcessor
public void setColor(int value)
setColor
in class ImageProcessor
public void setColorModel(ColorModel cm)
setColorModel
in class ImageProcessor
public void setf(int index, float value)
setf
in class ImageProcessor
public void setf(int x, int y, float value)
setf
in class ImageProcessor
public void setFloatArray(float[][] a)
setFloatArray
in class ImageProcessor
public void setFont(Font font)
setFont
in class ImageProcessor
public void setHistogramRange(double histMin, double histMax)
setHistogramRange
in class ImageProcessor
public void setHistogramSize(int size)
setHistogramSize
in class ImageProcessor
public void setIntArray(int[][] a)
setIntArray
in class ImageProcessor
public void setInterpolate(boolean interpolate)
setInterpolate
in class ImageProcessor
public void setJustification(int justification)
setJustification
in class ImageProcessor
public void setLineWidth(int width)
setLineWidth
in class ImageProcessor
public void setLutAnimation(boolean lutAnimation)
setLutAnimation
in class ImageProcessor
public void setMask(ImageProcessor mask)
setMask
in class ImageProcessor
public void setMinAndMax(double min, double max)
setMinAndMax
in class ImageProcessor
public void setPixels(int channelNumber, FloatProcessor fp)
setPixels
in class ImageProcessor
public void setPixels(Object pixels)
setPixels
in class ImageProcessor
public void setProgressBar(ProgressBar pb)
setProgressBar
in class ImageProcessor
public void setRoi(int x, int y, int rwidth, int rheight)
setRoi
in class ImageProcessor
public void setRoi(Polygon roi)
setRoi
in class ImageProcessor
public void setRoi(Rectangle roi)
setRoi
in class ImageProcessor
public void setRoi(Roi roi)
setRoi
in class ImageProcessor
public void setSnapshotCopyMode(boolean b)
setSnapshotCopyMode
in class ImageProcessor
public void setSnapshotPixels(Object pixels)
setSnapshotPixels
in class ImageProcessor
public void setThreshold(double minThreshold, double maxThreshold, int lutUpdate)
setThreshold
in class ImageProcessor
public void setValue(double value)
setValue
in class ImageProcessor
public void sharpen()
sharpen
in class ImageProcessor
public void smooth()
smooth
in class ImageProcessor
public void snapshot()
snapshot
in class ImageProcessor
public void sqr()
sqr
in class ImageProcessor
public void sqrt()
sqrt
in class ImageProcessor
public void swapPixelArrays()
swapPixelArrays
in class ImageProcessor
public void threshold(int level)
threshold
in class ImageProcessor
public FloatProcessor toFloat(int channelNumber, FloatProcessor fp)
toFloat
in class ImageProcessor
public String toString()
toString
in class ImageProcessor
public void translate(int xOffset, int yOffset)
public void updateComposite(int[] rgbPixels, int channel)
updateComposite
in class ImageProcessor
public void xor(int value)
xor
in class ImageProcessor
public void drawDot2(int x, int y)
drawDot2
in class ImageProcessor
public boolean isKillable()
isKillable
in class ImageProcessor
Copyright © 2014 Open Microscopy Environment