public abstract class BaseStatisticsOperationJAI extends OperationJAI
JAI's StatisticsOpImage like Extrema and Histogram. It provides basic capabilities for management of
geospatial parameters like ROIs and subsampling factors.OperationJAI.Parameters| Modifier and Type | Field and Description |
|---|---|
static Logger |
LOGGER
Logger for this class. |
static ParameterDescriptor<Polygon> |
ROI
The parameter descriptor for the Region Of Interest.
|
static ParameterDescriptor<Double> |
SPATIAL_SUBSAMPLING_X
The parameter descriptor for the SPATIAL_SUBSAMPLING_X
|
static ParameterDescriptor<Double> |
SPATIAL_SUBSAMPLING_Y
The parameter descriptor for the SPATIAL_SUBSAMPLING_Y
|
operation, RENDERED_MODEPRIMARY_SOURCE_INDEX, SOURCE_0descriptor| Constructor and Description |
|---|
BaseStatisticsOperationJAI(OperationDescriptor operationDescriptor)
Constructor for
BaseStatisticsOperationJAI. |
BaseStatisticsOperationJAI(OperationDescriptor operationDescriptor,
ImagingParameterDescriptors replacements)
Constructor for
BaseStatisticsOperationJAI. |
BaseStatisticsOperationJAI(String name)
Constructor for
BaseStatisticsOperationJAI. |
BaseStatisticsOperationJAI(String name,
OperationDescriptor operationDescriptor)
Constructor for
BaseStatisticsOperationJAI. |
| Modifier and Type | Method and Description |
|---|---|
protected static Polygon |
convertPolygon(Polygon roiInput,
MathTransform worldToGridTransform)
Converte a JTS
Polygon, which represents a ROI, into an AWT Polygon
by means of the provided MathTransform. |
protected ParameterBlockJAI |
prepareParameters(ParameterValueGroup parameters)
Copies parameter values from the specified
ParameterValueGroup to the ParameterBlockJAI |
createRenderedImage, deriveCategory, deriveGridCoverage, deriveName, deriveRange, deriveSampleDimension, deriveUnit, doOperation, equals, extractSources, getJAI, getOperationDescriptor, getProperties, getQuantitative, handleJAIEXTParams, handleROINoDataInternal, handleROINoDataProperties, hashCode, resampleToCommonGeometryextractSources, getFactorygetDescription, getDocURL, getName, getNumSources, getParameters, getVendor, getVersion, toStringpublic static final ParameterDescriptor<Double> SPATIAL_SUBSAMPLING_X
public static final ParameterDescriptor<Double> SPATIAL_SUBSAMPLING_Y
public static final ParameterDescriptor<Polygon> ROI
public BaseStatisticsOperationJAI(OperationDescriptor operationDescriptor)
BaseStatisticsOperationJAI.operationDescriptor - OperationDescriptor for the underlying JAI operation.public BaseStatisticsOperationJAI(OperationDescriptor operationDescriptor,
ImagingParameterDescriptors replacements)
BaseStatisticsOperationJAI.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.public BaseStatisticsOperationJAI(String name, OperationDescriptor operationDescriptor)
BaseStatisticsOperationJAI.name - of the underlying JAI operation.public BaseStatisticsOperationJAI(String name)
BaseStatisticsOperationJAI.name - of the underlying JAI operation.protected ParameterBlockJAI prepareParameters(ParameterValueGroup parameters)
ParameterValueGroup to the ParameterBlockJAIprepareParameters in class OperationJAIparameters - The ParameterValueGroup to be copied.ParameterValueGroup as a JAI block.OperationJAI.prepareParameters(org.opengis.parameter.ParameterValueGroup)protected static Polygon convertPolygon(Polygon roiInput, MathTransform worldToGridTransform) throws TransformException
Polygon, which represents a ROI, into an AWT Polygon
by means of the provided MathTransform.roiInput - the input ROI as a JTS Polygon.worldToGridTransform - the MathTransform to apply to the input ROI.Polygon.TransformException - in case the provided MathTransform chokes.Copyright © 1996–2019 Geotools. All rights reserved.