Class DefaultStatistics

java.lang.Object
org.gvsig.raster.lib.buffer.impl.statistics.DefaultStatistics
All Implemented Interfaces:
Iterable<org.gvsig.raster.lib.buffer.api.statistics.StatisticsBand>, org.gvsig.raster.lib.buffer.api.statistics.Statistics

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

    • DefaultStatistics

      public DefaultStatistics()
  • Method Details

    • getNumberOfValues

      public long[] getNumberOfValues()
      Specified by:
      getNumberOfValues in interface org.gvsig.raster.lib.buffer.api.statistics.Statistics
    • getMax

      public double[] getMax()
      Specified by:
      getMax in interface org.gvsig.raster.lib.buffer.api.statistics.Statistics
    • getSecondMax

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

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

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

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

      public double[] getMean()
      Specified by:
      getMean in interface org.gvsig.raster.lib.buffer.api.statistics.Statistics
    • getMedian

      public double[] getMedian()
      Specified by:
      getMedian in interface org.gvsig.raster.lib.buffer.api.statistics.Statistics
    • getMin

      public double[] getMin()
      Specified by:
      getMin in interface org.gvsig.raster.lib.buffer.api.statistics.Statistics
    • getVariance

      public double[] getVariance()
      Specified by:
      getVariance in interface org.gvsig.raster.lib.buffer.api.statistics.Statistics
    • getBandCount

      public int getBandCount()
      Specified by:
      getBandCount in interface org.gvsig.raster.lib.buffer.api.statistics.Statistics
    • isCalculated

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

      public void calculate(org.gvsig.tools.task.SimpleTaskStatus status, List<org.gvsig.raster.lib.buffer.api.Band> bands)
      Specified by:
      calculate in interface org.gvsig.raster.lib.buffer.api.statistics.Statistics
    • getVarianceCovarianceMatrix

      public double[][] getVarianceCovarianceMatrix()
      Specified by:
      getVarianceCovarianceMatrix in interface org.gvsig.raster.lib.buffer.api.statistics.Statistics
    • getHistogram

      public org.gvsig.raster.lib.buffer.api.statistics.HistogramBand[] getHistogram()
      Specified by:
      getHistogram in interface org.gvsig.raster.lib.buffer.api.statistics.Statistics
    • getTailTrimValue

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

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

      public Iterator<org.gvsig.raster.lib.buffer.api.statistics.StatisticsBand> iterator()
      Specified by:
      iterator in interface Iterable<org.gvsig.raster.lib.buffer.api.statistics.StatisticsBand>
    • toHTMLString

      public String toHTMLString()
      Specified by:
      toHTMLString in interface org.gvsig.raster.lib.buffer.api.statistics.Statistics