java.awt.image
public class BandCombineOp extends Object implements RasterOp
Constructor Summary | |
---|---|
BandCombineOp(float[][] matrix, RenderingHints hints)
Construct a BandCombineOp.
|
Method Summary | |
---|---|
WritableRaster | createCompatibleDestRaster(Raster src)
Creates a new WritableRaster that can be used as the destination for this
Op. |
WritableRaster | filter(Raster src, WritableRaster dest)
Filter Raster pixels through a matrix. |
Rectangle2D | getBounds2D(Raster src) |
float[][] | getMatrix()
Return the matrix used in this operation.
|
Point2D | getPoint2D(Point2D src, Point2D dst)
Return corresponding destination point for source point. |
RenderingHints | getRenderingHints() |
Parameters: matrix The matrix to filter pixels with. hints Rendering hints to apply. Ignored.
Throws: ArrayIndexOutOfBoundsException if the matrix is invalid
Parameters: src The source raster.
Returns: A compatible raster.
Throws: IllegalArgumentException if the raster is incompatible with the matrix.
See Also: createCompatibleDestRaster
Parameters: src The source Raster. dest The destination Raster, or null.
Returns: The filtered Raster.
Throws: IllegalArgumentException if the destination raster is incompatible with the source raster.
See Also: RasterOp
Returns: The matrix used in this operation.
Parameters: src The source point. dst The destination point.
Returns: dst The destination point.
See Also: RasterOp