| javax.media.jai.PointOpImage com.sun.media.jai.opimage.ComplexArithmeticOpImage
Field Summary | |
protected boolean | isDivision Flag indicating division (true) or multiplication (false). |
Constructor Summary | |
public | ComplexArithmeticOpImage(RenderedImage source1, RenderedImage source2, Map config, ImageLayout layout, boolean isDivision) Constructs a ComplexArithmeticOpImage object.
The layout parameter may optionally contains the
tile grid layout, sample model, and/or color model. |
Method Summary | |
protected void | computeRect(Raster[] sources, WritableRaster dest, Rectangle destRect) Calculate the product or quotient of the source images. |
isDivision | protected boolean isDivision(Code) | | Flag indicating division (true) or multiplication (false).
|
ComplexArithmeticOpImage | public ComplexArithmeticOpImage(RenderedImage source1, RenderedImage source2, Map config, ImageLayout layout, boolean isDivision)(Code) | | Constructs a ComplexArithmeticOpImage object.
The layout parameter may optionally contains the
tile grid layout, sample model, and/or color model. The image
dimension is determined by the intersection of the bounding boxes
of the two source images.
The image layout of the first source image, source1 ,
is used as the fall-back for the image layout of the destination
image. Any layout parameters not specified in the layout
argument are set to the same value as that of source1 .
Parameters: source1 - The first source image. Parameters: source2 - The second source image. Parameters: layout - The destination image layout. Parameters: isDivision - Whether the operation is division; if not, it'smultiplication. |
computeRect | protected void computeRect(Raster[] sources, WritableRaster dest, Rectangle destRect)(Code) | | Calculate the product or quotient of the source images.
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. |
|
|