public class ScaleGeneralOpImage extends ScaleOpImage
Modifier and Type | Field and Description |
---|---|
protected InterpolationBilinear |
interpB
Bilinear interpolator
|
protected InterpolationBicubic |
interpBN
Bicubic interpolator
|
protected InterpolationNearest |
interpN
Nearest-Neighbor interpolator
|
caseA, caseB, caseC, dataType, destinationNoDataByte, destinationNoDataDouble, destinationNoDataFloat, destinationNoDataInt, destinationNoDataShort, destinationNoDataUShort, extendedIMG, hasNoData, hasROI, interp_height, interp_left, interp_top, interp_width, interpolator, invScaleXFrac, invScaleXInt, invScaleXRational, invScaleXRationalDenom, invScaleXRationalNum, invScaleYFrac, invScaleYInt, invScaleYRational, invScaleYRationalDenom, invScaleYRationalNum, isBicubicNew, isBilinearNew, isBinary, isNearestNew, isNegativeInf, isPositiveInf, isRangeNaN, noData, one, precisionBits, rationalTolerance, roiBounds, roiIter, round, round2, scaleX, scaleXRational, scaleXRationalDenom, scaleXRationalNum, scaleY, scaleYRational, scaleYRationalDenom, scaleYRationalNum, shift, shift2, srcROI, srcROIImage, srcROIImgExt, subsampleBits, transX, transXRational, transXRationalDenom, transXRationalNum, transY, transYRational, transYRationalDenom, transYRationalNum, useRoiAccessor
backgroundValues, computableBounds, extender, intBackgroundValues, interp, setBackground
Constructor and Description |
---|
ScaleGeneralOpImage(RenderedImage source,
javax.media.jai.ImageLayout layout,
Map configuration,
javax.media.jai.BorderExtender extender,
javax.media.jai.Interpolation interp,
float scaleX,
float scaleY,
float transX,
float transY,
boolean useRoiAccessor,
Range nodata,
double[] backgroundValues) |
Modifier and Type | Method and Description |
---|---|
protected void |
computeRect(Raster[] sources,
WritableRaster dest,
Rectangle destRect)
This method executes the scale operation on a selected region of the image
|
protected void |
computeRect(Raster[] sources,
WritableRaster dest,
Rectangle destRect,
Raster[] rois) |
backwardMapRect, computeTile, dispose, forwardMapRect, mapDestPoint, mapSourcePoint, preComputePositionsFloat, preComputePositionsInt
getBorderExtender, getInterpolation, mapDestRect, mapSourceRect
addTileToCache, cancelTiles, computeRect, computesUniqueTiles, createTile, getExpandedNumBands, getFormatTags, getOperationComputeType, getTile, getTileCache, getTileCacheMetric, getTileDependencies, getTileFromCache, getTileRecycler, getTiles, hasExtender, prefetchTiles, queueTiles, recycleTile, setTileCache, vectorize, vectorize, vectorize
addPropertyChangeListener, addPropertyChangeListener, addSink, addSink, addSource, addTileComputationListener, copyData, copyData, copyExtendedData, createColorModel, createSnapshot, createWritableRaster, finalize, getAsBufferedImage, getAsBufferedImage, getBounds, getColorModel, getData, getData, getDefaultColorModel, getExtendedData, getGraphics, getHeight, getImageID, getMaxTileX, getMaxTileY, getMaxX, getMaxY, getMinTileX, getMinTileY, getMinX, getMinY, getNumBands, getNumSources, getNumXTiles, getNumYTiles, getProperties, getProperty, getPropertyClass, getPropertyNames, getPropertyNames, getSampleModel, getSinks, getSource, getSourceImage, getSourceObject, getSources, getSplits, getTileComputationListeners, getTileFactory, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileIndices, getTileRect, getTiles, getTileWidth, getWidth, overlapsMultipleTiles, removeProperty, removePropertyChangeListener, removePropertyChangeListener, removeSink, removeSink, removeSinks, removeSource, removeSources, removeTileComputationListener, setImageLayout, setProperties, setProperty, setSource, setSources, tileXToX, tileXToX, tileYToY, tileYToY, toString, wrapRenderedImage, XToTileX, XToTileX, YToTileY, YToTileY
protected InterpolationNearest interpN
protected InterpolationBilinear interpB
protected InterpolationBicubic interpBN
public ScaleGeneralOpImage(RenderedImage source, javax.media.jai.ImageLayout layout, Map configuration, javax.media.jai.BorderExtender extender, javax.media.jai.Interpolation interp, float scaleX, float scaleY, float transX, float transY, boolean useRoiAccessor, Range nodata, double[] backgroundValues)
protected void computeRect(Raster[] sources, WritableRaster dest, Rectangle destRect)
computeRect
in class javax.media.jai.OpImage
protected void computeRect(Raster[] sources, WritableRaster dest, Rectangle destRect, Raster[] rois)
computeRect
in class ScaleOpImage
Copyright © 2006–2015 GeoSolutions. All rights reserved.