Package org.geotools.coverage.processing
Class BaseMathOperationJAI
Object
AbstractOperation
Operation2D
OperationJAI
BaseMathOperationJAI
- All Implemented Interfaces:
Serializable
,Operation
This class is the root class for the Maths operations. It provides basic capabilities for management of geospatial
parameters like
ROI
s and subsampling factors.- Since:
- 14.x
- Author:
- Nicola Lagomarsini, GeoSolutions SAS
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class OperationJAI
OperationJAI.Parameters
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Logger
Logger
for this class.static final ParameterDescriptor<Collection>
The parameter descriptor for the Sources.static final String
Name for the Sources parameterFields 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
ConstructorsConstructorDescriptionBaseMathOperationJAI
(String name) Constructor forBaseMathOperationJAI
.BaseMathOperationJAI
(String name, OperationDescriptor operationDescriptor) Constructor forBaseMathOperationJAI
.BaseMathOperationJAI
(OperationDescriptor operationDescriptor) Constructor forBaseMathOperationJAI
.BaseMathOperationJAI
(OperationDescriptor operationDescriptor, ImagingParameterDescriptors replacements) Constructor forBaseMathOperationJAI
. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
extractSources
(ParameterValueGroup parameters, Collection<GridCoverage2D> sources, String[] sourceNames) Extraction of the sources from the parameter called SOURCES.Methods inherited from class OperationJAI
createRenderedImage, deriveCategory, deriveGridCoverage, deriveName, deriveRange, deriveSampleDimension, deriveUnit, doOperation, equals, 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
-
Field Details
-
LOGGER
Logger
for this class. -
SOURCES_NAME
Name for the Sources parameter- See Also:
-
SOURCES
The parameter descriptor for the Sources.
-
-
Constructor Details
-
BaseMathOperationJAI
public BaseMathOperationJAI(OperationDescriptor operationDescriptor) Constructor forBaseMathOperationJAI
.- Parameters:
operationDescriptor
-OperationDescriptor
for the underlying JAI operation.
-
BaseMathOperationJAI
public BaseMathOperationJAI(OperationDescriptor operationDescriptor, ImagingParameterDescriptors replacements) Constructor forBaseMathOperationJAI
.- Parameters:
operationDescriptor
-OperationDescriptor
for the underlying JAI operation.replacements
-ImagingParameterDescriptors
that should replace the correspondentImagingParameters
in order to change the default behavior they have inside JAI.
-
BaseMathOperationJAI
Constructor forBaseMathOperationJAI
.- Parameters:
name
- of the underlying JAI operation.
-
BaseMathOperationJAI
Constructor forBaseMathOperationJAI
.- Parameters:
name
- of the underlying JAI operation.
-
-
Method Details
-
extractSources
protected void extractSources(ParameterValueGroup parameters, Collection<GridCoverage2D> sources, String[] sourceNames) throws ParameterNotFoundException, InvalidParameterValueException Description copied from class:OperationJAI
Extraction of the sources from the parameter called SOURCES. The sources are stored inside a List.- Overrides:
extractSources
in classOperationJAI
- Throws:
ParameterNotFoundException
InvalidParameterValueException
-