public class RecordedImageProcessor
extends ij.process.ImageProcessor
Modifier and Type | Class and Description |
---|---|
(package private) class |
RecordedImageProcessor.MethodEntry |
Modifier and Type | Field and Description |
---|---|
private int |
channelNumber |
private boolean |
doRecording |
private List<RecordedImageProcessor.MethodEntry> |
methodStack |
private ij.process.ImageProcessor[] |
otherChannels |
private ij.process.ImageProcessor |
proc |
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(ij.process.ImageProcessor proc) |
RecordedImageProcessor(ij.process.ImageProcessor proc,
int channelNum,
ij.process.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<RecordedImageProcessor.MethodEntry> stack) |
void |
applyTable(int[] lut) |
void |
autoThreshold() |
ij.process.ImageProcessor |
convertToByte(boolean doScaling) |
ij.process.ImageProcessor |
convertToFloat() |
ij.process.ImageProcessor |
convertToRGB() |
ij.process.ImageProcessor |
convertToShort(boolean doScaling) |
void |
convolve(float[] kernel,
int kernelWidth,
int kernelHeight) |
void |
convolve3x3(int[] kernel) |
void |
copyBits(ij.process.ImageProcessor ip,
int xloc,
int yloc,
int mode) |
Image |
createImage() |
ij.process.ImageProcessor |
createProcessor(int width,
int height) |
ij.process.ImageProcessor |
crop() |
void |
dilate() |
void |
drawDot(int xcenter,
int ycenter) |
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) |
ij.process.ImageProcessor |
duplicate() |
void |
erode() |
void |
exp() |
void |
fill() |
void |
fill(ij.process.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() |
ij.process.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() |
ij.process.ImageProcessor |
getMask() |
byte[] |
getMaskArray() |
double |
getMax() |
double |
getMaxThreshold() |
List<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(ij.process.ImageProcessor ip,
int xloc,
int yloc) |
void |
invert() |
void |
invertLut() |
boolean |
isColorLut() |
boolean |
isInvertedLut() |
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) |
private void |
record(String method) |
private void |
record(String method,
Object[] v,
Class<?>[] c) |
private void |
record(String method,
Object v,
Class<?> c) |
void |
reset() |
void |
reset(ij.process.ImageProcessor mask) |
void |
resetBinaryThreshold() |
void |
resetMinAndMax() |
void |
resetRoi() |
void |
resetThreshold() |
ij.process.ImageProcessor |
resize(int dstWidth) |
ij.process.ImageProcessor |
resize(int dstWidth,
int dstHeight) |
void |
rotate(double angle) |
ij.process.ImageProcessor |
rotateLeft() |
ij.process.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(ij.process.ImageProcessor mask) |
void |
setMinAndMax(double min,
double max) |
void |
setPixels(int channelNumber,
ij.process.FloatProcessor fp) |
void |
setPixels(Object pixels) |
void |
setProgressBar(ij.gui.ProgressBar pb) |
void |
setRoi(int x,
int y,
int rwidth,
int rheight) |
void |
setRoi(Polygon roi) |
void |
setRoi(Rectangle roi) |
void |
setRoi(ij.gui.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) |
ij.process.FloatProcessor |
toFloat(int channelNumber,
ij.process.FloatProcessor fp) |
String |
toString() |
void |
translate(int xOffset,
int yOffset) |
void |
updateComposite(int[] rgbPixels,
int channel) |
void |
xor(int value) |
applyMacro, bin, blurGaussian, clone, convertToByteProcessor, convertToByteProcessor, convertToColorProcessor, convertToFloatProcessor, convertToShortProcessor, convertToShortProcessor, cubic, draw, drawDot2, drawOverlay, drawRoi, drawString, fill, fillOutside, getBicubicInterpolatedPixel, getBitDepth, getFont, getIndexSampleModel, getInterpolatedValue, getInterpolationMethod, getInterpolationMethods, getLineWidth, getLut, getNeighborhood, getOverlay, getRow, getSliceNumber, getStatistics, hideProgress, isBinary, isDefaultLut, isGrayscale, isKillable, ln, makeDefaultColorModel, maskSizeError, putRow, resize, resizeLinearly, set, setAutoThreshold, setAutoThreshold, setAutoThreshold, setAutoThreshold, setBinaryThreshold, setColor, setInterpolationMethod, setLut, setOverColor, setOverlay, setSliceNumber, setUnderColor, setUseBicubic, showProgress, subtract, translate, translate
private ij.process.ImageProcessor proc
private boolean doRecording
private List<RecordedImageProcessor.MethodEntry> methodStack
private int channelNumber
private ij.process.ImageProcessor[] otherChannels
public RecordedImageProcessor(ij.process.ImageProcessor proc)
public RecordedImageProcessor(ij.process.ImageProcessor proc, int channelNum, ij.process.ImageProcessor[] otherChannels)
public void setDoRecording(boolean doRecording)
public List<RecordedImageProcessor.MethodEntry> getMethodStack()
public void applyMethodStack(List<RecordedImageProcessor.MethodEntry> stack)
public ij.process.ImageProcessor getChild()
public void abs()
abs
in class ij.process.ImageProcessor
public void add(double value)
add
in class ij.process.ImageProcessor
public void add(int value)
add
in class ij.process.ImageProcessor
public void and(int value)
and
in class ij.process.ImageProcessor
public void applyTable(int[] lut)
applyTable
in class ij.process.ImageProcessor
public void autoThreshold()
autoThreshold
in class ij.process.ImageProcessor
public ij.process.ImageProcessor convertToByte(boolean doScaling)
convertToByte
in class ij.process.ImageProcessor
public ij.process.ImageProcessor convertToFloat()
convertToFloat
in class ij.process.ImageProcessor
public ij.process.ImageProcessor convertToRGB()
convertToRGB
in class ij.process.ImageProcessor
public ij.process.ImageProcessor convertToShort(boolean doScaling)
convertToShort
in class ij.process.ImageProcessor
public void convolve(float[] kernel, int kernelWidth, int kernelHeight)
convolve
in class ij.process.ImageProcessor
public void convolve3x3(int[] kernel)
convolve3x3
in class ij.process.ImageProcessor
public void copyBits(ij.process.ImageProcessor ip, int xloc, int yloc, int mode)
copyBits
in class ij.process.ImageProcessor
public Image createImage()
createImage
in class ij.process.ImageProcessor
public ij.process.ImageProcessor createProcessor(int width, int height)
createProcessor
in class ij.process.ImageProcessor
public ij.process.ImageProcessor crop()
crop
in class ij.process.ImageProcessor
public void dilate()
dilate
in class ij.process.ImageProcessor
public void drawDot(int xcenter, int ycenter)
drawDot
in class ij.process.ImageProcessor
public void drawLine(int x1, int y1, int x2, int y2)
drawLine
in class ij.process.ImageProcessor
public void drawOval(int x, int y, int width, int height)
drawOval
in class ij.process.ImageProcessor
public void drawPixel(int x, int y)
drawPixel
in class ij.process.ImageProcessor
public void drawPolygon(Polygon p)
drawPolygon
in class ij.process.ImageProcessor
public void drawRect(int x, int y, int width, int height)
drawRect
in class ij.process.ImageProcessor
public void drawString(String s)
drawString
in class ij.process.ImageProcessor
public void drawString(String s, int x, int y)
drawString
in class ij.process.ImageProcessor
public ij.process.ImageProcessor duplicate()
duplicate
in class ij.process.ImageProcessor
public void erode()
erode
in class ij.process.ImageProcessor
public void exp()
exp
in class ij.process.ImageProcessor
public void fill()
fill
in class ij.process.ImageProcessor
public void fill(ij.process.ImageProcessor mask)
fill
in class ij.process.ImageProcessor
public void fillOval(int x, int y, int width, int height)
fillOval
in class ij.process.ImageProcessor
public void fillPolygon(Polygon p)
fillPolygon
in class ij.process.ImageProcessor
public void filter(int type)
filter
in class ij.process.ImageProcessor
public void findEdges()
findEdges
in class ij.process.ImageProcessor
public void flipHorizontal()
flipHorizontal
in class ij.process.ImageProcessor
public void flipVertical()
flipVertical
in class ij.process.ImageProcessor
public void gamma(double value)
gamma
in class ij.process.ImageProcessor
public int get(int index)
get
in class ij.process.ImageProcessor
public int get(int x, int y)
get
in class ij.process.ImageProcessor
public int getAutoThreshold()
getAutoThreshold
in class ij.process.ImageProcessor
public double getBackgroundValue()
getBackgroundValue
in class ij.process.ImageProcessor
public int getAutoThreshold(int[] histogram)
getAutoThreshold
in class ij.process.ImageProcessor
public int getBestIndex(Color c)
getBestIndex
in class ij.process.ImageProcessor
public BufferedImage getBufferedImage()
getBufferedImage
in class ij.process.ImageProcessor
public float[] getCalibrationTable()
getCalibrationTable
in class ij.process.ImageProcessor
public ColorModel getColorModel()
getColorModel
in class ij.process.ImageProcessor
public void getColumn(int x, int y, int[] data, int length)
getColumn
in class ij.process.ImageProcessor
public ColorModel getCurrentColorModel()
getCurrentColorModel
in class ij.process.ImageProcessor
public IndexColorModel getDefaultColorModel()
getDefaultColorModel
in class ij.process.ImageProcessor
public float getf(int index)
getf
in class ij.process.ImageProcessor
public float getf(int x, int y)
getf
in class ij.process.ImageProcessor
public float[][] getFloatArray()
getFloatArray
in class ij.process.ImageProcessor
public FontMetrics getFontMetrics()
getFontMetrics
in class ij.process.ImageProcessor
public int getHeight()
getHeight
in class ij.process.ImageProcessor
public int[] getHistogram()
getHistogram
in class ij.process.ImageProcessor
public double getHistogramMax()
getHistogramMax
in class ij.process.ImageProcessor
public double getHistogramMin()
getHistogramMin
in class ij.process.ImageProcessor
public int getHistogramSize()
getHistogramSize
in class ij.process.ImageProcessor
public int[][] getIntArray()
getIntArray
in class ij.process.ImageProcessor
public boolean getInterpolate()
getInterpolate
in class ij.process.ImageProcessor
public double getInterpolatedPixel(double x, double y)
getInterpolatedPixel
in class ij.process.ImageProcessor
public double[] getLine(double x1, double y1, double x2, double y2)
getLine
in class ij.process.ImageProcessor
public int getLutUpdateMode()
getLutUpdateMode
in class ij.process.ImageProcessor
public ij.process.ImageProcessor getMask()
getMask
in class ij.process.ImageProcessor
public byte[] getMaskArray()
getMaskArray
in class ij.process.ImageProcessor
public double getMax()
getMax
in class ij.process.ImageProcessor
public double getMaxThreshold()
getMaxThreshold
in class ij.process.ImageProcessor
public double getMin()
getMin
in class ij.process.ImageProcessor
public double getMinThreshold()
getMinThreshold
in class ij.process.ImageProcessor
public int getNChannels()
getNChannels
in class ij.process.ImageProcessor
public int getPixel(int x, int y)
getPixel
in class ij.process.ImageProcessor
public int[] getPixel(int x, int y, int[] iArray)
getPixel
in class ij.process.ImageProcessor
public int getPixelInterpolated(double x, double y)
getPixelInterpolated
in class ij.process.ImageProcessor
public int getPixelCount()
getPixelCount
in class ij.process.ImageProcessor
public Object getPixels()
getPixels
in class ij.process.ImageProcessor
public Object getPixelsCopy()
getPixelsCopy
in class ij.process.ImageProcessor
public float getPixelValue(int x, int y)
getPixelValue
in class ij.process.ImageProcessor
public Rectangle getRoi()
getRoi
in class ij.process.ImageProcessor
public void getRow(int x, int y, int[] data, int length)
getRow
in class ij.process.ImageProcessor
public Object getSnapshotPixels()
getSnapshotPixels
in class ij.process.ImageProcessor
public int getStringWidth(String s)
getStringWidth
in class ij.process.ImageProcessor
public int getWidth()
getWidth
in class ij.process.ImageProcessor
public void insert(ij.process.ImageProcessor ip, int xloc, int yloc)
insert
in class ij.process.ImageProcessor
public void invert()
invert
in class ij.process.ImageProcessor
public void invertLut()
invertLut
in class ij.process.ImageProcessor
public boolean isColorLut()
isColorLut
in class ij.process.ImageProcessor
public boolean isInvertedLut()
isInvertedLut
in class ij.process.ImageProcessor
public boolean isPseudoColorLut()
isPseudoColorLut
in class ij.process.ImageProcessor
public void lineTo(int x2, int y2)
lineTo
in class ij.process.ImageProcessor
public void log()
log
in class ij.process.ImageProcessor
public void max(double value)
max
in class ij.process.ImageProcessor
public double maxValue()
maxValue
in class ij.process.ImageProcessor
public void medianFilter()
medianFilter
in class ij.process.ImageProcessor
public void min(double value)
min
in class ij.process.ImageProcessor
public double minValue()
minValue
in class ij.process.ImageProcessor
public void moveTo(int x, int y)
moveTo
in class ij.process.ImageProcessor
public void multiply(double value)
multiply
in class ij.process.ImageProcessor
public void noise(double range)
noise
in class ij.process.ImageProcessor
public void or(int value)
or
in class ij.process.ImageProcessor
public void putColumn(int x, int y, int[] data, int length)
putColumn
in class ij.process.ImageProcessor
public void putPixel(int x, int y, int value)
putPixel
in class ij.process.ImageProcessor
public void putPixel(int x, int y, int[] iArray)
putPixel
in class ij.process.ImageProcessor
public void putPixelValue(int x, int y, double value)
putPixelValue
in class ij.process.ImageProcessor
public void putRow(int x, int y, int[] data, int length)
putRow
in class ij.process.ImageProcessor
public void reset()
reset
in class ij.process.ImageProcessor
public void reset(ij.process.ImageProcessor mask)
reset
in class ij.process.ImageProcessor
public void resetBinaryThreshold()
resetBinaryThreshold
in class ij.process.ImageProcessor
public void resetMinAndMax()
resetMinAndMax
in class ij.process.ImageProcessor
public void resetRoi()
resetRoi
in class ij.process.ImageProcessor
public void resetThreshold()
resetThreshold
in class ij.process.ImageProcessor
public ij.process.ImageProcessor resize(int dstWidth)
resize
in class ij.process.ImageProcessor
public ij.process.ImageProcessor resize(int dstWidth, int dstHeight)
resize
in class ij.process.ImageProcessor
public void rotate(double angle)
rotate
in class ij.process.ImageProcessor
public ij.process.ImageProcessor rotateLeft()
rotateLeft
in class ij.process.ImageProcessor
public ij.process.ImageProcessor rotateRight()
rotateRight
in class ij.process.ImageProcessor
public void scale(double xScale, double yScale)
scale
in class ij.process.ImageProcessor
public void set(int index, int value)
set
in class ij.process.ImageProcessor
public void set(int x, int y, int value)
set
in class ij.process.ImageProcessor
public void setAntialiasedText(boolean antialiased)
setAntialiasedText
in class ij.process.ImageProcessor
public void setAutoThreshold(int method, int lutUpdate)
setAutoThreshold
in class ij.process.ImageProcessor
public void setBackgroundValue(double value)
setBackgroundValue
in class ij.process.ImageProcessor
public void setCalibrationTable(float[] ctable)
setCalibrationTable
in class ij.process.ImageProcessor
public void setClipRect(Rectangle clipRect)
setClipRect
in class ij.process.ImageProcessor
public void setColor(Color color)
setColor
in class ij.process.ImageProcessor
public void setColor(int value)
setColor
in class ij.process.ImageProcessor
public void setColorModel(ColorModel cm)
setColorModel
in class ij.process.ImageProcessor
public void setf(int index, float value)
setf
in class ij.process.ImageProcessor
public void setf(int x, int y, float value)
setf
in class ij.process.ImageProcessor
public void setFloatArray(float[][] a)
setFloatArray
in class ij.process.ImageProcessor
public void setFont(Font font)
setFont
in class ij.process.ImageProcessor
public void setHistogramRange(double histMin, double histMax)
setHistogramRange
in class ij.process.ImageProcessor
public void setHistogramSize(int size)
setHistogramSize
in class ij.process.ImageProcessor
public void setIntArray(int[][] a)
setIntArray
in class ij.process.ImageProcessor
public void setInterpolate(boolean interpolate)
setInterpolate
in class ij.process.ImageProcessor
public void setJustification(int justification)
setJustification
in class ij.process.ImageProcessor
public void setLineWidth(int width)
setLineWidth
in class ij.process.ImageProcessor
public void setLutAnimation(boolean lutAnimation)
setLutAnimation
in class ij.process.ImageProcessor
public void setMask(ij.process.ImageProcessor mask)
setMask
in class ij.process.ImageProcessor
public void setMinAndMax(double min, double max)
setMinAndMax
in class ij.process.ImageProcessor
public void setPixels(int channelNumber, ij.process.FloatProcessor fp)
setPixels
in class ij.process.ImageProcessor
public void setPixels(Object pixels)
setPixels
in class ij.process.ImageProcessor
public void setProgressBar(ij.gui.ProgressBar pb)
setProgressBar
in class ij.process.ImageProcessor
public void setRoi(int x, int y, int rwidth, int rheight)
setRoi
in class ij.process.ImageProcessor
public void setRoi(Polygon roi)
setRoi
in class ij.process.ImageProcessor
public void setRoi(Rectangle roi)
setRoi
in class ij.process.ImageProcessor
public void setRoi(ij.gui.Roi roi)
setRoi
in class ij.process.ImageProcessor
public void setSnapshotCopyMode(boolean b)
setSnapshotCopyMode
in class ij.process.ImageProcessor
public void setSnapshotPixels(Object pixels)
setSnapshotPixels
in class ij.process.ImageProcessor
public void setThreshold(double minThreshold, double maxThreshold, int lutUpdate)
setThreshold
in class ij.process.ImageProcessor
public void setValue(double value)
setValue
in class ij.process.ImageProcessor
public void sharpen()
sharpen
in class ij.process.ImageProcessor
public void smooth()
smooth
in class ij.process.ImageProcessor
public void snapshot()
snapshot
in class ij.process.ImageProcessor
public void sqr()
sqr
in class ij.process.ImageProcessor
public void sqrt()
sqrt
in class ij.process.ImageProcessor
public void swapPixelArrays()
swapPixelArrays
in class ij.process.ImageProcessor
public void threshold(int level)
threshold
in class ij.process.ImageProcessor
public ij.process.FloatProcessor toFloat(int channelNumber, ij.process.FloatProcessor fp)
toFloat
in class ij.process.ImageProcessor
public String toString()
toString
in class ij.process.ImageProcessor
public void translate(int xOffset, int yOffset)
public void updateComposite(int[] rgbPixels, int channel)
updateComposite
in class ij.process.ImageProcessor
public void xor(int value)
xor
in class ij.process.ImageProcessor
private void record(String method)
Copyright © 2017 Open Microscopy Environment