| com.sun.media.jai.mlib.MlibAffineOpImage com.sun.media.jai.mlib.MlibAffineTableOpImage
MlibAffineTableOpImage | public class MlibAffineTableOpImage extends MlibAffineOpImage (Code) | | An OpImage class to perform an Affine using interpolation coefficients
represented in a Table, on a source image.
|
Method Summary | |
protected void | computeRect(Raster[] sources, WritableRaster dest, Rectangle destRect) Performs nearest-neighbour affine transformation on a specified
rectangle. |
MlibAffineTableOpImage | public MlibAffineTableOpImage(RenderedImage source, BorderExtender extender, Map config, ImageLayout layout, AffineTransform tr, Interpolation interp, double[] backgroundValues)(Code) | | Creates a MlibAffineTableOpImage given a ParameterBlock containing the
image source and the AffineTransform. The image dimensions are derived
from the source image. The tile grid layout, SampleModel, and
ColorModel may optionally be specified by an ImageLayout
object.
Parameters: source - a RenderedImage. Parameters: layout - an ImageLayout optionally containing the tile grid layout,SampleModel, and ColorModel, or null. Parameters: tr - the AffineTransform. Parameters: interp - the Interpolation to be used (Table-based) |
computeRect | protected void computeRect(Raster[] sources, WritableRaster dest, Rectangle destRect)(Code) | | Performs nearest-neighbour affine transformation on a specified
rectangle. The sources are cobbled.
Parameters: sources - an array of source Rasters, guaranteed to provide allnecessary source data for computing the output. Parameters: dest - a WritableRaster tile containing the area to be computed. Parameters: destRect - the rectangle within dest to be processed. |
|
|