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
ROIs 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 LoggerLoggerfor this class.static final ParameterDescriptor<Collection>The parameter descriptor for the Sources.static final StringName for the Sources parameterFields inherited from class OperationJAI
operation, RENDERED_MODEFields inherited from class Operation2D
PRIMARY_SOURCE_INDEX, SOURCE_0Fields 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 voidextractSources(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, resampleToCommonGeometryMethods inherited from class Operation2D
extractSources, getFactoryMethods inherited from class AbstractOperation
getDescription, getDocURL, getName, getNumSources, getParameters, getVendor, getVersion, toString
-
Field Details
-
LOGGER
Loggerfor 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-OperationDescriptorfor the underlying ImageN operation.
-
BaseMathOperationJAI
public BaseMathOperationJAI(OperationDescriptor operationDescriptor, ImagingParameterDescriptors replacements) Constructor forBaseMathOperationJAI.- Parameters:
operationDescriptor-OperationDescriptorfor the underlying ImageN operation.replacements-ImagingParameterDescriptorsthat should replace the correspondentImagingParametersin order to change the default behavior they have inside ImageN.
-
BaseMathOperationJAI
Constructor forBaseMathOperationJAI.- Parameters:
name- of the underlying ImageN operation.
-
BaseMathOperationJAI
Constructor forBaseMathOperationJAI.- Parameters:
name- of the underlying ImageN operation.
-
-
Method Details
-
extractSources
protected void extractSources(ParameterValueGroup parameters, Collection<GridCoverage2D> sources, String[] sourceNames) throws ParameterNotFoundException, InvalidParameterValueException Description copied from class:OperationJAIExtraction of the sources from the parameter called SOURCES. The sources are stored inside a List.- Overrides:
extractSourcesin classOperationJAI- Throws:
ParameterNotFoundExceptionInvalidParameterValueException
-