org.geotoolkit.coverage.processing.operation
Class NodataFilter
Object
AbstractOperation
Operation2D
OperationJAI
FilterOperation
NodataFilter
- All Implemented Interfaces:
- Serializable, Operation
@Immutable
public class NodataFilter
- extends FilterOperation
Replaces NaN values by the weighted average of neighbors values. This
operation uses a box of size×size pixels centered on each NaN
value, where size = 2×padding+1 (the padding is the number
of pixel above, below, to the left and to the right of central NaN pixel). The weighted
average is then computed, ignoring all NaN values. If the number of valid values is
greater than or equals to validityThreshold, then the center NaN is replaced by
the computed average. Otherwise, the NaN value is left unchanged.
Name: "NodataFilter"
JAI operator: none
Parameters:
| Name |
Class |
Default value |
Minimum value |
Maximum value |
"Source" |
GridCoverage2D |
N/A |
N/A |
N/A |
"padding" |
Integer |
1 |
0 |
N/A |
"validityThreshold" |
Integer |
4 |
0 |
N/A |
- Since:
- 2.2
- Version:
- 3.00
- Author:
- Martin Desruisseaux (IRD)
- See Also:
Operations.nodataFilter(GridCoverage,int,int),
Serialized Form
- Module:
|
Constructor Summary |
NodataFilter()
Constructs a default "NodataFilter" operation. |
| Methods inherited from class OperationJAI |
createRenderedImage, deriveCategory, deriveGridCoverage, deriveName, deriveRange, deriveUnit, doOperation, equals, getJAI, getOperationDescriptor, getProperties, getQuantitative, prepareParameters, resampleToCommonGeometry |
NodataFilter
public NodataFilter()
- Constructs a default
"NodataFilter" operation.
Copyright © 2009-2012 Geotoolkit.org. All Rights Reserved.