Interface ColorMatrixRable
- All Superinterfaces:
Filter, FilterColorInterpolation, RenderableImage
- All Known Implementing Classes:
ColorMatrixRable8Bit
Defines the interface expected from a color matrix
operation
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intIdentifier used to refer to predefined matricesstatic final intFields inherited from interface RenderableImage
HINTS_OBSERVED -
Method Summary
Methods inherited from interface Filter
getBounds2D, getDependencyRegion, getDirtyRegion, getTimeStampMethods inherited from interface FilterColorInterpolation
getOperationColorSpace, isColorSpaceLinear, setColorSpaceLinearMethods inherited from interface RenderableImage
createDefaultRendering, createRendering, createScaledRendering, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getWidth, isDynamic
-
Field Details
-
TYPE_MATRIX
static final int TYPE_MATRIXIdentifier used to refer to predefined matrices- See Also:
-
TYPE_SATURATE
static final int TYPE_SATURATE- See Also:
-
TYPE_HUE_ROTATE
static final int TYPE_HUE_ROTATE- See Also:
-
TYPE_LUMINANCE_TO_ALPHA
static final int TYPE_LUMINANCE_TO_ALPHA- See Also:
-
-
Method Details
-
getSource
Filter getSource()Returns the source to be offset. -
setSource
-
getType
int getType()Returns the type of this color matrix.- Returns:
- one of TYPE_MATRIX, TYPE_SATURATE, TYPE_HUE_ROTATE, TYPE_LUMINANCE_TO_ALPHA
-
getMatrix
float[][] getMatrix()Returns the rows of the color matrix. This uses the same convention as BandCombineOp.
-