| com.sun.media.jai.mlib.MlibAffineOpImage com.sun.media.jai.mlib.MlibAffineNearestOpImage
MlibAffineNearestOpImage | public class MlibAffineNearestOpImage extends MlibAffineOpImage (Code) | | An OpImage class to perform Nearest-Neighbour AffineTransform
on a source image.
|
Method Summary | |
protected void | computeRect(Raster[] sources, WritableRaster dest, Rectangle destRect) Performs nearest-neighbour affine transformation on a specified
rectangle. |
MlibAffineNearestOpImage | public MlibAffineNearestOpImage(RenderedImage source, BorderExtender extender, Map config, ImageLayout layout, AffineTransform tr, Interpolation interp, double[] backgroundValues)(Code) | | Creates a MlibAffineNearestOpImage 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 (Nearest-Neighbour) |
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. |
|
|