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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcalculate(org.gvsig.tools.task.SimpleTaskStatus status, org.gvsig.raster.lib.buffer.api.Band band) longintorg.gvsig.raster.lib.buffer.api.statistics.HistogramBanddoubledoublegetMean()doubledoublelongdoubledoubledouble[]getTailTrimValue(double percent) double[]getTailTrimValue(int pos) doubleboolean
-
Constructor Details
-
DefaultStatisticsBand
public DefaultStatisticsBand(org.gvsig.raster.lib.buffer.api.Band band) - Parameters:
band-
-
-
Method Details
-
isCalculated
public boolean isCalculated()- Specified by:
isCalculatedin interfaceorg.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:
calculatein interfaceorg.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
-
getDataType
public int getDataType()- Specified by:
getDataTypein interfaceorg.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
-
getBandLength
public long getBandLength()- Specified by:
getBandLengthin interfaceorg.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
-
getSecondMax
public double getSecondMax()- Specified by:
getSecondMaxin interfaceorg.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
-
getSecondMin
public double getSecondMin()- Specified by:
getSecondMinin interfaceorg.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
-
getMaximum
public double getMaximum()- Specified by:
getMaximumin interfaceorg.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
-
getMinimum
public double getMinimum()- Specified by:
getMinimumin interfaceorg.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
-
getMean
public double getMean()- Specified by:
getMeanin interfaceorg.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
-
getVariance
public double getVariance()- Specified by:
getVariancein interfaceorg.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
-
getTailTrimValue
public double[] getTailTrimValue(double percent) - Specified by:
getTailTrimValuein interfaceorg.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
-
getTailTrimValue
public double[] getTailTrimValue(int pos) - Specified by:
getTailTrimValuein interfaceorg.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
-
getHistogramBand
public org.gvsig.raster.lib.buffer.api.statistics.HistogramBand getHistogramBand()- Specified by:
getHistogramBandin interfaceorg.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
-
getMedian
public double getMedian()- Specified by:
getMedianin interfaceorg.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
-
getNoDataValuesCount
public long getNoDataValuesCount()- Specified by:
getNoDataValuesCountin interfaceorg.gvsig.raster.lib.buffer.api.statistics.StatisticsBand
-