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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcalculate(org.gvsig.tools.task.SimpleTaskStatus status, List<org.gvsig.raster.lib.buffer.api.Band> bands) intorg.gvsig.raster.lib.buffer.api.statistics.HistogramBand[]double[]getMax()doubledouble[]getMean()double[]double[]getMin()doublelong[]double[]double[]double[][]getTailTrimValue(double percent) double[][]getTailTrimValue(int pos) double[]double[][]booleanIterator<org.gvsig.raster.lib.buffer.api.statistics.StatisticsBand> iterator()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
DefaultStatistics
public DefaultStatistics()
-
-
Method Details
-
getNumberOfValues
public long[] getNumberOfValues()- Specified by:
getNumberOfValuesin interfaceorg.gvsig.raster.lib.buffer.api.statistics.Statistics
-
getMax
public double[] getMax()- Specified by:
getMaxin interfaceorg.gvsig.raster.lib.buffer.api.statistics.Statistics
-
getSecondMax
public double[] getSecondMax()- Specified by:
getSecondMaxin interfaceorg.gvsig.raster.lib.buffer.api.statistics.Statistics
-
getSecondMin
public double[] getSecondMin()- Specified by:
getSecondMinin interfaceorg.gvsig.raster.lib.buffer.api.statistics.Statistics
-
getMaximum
public double getMaximum()- Specified by:
getMaximumin interfaceorg.gvsig.raster.lib.buffer.api.statistics.Statistics
-
getMinimum
public double getMinimum()- Specified by:
getMinimumin interfaceorg.gvsig.raster.lib.buffer.api.statistics.Statistics
-
getMean
public double[] getMean()- Specified by:
getMeanin interfaceorg.gvsig.raster.lib.buffer.api.statistics.Statistics
-
getMedian
public double[] getMedian()- Specified by:
getMedianin interfaceorg.gvsig.raster.lib.buffer.api.statistics.Statistics
-
getMin
public double[] getMin()- Specified by:
getMinin interfaceorg.gvsig.raster.lib.buffer.api.statistics.Statistics
-
getVariance
public double[] getVariance()- Specified by:
getVariancein interfaceorg.gvsig.raster.lib.buffer.api.statistics.Statistics
-
getBandCount
public int getBandCount()- Specified by:
getBandCountin interfaceorg.gvsig.raster.lib.buffer.api.statistics.Statistics
-
isCalculated
public boolean isCalculated()- Specified by:
isCalculatedin interfaceorg.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:
calculatein interfaceorg.gvsig.raster.lib.buffer.api.statistics.Statistics
-
getVarianceCovarianceMatrix
public double[][] getVarianceCovarianceMatrix()- Specified by:
getVarianceCovarianceMatrixin interfaceorg.gvsig.raster.lib.buffer.api.statistics.Statistics
-
getHistogram
public org.gvsig.raster.lib.buffer.api.statistics.HistogramBand[] getHistogram()- Specified by:
getHistogramin interfaceorg.gvsig.raster.lib.buffer.api.statistics.Statistics
-
getTailTrimValue
public double[][] getTailTrimValue(double percent) - Specified by:
getTailTrimValuein interfaceorg.gvsig.raster.lib.buffer.api.statistics.Statistics
-
getTailTrimValue
public double[][] getTailTrimValue(int pos) - Specified by:
getTailTrimValuein interfaceorg.gvsig.raster.lib.buffer.api.statistics.Statistics
-
iterator
-
toHTMLString
- Specified by:
toHTMLStringin interfaceorg.gvsig.raster.lib.buffer.api.statistics.Statistics
-