public class ImageHistogram
extends java.lang.Object
| Constructor and Description |
|---|
ImageHistogram(int[] values)
Initializes a new instance of the Histogram class.
|
| Modifier and Type | Method and Description |
|---|---|
static double[] |
CDF(ImageHistogram hist) |
static double[] |
CDF(int[] values) |
double |
getEntropy()
Get entropy value.
|
double |
getKurtosis()
Get kurtosis value.
|
int |
getMax()
Get maximum value.
|
double |
getMean()
Get mean value.
|
int |
getMedian()
Get median value.
|
int |
getMin()
Get minimum value.
|
int |
getMode()
Get mode value.
|
double |
getSkewness()
Get skewness value.
|
double |
getStdDev()
Get standart deviation value.
|
long |
getTotal()
Get the sum of pixels.
|
int[] |
getValues()
Get values of the histogram.
|
static int[] |
MatchHistograms(ImageHistogram histA,
ImageHistogram histB) |
static int[] |
MatchHistograms(int[] histA,
int[] histB) |
double[] |
Normalize()
Normalize histogram.
|
static double[] |
Normalize(int[] values)
Normalize histogram.
|
public ImageHistogram(int[] values)
values - Values.public static int[] MatchHistograms(int[] histA,
int[] histB)
public static int[] MatchHistograms(ImageHistogram histA, ImageHistogram histB)
public static double[] CDF(int[] values)
public static double[] CDF(ImageHistogram hist)
public static double[] Normalize(int[] values)
values - Values.public int[] getValues()
public double getMean()
public double getStdDev()
public double getEntropy()
public double getKurtosis()
public double getSkewness()
public int getMedian()
public int getMode()
public int getMin()
public int getMax()
public long getTotal()
public double[] Normalize()