org.esa.beam.framework.datamodel
Class GeneralFilterBand.Median

java.lang.Object
  extended by org.esa.beam.framework.datamodel.GeneralFilterBand.Median
All Implemented Interfaces:
GeneralFilterBand.Operator
Enclosing class:
GeneralFilterBand

public static class GeneralFilterBand.Median
extends Object
implements GeneralFilterBand.Operator


Constructor Summary
GeneralFilterBand.Median()
           
 
Method Summary
 double evaluate(double[] values, int n)
          Performs the operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneralFilterBand.Median

public GeneralFilterBand.Median()
Method Detail

evaluate

public final double evaluate(double[] values,
                             int n)
Description copied from interface: GeneralFilterBand.Operator
Performs the operation.

Specified by:
evaluate in interface GeneralFilterBand.Operator
Parameters:
values - an array of pixel values extracted from a raster sub-window
n - the number of values in the array
Returns:
the result of the operation


Copyright © 2002-2013 Brockmann Consult GmbH. All Rights Reserved.