org.geotools.coverage.processing
Class BaseStatisticsOperationJAI
Object
AbstractOperation
Operation2D
OperationJAI
BaseStatisticsOperationJAI
- All Implemented Interfaces:
- Serializable, Operation
- Direct Known Subclasses:
- Extrema, Histogram, ZonalStats
public abstract class BaseStatisticsOperationJAI
- extends OperationJAI
This class is the root class for the Statistics operations based on
JAI
's StatisticsOpImage
like Extrema and Histogram. It
provides basic capabilities for management of geospatial parameters like
ROI
s and subsampling factors.
- Since:
- 2.4.x
- Author:
- Simone Giannecchini
- See Also:
- Serialized Form
Methods inherited from class OperationJAI |
createRenderedImage, deriveCategory, deriveGridCoverage, deriveName, deriveRange, deriveSampleDimension, deriveUnit, doOperation, equals, getJAI, getOperationDescriptor, getProperties, getQuantitative, resampleToCommonGeometry |
LOGGER
public static final Logger LOGGER
Logger
for this class.
SPATIAL_SUBSAMPLING_X
public static final ParameterDescriptor<Double> SPATIAL_SUBSAMPLING_X
- The parameter descriptor for the SPATIAL_SUBSAMPLING_X
SPATIAL_SUBSAMPLING_Y
public static final ParameterDescriptor<Double> SPATIAL_SUBSAMPLING_Y
- The parameter descriptor for the SPATIAL_SUBSAMPLING_Y
ROI
public static final ParameterDescriptor<Polygon> ROI
- The parameter descriptor for the Region Of Interest.
BaseStatisticsOperationJAI
public BaseStatisticsOperationJAI(OperationDescriptor operationDescriptor)
- Constructor for
BaseStatisticsOperationJAI
.
- Parameters:
operationDescriptor
- OperationDescriptor
for the underlying JAI operation.
BaseStatisticsOperationJAI
public BaseStatisticsOperationJAI(OperationDescriptor operationDescriptor,
ImagingParameterDescriptors replacements)
- Constructor for
BaseStatisticsOperationJAI
.
- Parameters:
operationDescriptor
- OperationDescriptor
for the underlying JAI operation.replacements
- ImagingParameterDescriptors
that should replace the
correspondent ImagingParameters
in order to change the
default behavior they have inside JAI.
BaseStatisticsOperationJAI
public BaseStatisticsOperationJAI(String name)
- Constructor for
BaseStatisticsOperationJAI
.
- Parameters:
name
- of the underlying JAI operation.
prepareParameters
protected ParameterBlockJAI prepareParameters(ParameterValueGroup parameters)
- Copies parameter values from the specified
ParameterValueGroup
to the
ParameterBlockJAI
- Overrides:
prepareParameters
in class OperationJAI
- Parameters:
parameters
- The ParameterValueGroup
to be copied.
- Returns:
- A copy of the provided
ParameterValueGroup
as a JAI block. - See Also:
OperationJAI.prepareParameters(org.opengis.parameter.ParameterValueGroup)
Copyright © 1996-2014 Geotools. All Rights Reserved.