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 is
Binarize
.
- Since:
- 2.2
- Author:
- Martin Desruisseaux (IRD)
- See Also:
- Serialized Form
Constructor Summary |
BilevelOperation(String name)
Constructs a bilevel operation with an OGC's name identical to the JAI name. |
Methods inherited from class OperationJAI |
createRenderedImage, deriveCategory, deriveGridCoverage, deriveName, deriveRange, deriveUnit, doOperation, equals, getJAI, getOperationDescriptor, getProperties, getQuantitative, prepareParameters, resampleToCommonGeometry |
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.
deriveSampleDimension
protected GridSampleDimension[] deriveSampleDimension(GridSampleDimension[][] bandLists,
OperationJAI.Parameters parameters)
- Derives the
GridSampleDimension
s for the destination image.
- Overrides:
deriveSampleDimension
in class OperationJAI
- 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.Unit>[], org.geotools.coverage.processing.OperationJAI.Parameters)
Copyright © 1996-2014 Geotools. All Rights Reserved.