| javax.media.jai.PointOpImage com.sun.media.jai.opimage.BandMergeOpImage
BandMergeOpImage | class BandMergeOpImage extends PointOpImage (Code) | | An OpImage implementing the "BandMerge" operation as
described in javax.media.jai.operator.BandMergeDescriptor .
This OpImage bandmerges the pixel values of two or
more source images.
The data type byte is treated as unsigned, with maximum
value as 255 and minimum value as 0.
There is no attempt to rescale binary images to the approapriate
gray levels, such as 255 or 0. A lookup should be performed first
if so desired.
since: JAI 1.1 See Also: javax.media.jai.operator.BandMergeDescriptor See Also: BandMergeCRIF |
Constructor Summary | |
public | BandMergeOpImage(Vector sources, Map config, ImageLayout layout) Constructs a BandMergeOpImage .
The layout parameter may optionally contain the
tile grid layout, sample model, and/or color model. |
Method Summary | |
protected void | computeRect(Raster[] sources, WritableRaster dest, Rectangle destRect) BandMerges the pixel values of two source images within a specified
rectangle. |
BandMergeOpImage | public BandMergeOpImage(Vector sources, Map config, ImageLayout layout)(Code) | | Constructs a BandMergeOpImage .
The layout parameter may optionally contain the
tile grid layout, sample model, and/or color model. The image
dimension is determined by the intersection of the bounding boxes
of the source images.
The image layout of the first source image, source1 ,
is used as the fallback for the image layout of the destination
image. The destination number of bands is the sum of all source
image bands.
Parameters: sources - Vector of sources. Parameters: config - Configurable attributes of the image includingconfiguration variables indexed byRenderingHints.Key s and image properties indexedby String s or CaselessStringKey s.This is simply forwarded to the superclass constructor. Parameters: layout - The destination image layout. |
computeRect | protected void computeRect(Raster[] sources, WritableRaster dest, Rectangle destRect)(Code) | | BandMerges the pixel values of two source images within a specified
rectangle.
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. |
|
|