Class DefaultStatisticsBand

java.lang.Object
org.gvsig.raster.lib.buffer.impl.statistics.DefaultStatisticsBand
All Implemented Interfaces:
org.gvsig.raster.lib.buffer.api.statistics.StatisticsBand

public class DefaultStatisticsBand extends Object implements org.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
Author:
fdiaz
  • Constructor Details

    • DefaultStatisticsBand

      public DefaultStatisticsBand(org.gvsig.raster.lib.buffer.api.Band band)
      Parameters:
      band -
  • Method Details

    • isCalculated

      public boolean isCalculated()
      Specified by:
      isCalculated in interface org.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
    • calculate

      public void calculate(org.gvsig.tools.task.SimpleTaskStatus status, org.gvsig.raster.lib.buffer.api.Band band)
      Specified by:
      calculate in interface org.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
    • getDataType

      public int getDataType()
      Specified by:
      getDataType in interface org.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
    • getBandLength

      public long getBandLength()
      Specified by:
      getBandLength in interface org.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
    • getSecondMax

      public double getSecondMax()
      Specified by:
      getSecondMax in interface org.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
    • getSecondMin

      public double getSecondMin()
      Specified by:
      getSecondMin in interface org.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
    • getMaximum

      public double getMaximum()
      Specified by:
      getMaximum in interface org.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
    • getMinimum

      public double getMinimum()
      Specified by:
      getMinimum in interface org.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
    • getMean

      public double getMean()
      Specified by:
      getMean in interface org.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
    • getVariance

      public double getVariance()
      Specified by:
      getVariance in interface org.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
    • getTailTrimValue

      public double[] getTailTrimValue(double percent)
      Specified by:
      getTailTrimValue in interface org.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
    • getTailTrimValue

      public double[] getTailTrimValue(int pos)
      Specified by:
      getTailTrimValue in interface org.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
    • getHistogramBand

      public org.gvsig.raster.lib.buffer.api.statistics.HistogramBand getHistogramBand()
      Specified by:
      getHistogramBand in interface org.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
    • getMedian

      public double getMedian()
      Specified by:
      getMedian in interface org.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
    • getNoDataValuesCount

      public long getNoDataValuesCount()
      Specified by:
      getNoDataValuesCount in interface org.gvsig.raster.lib.buffer.api.statistics.StatisticsBand