@Deprecated
public class HistogramData
extends java.lang.Object
| Constructor and Description | 
|---|
HistogramData(int[] histogram,
             int numSamples,
             int minVal,
             int maxVal,
             int minIgnoringOutliers,
             int maxIgnoringOutliers,
             int mean,
             double stdDev,
             int bitDepth,
             int binSize)
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getBinSize()
Deprecated.  
Retrieve the number of distinct intensities that fit within each bin
 of the histogram. 
 | 
int | 
getBitDepth()
Deprecated.  
Retrieve the bit depth of the dataset. 
 | 
int[] | 
getHistogram()
Deprecated.  
Retrieve the histogram, an array of ints counting the number of samples
 whose intensities fall into each bin. 
 | 
int | 
getMaxIgnoringOutliers()
Deprecated.  
Retrieve the intensity of the brightest sample in the dataset once a
 fraction of all pixels have been discarded. 
 | 
int | 
getMaxVal()
Deprecated.  
Retrieve the intensity of the brightest sample in the dataset used to
 generate the histogram. 
 | 
int | 
getMean()
Deprecated.  
Retrieve the mean value of all samples in the dataset. 
 | 
int | 
getMinIgnoringOutliers()
Deprecated.  
Retrieve the intensity of the dimmest sample in the dataset once a
 fraction of all pixels have been discarded. 
 | 
int | 
getMinVal()
Deprecated.  
Retrieve the intensity of the dimmest sample in the dataset used to
 generate the histogram. 
 | 
int | 
getNumSamples()
Deprecated.  
Retrieve the number of samples used to construct the histogram. 
 | 
double | 
getStdDev()
Deprecated.  
Retrieve the standard deviation of all samples in the dataset, or -1
 if standard deviation calculation was disabled or if a calculation error
 occurred while calculating the standard deviation. 
 | 
java.lang.String | 
toString()
Deprecated.  
  | 
public HistogramData(int[] histogram,
                     int numSamples,
                     int minVal,
                     int maxVal,
                     int minIgnoringOutliers,
                     int maxIgnoringOutliers,
                     int mean,
                     double stdDev,
                     int bitDepth,
                     int binSize)
histogram - An array of integers indicating how many pixels had
        intensities falling into the "bin" at the given index. The first
        bin always starts from an intensity of 0; the last bin ends with
        an intensity depending on the bitDepth parameter.numSamples - The number of pixels used to generate the histogram;
        should be equal to the sum of all values in the histogram.minVal - The lowest intensity found when generating the histogram.maxVal - The brightest intensity found when generating the
        histogram.minIgnoringOutliers - The lowest intensity when a fraction of the
        lowest samples are ignored. See the extremaPercentage parameter
        of DisplayManager.calculateHistogram().maxIgnoringOutliers - The highest intensity when a fraction of the
        lowest samples are ignored. See the extremaPercentage parameter
        of DisplayManager.calculateHistogram().mean - The average intensity of all samples.stdDev - The standard deviation of all samples, or -1 if this value
        was not calculated.bitDepth - The dynamic range of the histogram. The histogram will
        cover values from 0 to (2^bitDepth - 1), inclusive.binSize - How many distinct intensities are combined into a single
        bin in the histogram. For example, if the bit depth is 10 and
        there are 2^8 bins, then there are (2^10 / 2^8 = 4) intensities
        per bin.java.lang.ArrayIndexOutOfBoundsException - if histogram is shorter than correct sizejava.lang.NullPointerException - if histogram is nullpublic int[] getHistogram()
public int getMinVal()
public int getMaxVal()
public int getMinIgnoringOutliers()
public int getMaxIgnoringOutliers()
public int getMean()
public double getStdDev()
public int getBitDepth()
public int getBinSize()
public int getNumSamples()
public java.lang.String toString()
toString in class java.lang.Object