org.geotools.coverage.processing
Class AbstractStatisticsOperationJAI
java.lang.Object
org.geotools.coverage.processing.AbstractOperation
org.geotools.coverage.processing.Operation2D
org.geotools.coverage.processing.OperationJAI
org.geotools.coverage.processing.AbstractStatisticsOperationJAI
- All Implemented Interfaces:
- java.io.Serializable, org.opengis.coverage.processing.Operation
- Direct Known Subclasses:
- Extrema, Histogram
public abstract class AbstractStatisticsOperationJAI
- 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
Field Summary |
static java.util.logging.Logger |
LOGGER
Logger for this class. |
static org.opengis.parameter.ParameterDescriptor<com.vividsolutions.jts.geom.Polygon> |
ROI
The parameter descriptor for the Region Of Interest. |
static org.opengis.parameter.ParameterDescriptor<java.lang.Double> |
SPATIAL_SUBSAMPLING_X
The parameter descriptor for the SPATIAL_SUBSAMPLING_X |
static org.opengis.parameter.ParameterDescriptor<java.lang.Double> |
SPATIAL_SUBSAMPLING_Y
The parameter descriptor for the SPATIAL_SUBSAMPLING_Y |
Method Summary |
protected javax.media.jai.ParameterBlockJAI |
prepareParameters(org.opengis.parameter.ParameterValueGroup parameters)
Copies parameter values from the specified ParameterValueGroup to the
ParameterBlockJAI |
Methods inherited from class org.geotools.coverage.processing.OperationJAI |
createRenderedImage, deriveCategory, deriveGridCoverage, deriveName, deriveRange, deriveSampleDimension, deriveUnit, doOperation, equals, getJAI, getOperationDescriptor, getProperties, getQuantitative, resampleToCommonGeometry |
Methods inherited from class org.geotools.coverage.processing.AbstractOperation |
ensureNonNull, getDescription, getDocURL, getName, getNumSources, getParameters, getProcessor, getVendor, getVersion, hashCode, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
LOGGER
public static final java.util.logging.Logger LOGGER
Logger
for this class.
SPATIAL_SUBSAMPLING_X
public static final org.opengis.parameter.ParameterDescriptor<java.lang.Double> SPATIAL_SUBSAMPLING_X
- The parameter descriptor for the SPATIAL_SUBSAMPLING_X
SPATIAL_SUBSAMPLING_Y
public static final org.opengis.parameter.ParameterDescriptor<java.lang.Double> SPATIAL_SUBSAMPLING_Y
- The parameter descriptor for the SPATIAL_SUBSAMPLING_Y
ROI
public static final org.opengis.parameter.ParameterDescriptor<com.vividsolutions.jts.geom.Polygon> ROI
- The parameter descriptor for the Region Of Interest.
AbstractStatisticsOperationJAI
public AbstractStatisticsOperationJAI(javax.media.jai.OperationDescriptor operationDescriptor)
- Constructor for
AbstractStatisticsOperationJAI
.
- Parameters:
operationDescriptor
- OperationDescriptor
for the underlying JAI operation.
AbstractStatisticsOperationJAI
public AbstractStatisticsOperationJAI(javax.media.jai.OperationDescriptor operationDescriptor,
ImagingParameterDescriptors replacements)
- Constructor for
AbstractStatisticsOperationJAI
.
- 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.
AbstractStatisticsOperationJAI
public AbstractStatisticsOperationJAI(java.lang.String name)
- Constructor for
AbstractStatisticsOperationJAI
.
- Parameters:
name
- of the underlying JAI operation.
prepareParameters
protected javax.media.jai.ParameterBlockJAI prepareParameters(org.opengis.parameter.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-2010 Geotools. All Rights Reserved.