|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
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) float[] |
average
Average of each component. |
(package private) float[] |
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) float[][] |
minMax
Array where min (minMax[component][0]) and max (minMax[component][1]) values of each component will be stored. |
(package private) float |
totalAverage
Average of whole image. |
(package private) float |
totalCenterRange
Center of range of whole image. |
(package private) float[] |
totalMinMax
Global min (minMax[0]) and max (minMax[1]) values of the image. |
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 | |
---|---|
float[] |
getAverage()
|
float[] |
getCenterRange()
|
int[][] |
getcountedValues()
|
float[][] |
getMinMax()
|
float |
getTotalAverage()
|
float |
getTotalCenterRange()
|
float[] |
getTotalMinMax()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
float[][] minMax
All values allowed.
float[] totalMinMax
All values allowed.
float[] average
All values allowed.
float totalAverage
All values allowed.
float[] centerRange
All values allowed.
float totalCenterRange
All values allowed.
int[][] countedValues
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 float[][] getMinMax()
public float[] getTotalMinMax()
public float[] getAverage()
public float getTotalAverage()
public float[] getCenterRange()
public float getTotalCenterRange()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |