public class GaussianBlurRed8Bit extends AbstractRed
bounds, cm, minTileX, minTileY, numXTiles, numYTiles, props, sm, srcs, tileGridXOff, tileGridYOff, tileHeight, tileWidth
Constructor and Description |
---|
GaussianBlurRed8Bit(CachableRed src,
double stdDevX,
double stdDevY,
java.awt.RenderingHints rh)
Construct a blurred version of
src , by blurring with a
gaussian kernel with standard Deviation of stdDev pixels. |
GaussianBlurRed8Bit(CachableRed src,
double stdDev,
java.awt.RenderingHints rh)
Construct a blurred version of
src , by blurring with a
gaussian kernel with standard Deviation of stdDev pixels. |
Modifier and Type | Method and Description |
---|---|
java.awt.image.WritableRaster |
copyData(java.awt.image.WritableRaster wr) |
protected static java.awt.image.ColorModel |
fixColorModel(CachableRed src) |
static int |
surroundPixels(double stdDev)
Calculate the number of surround pixels required for a given
standard Deviation.
|
static int |
surroundPixels(double stdDev,
java.awt.RenderingHints hints)
Calculate the number of surround pixels required for a given
standard Deviation.
|
copyBand, copyToRaster, getBounds, getColorModel, getData, getData, getDependencyRegion, getDirtyRegion, getHeight, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getProperty, getPropertyNames, getSampleModel, getSources, getTile, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getWidth, getXTile, getYTile, init, init, makeTile, updateTileGridInfo
public GaussianBlurRed8Bit(CachableRed src, double stdDev, java.awt.RenderingHints rh)
src
, by blurring with a
gaussian kernel with standard Deviation of stdDev
pixels.src
- The source image to blurstdDev
- The Standard Deviation of the Gaussian kernel.rh
- Rendering hints.public GaussianBlurRed8Bit(CachableRed src, double stdDevX, double stdDevY, java.awt.RenderingHints rh)
src
, by blurring with a
gaussian kernel with standard Deviation of stdDev
pixels.src
- The source image to blurstdDevX
- The Standard Deviation of the Gaussian kernel in XstdDevY
- The Standard Deviation of the Gaussian kernel in Yrh
- Rendering hints.public static int surroundPixels(double stdDev)
public static int surroundPixels(double stdDev, java.awt.RenderingHints hints)
public java.awt.image.WritableRaster copyData(java.awt.image.WritableRaster wr)
protected static java.awt.image.ColorModel fixColorModel(CachableRed src)
Copyright © 2022 Apache Software Foundation. All Rights Reserved.