|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectGiciAnalysis.ImageStatistical
public class ImageStatistical
This class receives an image and calculates some statistical information about the image.
Field Summary | |
---|---|
(package private) double[] |
average
Average of each component. |
(package private) double[] |
centerRange
Center of range for each image component. |
(package private) int[][] |
countedValues
Array where are stored the how many times is appeared all values in Byte image. |
(package private) double[] |
energy
Energy of each component. |
(package private) double[][] |
minMax
Array where min (minMax[component][0]) and max (minMax[component][1]) values of each component will be stored. |
(package private) double |
totalAverage
Average of whole image. |
(package private) double |
totalCenterRange
Center of range of whole image. |
(package private) double |
totalEnergy
Energy of whole image. |
(package private) double[] |
totalMinMax
Global min (minMax[0]) and max (minMax[1]) values of the image. |
(package private) double |
totalVariance
Varianze of whole image. |
(package private) double[] |
variance
Variance of each component. |
Constructor Summary | |
---|---|
ImageStatistical(float[][][] imageSamples)
Constructor that does all the operations to calculate min and max, average and center range of the image. |
|
ImageStatistical(int[][][] imageSamples)
Constructor that does all the operations to calculate min and max, average and center range of the image. |
Method Summary | |
---|---|
double[] |
getAverage()
|
double[] |
getCenterRange()
|
int[][] |
getcountedValues()
|
double[] |
getEnergy()
|
double[][] |
getMinMax()
|
double |
getTotalAverage()
|
double |
getTotalCenterRange()
|
double |
getTotalEnergy()
|
double[] |
getTotalMinMax()
|
double |
getTotalVariance()
|
double[] |
getVariance()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
double[][] minMax
All values allowed.
double[] totalMinMax
All values allowed.
double[] average
All values allowed.
double totalAverage
All values allowed.
double[] centerRange
All values allowed.
double totalCenterRange
All values allowed.
int[][] countedValues
All values allowed-
double[] energy
All values allowed.
double totalEnergy
All values allowed.
double[] variance
All values allowed.
double totalVariance
All values allowed.
Constructor Detail |
---|
public ImageStatistical(float[][][] imageSamples)
imageSamples
- a 3D float array that contains image samplespublic ImageStatistical(int[][][] imageSamples)
imageSamples
- a 3D float array that contains image samplesMethod Detail |
---|
public int[][] getcountedValues()
public double[][] getMinMax()
public double[] getTotalMinMax()
public double[] getAverage()
public double getTotalAverage()
public double[] getCenterRange()
public double getTotalCenterRange()
public double[] getEnergy()
public double getTotalEnergy()
public double[] getVariance()
public double getTotalVariance()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |