Package org.geotools.coverage.processing
Class BilevelOperation
- Object
-
- AbstractOperation
-
- Operation2D
-
- OperationJAI
-
- BilevelOperation
-
- All Implemented Interfaces:
Serializable
,Operation
public class BilevelOperation extends OperationJAI
Wraps any JAI operation producing a bilevel image. An example of such operation isBinarize
.- Since:
- 2.2
- Author:
- Martin Desruisseaux (IRD)
- See Also:
- Serialized Form
-
-
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
Constructors Constructor Description BilevelOperation(String name)
Constructs a bilevel operation with an OGC's name identical to the JAI name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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 Detail
-
BilevelOperation
public BilevelOperation(String name) throws OperationNotFoundException
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 Detail
-
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:
OperationJAI.deriveCategory(org.geotools.coverage.Category[], org.geotools.coverage.processing.OperationJAI.Parameters)
,OperationJAI.deriveUnit(javax.measure.Unit<?>[], org.geotools.coverage.processing.OperationJAI.Parameters)
-
-