public class FloatProcessorT2
extends ij.process.FloatProcessor
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, fillValueSet, FIND_EDGES, fmGraphics, 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, rnd, roiHeight, roiWidth, roiX, roiY, sampleModel, seed, snapshotHeight, snapshotWidth, source, width, xMax, xMin, yMax, yMin
Constructor and Description |
---|
FloatProcessorT2(ij.process.ByteProcessor bp) |
FloatProcessorT2(ij.process.ColorProcessor cp,
int channel) |
FloatProcessorT2(ij.process.FloatProcessor fp) |
FloatProcessorT2(int width,
int height) |
FloatProcessorT2(int width,
int height,
byte[] pix,
double min,
double max) |
FloatProcessorT2(int width,
int height,
double min,
double max) |
FloatProcessorT2(int width,
int height,
float[] pixels,
ColorModel cm) |
FloatProcessorT2(int width,
int height,
float[] pixels,
ColorModel cm,
double min,
double max) |
Modifier and Type | Method and Description |
---|---|
ij.process.ImageProcessor |
createProcessor(int width,
int height)
Returns a new, blank FloatProcessor with the specified width and height.
|
void |
debugMinMax(String msg) |
void |
findMinAndMax() |
int[] |
getARGBPixels(byte[] alpha)
Return the float array of pixels as a byte array, cropping (no scaling).
|
int[] |
getARGBPixels(byte[] alpha,
byte[] outside)
Return the float array of pixels as a byte array, cropping (no scaling).
|
int[] |
getARGBPixels(float[] alpha)
Return the float array of pixels as a byte array, with scaling.
|
int[] |
getARGBPixels(float[] alpha,
float[] outside)
Return the float array of pixels as a byte array, cropping (no scaling).
|
byte[] |
getBytePixels()
Return the float array of pixels as a byte array, cropping (no scaling).
|
float[] |
getFloatPixels() |
int[] |
getRGBPixels()
Return the float array of pixels as a byte array, cropping (no scaling).
|
byte[] |
getScaledBytePixels() |
void |
halfSizeInPlace()
Resizes this
FloatProcessorT2 instance by a factor of two by
picking simply all pixels at even coordinates. |
void |
resizeInPlace(int w,
int h) |
void |
setMinMax(double min,
double max) |
void |
setPixels(int width,
int height,
float[] pixels)
Set pixels and change image dimensions if width and height are different than the current.
|
abs, add, add, and, applyTable, autoThreshold, convolve, convolve3x3, copyBits, createImage, createMask, crop, dilate, drawPixel, duplicate, erode, exp, fill, fill, filter, flipVertical, gamma, get, get, getBackgroundValue, getBicubicInterpolatedPixel, getBitDepth, getBufferedImage, getf, getf, getForegroundValue, getHistogram, getInterpolatedPixel, getMax, getMin, getPixel, getPixel, getPixelInterpolated, getPixels, getPixelsCopy, getPixelValue, getSnapshotPixels, invert, log, max, maxValue, medianFilter, min, minValue, multiply, noise, or, putPixel, putPixel, putPixelValue, reset, reset, resetMinAndMax, resize, rotate, scale, set, set, set, setBackgroundValue, setColor, setf, setf, setLutAnimation, setMinAndMax, setPixels, setPixels, setSnapshotPixels, setThreshold, setValue, snapshot, sqr, sqrt, swapPixelArrays, threshold, toFloat, xor
applyMacro, bin, blurGaussian, clone, convertToByte, convertToByteProcessor, convertToByteProcessor, convertToColorProcessor, convertToFloat, convertToFloatProcessor, convertToRGB, convertToShort, convertToShortProcessor, convertToShortProcessor, cubic, draw, drawDot, drawDot2, drawLine, drawLine4, drawOval, drawOverlay, drawPolygon, drawRect, drawRoi, drawString, drawString, drawString, fill, fillOutside, fillOval, fillPolygon, fillRect, fillValueSet, findEdges, flipHorizontal, getAutoThreshold, getAutoThreshold, getBestIndex, getCalibrationTable, getColorModel, getColumn, getCurrentColorModel, getDefaultColorModel, getFloatArray, getFont, getFontMetrics, getHeight, getHistogram, getHistogramMax, getHistogramMin, getHistogramSize, getIndexSampleModel, getIntArray, getInterpolate, getInterpolatedValue, getInterpolationMethod, getInterpolationMethods, getLine, getLineWidth, getLut, getLutUpdateMode, getMask, getMaskArray, getMaxThreshold, getMinThreshold, getNChannels, getNeighborhood, getOverlay, getPixelCount, getProgressIncrement, getRoi, getRow, getRow, getSliceNumber, getStatistics, getStats, getStringBounds, getStringWidth, getThresholdColorModel, getValue, getWidth, hideProgress, insert, invertLut, isBinary, isColorLut, isDefaultLut, isGrayscale, isInvertedLut, isKillable, isPseudoColorLut, isSigned16Bit, lineTo, ln, makeDefaultColorModel, maskSizeError, moveTo, putColumn, putRow, putRow, resetBinaryThreshold, resetRoi, resetThreshold, resize, resize, resizeLinearly, rotateLeft, rotateRight, scaleAndSetThreshold, setAntialiasedText, setAutoThreshold, setAutoThreshold, setAutoThreshold, setAutoThreshold, setAutoThreshold, setBinaryThreshold, setCalibrationTable, setClipRect, setColor, setColor, setColorModel, setFloatArray, setFont, setFontSize, setHistogramRange, setHistogramSize, setIntArray, setInterpolate, setInterpolationMethod, setJustification, setLineWidth, setLut, setMask, setOverColor, setOverlay, setProgressBar, setRandomSeed, setRoi, setRoi, setRoi, setRoi, setSliceNumber, setSnapshotCopyMode, setUnderColor, setUseBicubic, sharpen, showProgress, smooth, subtract, toString, translate, translate, updateComposite
public FloatProcessorT2(int width, int height, float[] pixels, ColorModel cm)
public FloatProcessorT2(int width, int height, float[] pixels, ColorModel cm, double min, double max)
public FloatProcessorT2(int width, int height, double min, double max)
public FloatProcessorT2(int width, int height)
public FloatProcessorT2(int width, int height, byte[] pix, double min, double max)
public FloatProcessorT2(ij.process.ColorProcessor cp, int channel)
public FloatProcessorT2(ij.process.FloatProcessor fp)
public FloatProcessorT2(ij.process.ByteProcessor bp)
public final void setMinMax(double min, double max)
public final void setPixels(int width, int height, float[] pixels)
public final void resizeInPlace(int w, int h)
public final void halfSizeInPlace()
FloatProcessorT2
instance by a factor of two by
picking simply all pixels at even coordinates. The primary use for this
method is downsampling after the image was smoothed with a respective
Gaussian (e.g. σ=sqrt(0.75) to go from 0.5 to 0.5).public ij.process.ImageProcessor createProcessor(int width, int height)
createProcessor
in class ij.process.FloatProcessor
public void findMinAndMax()
findMinAndMax
in class ij.process.FloatProcessor
public final float[] getFloatPixels()
public final byte[] getBytePixels()
public final byte[] getScaledBytePixels()
public final int[] getRGBPixels()
public final int[] getARGBPixels(byte[] alpha)
public final int[] getARGBPixels(byte[] alpha, byte[] outside)
public final void debugMinMax(String msg)
public final int[] getARGBPixels(float[] alpha)
public final int[] getARGBPixels(float[] alpha, float[] outside)
Copyright © 2015–2021 Fiji. All rights reserved.