Package org.geotools.coverage.processing
Class BilevelOperation
Object
AbstractOperation
Operation2D
OperationJAI
BilevelOperation
- All Implemented Interfaces:
Serializable
,Operation
Wraps any JAI operation producing a bilevel image. An example of such operation is
Binarize
.- Since:
- 2.2
- Author:
- Martin Desruisseaux (IRD)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class OperationJAI
OperationJAI.Parameters
-
Field Summary
Fields inherited from class OperationJAI
operation, RENDERED_MODE
Fields inherited from class Operation2D
PRIMARY_SOURCE_INDEX, SOURCE_0
Fields inherited from class AbstractOperation
descriptor
-
Constructor Summary
ConstructorsConstructorDescriptionBilevelOperation
(String name) Constructs a bilevel operation with an OGC's name identical to the JAI name. -
Method Summary
Modifier and TypeMethodDescriptionprotected GridSampleDimension[]
deriveSampleDimension
(GridSampleDimension[][] bandLists, OperationJAI.Parameters parameters) Derives theGridSampleDimension
s for the destination image.Methods inherited from class OperationJAI
createRenderedImage, deriveCategory, deriveGridCoverage, deriveName, deriveRange, deriveUnit, doOperation, equals, extractSources, getJAI, getOperationDescriptor, getProperties, getQuantitative, handleJAIEXTParams, handleROINoDataInternal, handleROINoDataProperties, hashCode, prepareParameters, resampleToCommonGeometry
Methods inherited from class Operation2D
extractSources, getFactory
Methods inherited from class AbstractOperation
getDescription, getDocURL, getName, getNumSources, getParameters, getVendor, getVersion, toString
-
Constructor Details
-
BilevelOperation
Constructs a bilevel operation with an OGC's name identical to the JAI name.- Parameters:
name
- The JAI operation name.- Throws:
OperationNotFoundException
- if no JAI descriptor was found for the given name.
-
-
Method Details
-
deriveSampleDimension
protected GridSampleDimension[] deriveSampleDimension(GridSampleDimension[][] bandLists, OperationJAI.Parameters parameters) Derives theGridSampleDimension
s for the destination image.- Overrides:
deriveSampleDimension
in classOperationJAI
- Parameters:
bandLists
- Sample dimensions for each band in each source coverages.parameters
- The user-supplied parameters.- Returns:
- The sample dimensions for each band in the destination image.
- See Also:
-