| javax.media.jai.PointOpImage com.sun.media.jai.opimage.BandCombineOpImage
BandCombineOpImage | final class BandCombineOpImage extends PointOpImage (Code) | | An OpImage implementing the "BandCombine" operation.
This OpImage performs the arbitrary interband
linear combination of an image using the specified matrix. The
width of the matrix must be one larger that the number of bands
in the source image. The height of the matrix must be equal to
the number of bands in the destination image. Because the matrix
can be of arbitrary size, this function can be used to produce
a destination image with a different number of bands from the
source image.
The destination image is formed by performing a matrix-
multiply operation between the bands of the source image and
the specified matrix. The extra column of values is a constant
that is added after the matrix-multiply operation takes place.
See Also: javax.media.jai.operator.BandCombineDescriptor See Also: BandCombineCRIF since: EA3 |
BandCombineOpImage | public BandCombineOpImage(RenderedImage source, Map config, ImageLayout layout, double[][] matrix)(Code) | | Constructor.
Parameters: source - The source image. Parameters: layout - The destination image layout. Parameters: matrix - The matrix of values used to perform thelinear combination. |
computeRect | protected void computeRect(Raster[] sources, WritableRaster dest, Rectangle destRect)(Code) | | Performs linear combination of source image with matrix
Parameters: sources - Cobbled sources, guaranteed to provide all thesource data necessary for computing the rectangle. Parameters: dest - The tile containing the rectangle to be computed. Parameters: destRect - The rectangle within the tile to be computed. |
|
|