org.geotools.coverage.processing.operation
Class NodataFilter

java.lang.Object
  extended byorg.geotools.coverage.processing.AbstractOperation
      extended byorg.geotools.coverage.processing.Operation2D
          extended byorg.geotools.coverage.processing.OperationJAI
              extended byorg.geotools.coverage.processing.FilterOperation
                  extended byorg.geotools.coverage.processing.operation.NodataFilter
All Implemented Interfaces:
org.opengis.coverage.processing.Operation, java.io.Serializable

public class NodataFilter
extends FilterOperation

Replaces NaN values by the weighted average of neighbors values. This operation uses a box of × pixels centered on each value, where = 2×+1 (the padding is the number of pixel above, below, to the left and to the right of central pixel). The weighted average is then computed, ignoring all values. If the number of valid values is greater than or equals to , then the center is replaced by the computed average. Otherwise, the value is left unchanged.

Name: "NodataFilter"
JAI operator: none
Parameters:

Name Class Default value Minimum value Maximum value
GridCoverage2D N/A N/A N/A
Integer 1 0 N/A
Integer 4 0 N/A

Since:
2.2
Version:
$Id: NodataFilter.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux
See Also:
Operations.nodataFilter(GridCoverage,int,int), Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.geotools.coverage.processing.OperationJAI
OperationJAI.Parameters
 
Field Summary
 
Fields inherited from class org.geotools.coverage.processing.OperationJAI
operation
 
Fields inherited from class org.geotools.coverage.processing.Operation2D
SOURCE_0
 
Fields inherited from class org.geotools.coverage.processing.AbstractOperation
descriptor
 
Constructor Summary
NodataFilter()
          Constructs a default operation.
 
Methods inherited from class org.geotools.coverage.processing.FilterOperation
deriveSampleDimension
 
Methods inherited from class org.geotools.coverage.processing.OperationJAI
computeOnGeophysicsValues, createRenderedImage, deriveCategory, deriveGridCoverage, deriveName, deriveRange, deriveUnit, doOperation, equals, getJAI, resampleToCommonGeometry
 
Methods inherited from class org.geotools.coverage.processing.Operation2D
getFactory, getGridCoverageProcessor
 
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
 

Constructor Detail

NodataFilter

public NodataFilter()
Constructs a default operation.



Copyright © GeoTools. All Rights Reserved.