Package | Description |
---|---|
org.esa.snap.core.util.math |
Provides utility classes for mathematical operations.
|
Modifier and Type | Class and Description |
---|---|
class |
Histogram
Instances of the
Histogram class store histogram data. |
Modifier and Type | Method and Description |
---|---|
static Range |
Range.computeRangeByte(byte[] values,
IndexValidator validator,
Range range,
ProgressMonitor pm)
Computes the value range for the values in the given
byte array. |
static Range |
Range.computeRangeDouble(double[] values,
IndexValidator validator,
Range range,
ProgressMonitor pm)
Computes the value range for the values in the given
double array. |
static Range |
Range.computeRangeDouble(DoubleList values,
IndexValidator validator,
Range range,
ProgressMonitor pm)
Computes the value range for the values in the given
Range.DoubleList . |
static Range |
Range.computeRangeFloat(float[] values,
IndexValidator validator,
Range range,
ProgressMonitor pm)
Computes the value range for the values in the given
float array. |
static Range |
Range.computeRangeGeneric(Object values,
boolean unsigned,
IndexValidator validator,
Range range,
ProgressMonitor pm)
Computes the value range for the values in the given
Object . |
static Range |
Range.computeRangeInt(int[] values,
IndexValidator validator,
Range range,
ProgressMonitor pm)
Computes the value range for the values in the given
int array. |
static Range |
Range.computeRangeShort(short[] values,
IndexValidator validator,
Range range,
ProgressMonitor pm)
Computes the value range for the values in the given
short array. |
static Range |
Range.computeRangeUByte(byte[] values,
IndexValidator validator,
Range range,
ProgressMonitor pm)
Computes the value range for the values in the given
byte array. |
static Range |
Range.computeRangeUInt(int[] values,
IndexValidator validator,
Range range,
ProgressMonitor pm)
Computes the value range for the values in the given
int array. |
static Range |
Range.computeRangeUShort(short[] values,
IndexValidator validator,
Range range,
ProgressMonitor pm)
Computes the value range for the values in the given
short array. |
Range |
Histogram.findRange(double leftHistoAreaSkipped,
double rightHistoAreaSkipped)
Returns the value range for the case that the given ratios of the sum of all bin values are skipped from the
lower and upper bounds of this histogram.
|
Range |
Histogram.findRange(double leftHistoAreaSkipped,
double rightHistoAreaSkipped,
boolean skipLeftPeek,
boolean skipRightPeek) |
Range |
Histogram.findRangeFor95Percent()
Returns the value range for the case that 2.5% of the sum of all bin values are skipped from the the lower and
upper bounds of this histogram.
|
Range |
Histogram.getRange(int binIndex)
Gets the data value range for the given bin index.
|
Range |
Histogram.getRange(int binIndex1,
int binIndex2)
Gets the data value range for the given bin index range.
|
Modifier and Type | Method and Description |
---|---|
static Histogram |
Histogram.computeHistogram(RenderedImage image,
javax.media.jai.ROI roi,
int numBins,
Range range) |
static Histogram |
Histogram.computeHistogramByte(byte[] values,
IndexValidator validator,
int numBins,
Range range,
Histogram histo,
ProgressMonitor pm)
Computes the histogram for the values in the given
byte array in the given value range. |
static Histogram |
Histogram.computeHistogramDouble(double[] values,
IndexValidator validator,
int numBins,
Range range,
Histogram histogram,
ProgressMonitor pm)
Computes the histogram for the values in the given
double array in the given value range. |
static Histogram |
Histogram.computeHistogramDouble(DoubleList values,
IndexValidator validator,
int numBins,
Range range,
Histogram histo,
ProgressMonitor pm)
Computes the histogram for the values in the given
Histogram.DoubleList in the given value range. |
static Histogram |
Histogram.computeHistogramFloat(float[] values,
IndexValidator validator,
int numBins,
Range range,
Histogram histogram,
ProgressMonitor pm)
Computes the histogram for the values in the given
float array in the given value range. |
static Histogram |
Histogram.computeHistogramGeneric(Object values,
boolean unsigned,
IndexValidator validator,
int numBins,
Range range,
Histogram histogram,
ProgressMonitor pm)
Computes the histogram for the values in the given
Histogram.DoubleList in the given value range. |
static Histogram |
Histogram.computeHistogramInt(int[] values,
IndexValidator validator,
int numBins,
Range range,
Histogram histogram,
ProgressMonitor pm)
Computes the histogram for the values in the given
int array in the given value range. |
static Histogram |
Histogram.computeHistogramShort(short[] values,
IndexValidator validator,
int numBins,
Range range,
Histogram histo,
ProgressMonitor pm)
Computes the histogram for the values in the given
short array in the given value range. |
static Histogram |
Histogram.computeHistogramUByte(byte[] values,
IndexValidator validator,
int numBins,
Range range,
Histogram histo,
ProgressMonitor pm)
Computes the histogram for the values in the given
byte array in the given value range. |
static Histogram |
Histogram.computeHistogramUInt(int[] values,
IndexValidator validator,
int numBins,
Range range,
Histogram histogram,
ProgressMonitor pm)
Computes the histogram for the values in the given
int array in the given value range. |
static Histogram |
Histogram.computeHistogramUShort(short[] values,
IndexValidator validator,
int numBins,
Range range,
Histogram histo,
ProgressMonitor pm)
Computes the histogram for the values in the given
short array in the given value range. |
static Range |
Range.computeRangeByte(byte[] values,
IndexValidator validator,
Range range,
ProgressMonitor pm)
Computes the value range for the values in the given
byte array. |
static Range |
Range.computeRangeDouble(double[] values,
IndexValidator validator,
Range range,
ProgressMonitor pm)
Computes the value range for the values in the given
double array. |
static Range |
Range.computeRangeDouble(DoubleList values,
IndexValidator validator,
Range range,
ProgressMonitor pm)
Computes the value range for the values in the given
Range.DoubleList . |
static Range |
Range.computeRangeFloat(float[] values,
IndexValidator validator,
Range range,
ProgressMonitor pm)
Computes the value range for the values in the given
float array. |
static Range |
Range.computeRangeGeneric(Object values,
boolean unsigned,
IndexValidator validator,
Range range,
ProgressMonitor pm)
Computes the value range for the values in the given
Object . |
static Range |
Range.computeRangeInt(int[] values,
IndexValidator validator,
Range range,
ProgressMonitor pm)
Computes the value range for the values in the given
int array. |
static Range |
Range.computeRangeShort(short[] values,
IndexValidator validator,
Range range,
ProgressMonitor pm)
Computes the value range for the values in the given
short array. |
static Range |
Range.computeRangeUByte(byte[] values,
IndexValidator validator,
Range range,
ProgressMonitor pm)
Computes the value range for the values in the given
byte array. |
static Range |
Range.computeRangeUInt(int[] values,
IndexValidator validator,
Range range,
ProgressMonitor pm)
Computes the value range for the values in the given
int array. |
static Range |
Range.computeRangeUShort(short[] values,
IndexValidator validator,
Range range,
ProgressMonitor pm)
Computes the value range for the values in the given
short array. |
Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.