GiciAnalysis
Class ImageStatistical

java.lang.Object
  extended by GiciAnalysis.ImageStatistical

public class ImageStatistical
extends java.lang.Object

This class receives an image and calculates some statistical information about the image.

Version:
1.0
Author:
Group on Interactive Coding of Images (GICI)

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

minMax

double[][] minMax
Array where min (minMax[component][0]) and max (minMax[component][1]) values of each component will be stored.

All values allowed.


totalMinMax

double[] totalMinMax
Global min (minMax[0]) and max (minMax[1]) values of the image.

All values allowed.


average

double[] average
Average of each component.

All values allowed.


totalAverage

double totalAverage
Average of whole image.

All values allowed.


centerRange

double[] centerRange
Center of range for each image component.

All values allowed.


totalCenterRange

double totalCenterRange
Center of range of whole image.

All values allowed.


countedValues

int[][] countedValues
Array where are stored the how many times is appeared all values in Byte image.

All values allowed-


energy

double[] energy
Energy of each component.

All values allowed.


totalEnergy

double totalEnergy
Energy of whole image.

All values allowed.


variance

double[] variance
Variance of each component.

All values allowed.


totalVariance

double totalVariance
Varianze of whole image.

All values allowed.

Constructor Detail

ImageStatistical

public ImageStatistical(float[][][] imageSamples)
Constructor that does all the operations to calculate min and max, average and center range of the image.

Parameters:
imageSamples - a 3D float array that contains image samples

ImageStatistical

public ImageStatistical(int[][][] imageSamples)
Constructor that does all the operations to calculate min and max, average and center range of the image.

Parameters:
imageSamples - a 3D float array that contains image samples
Method Detail

getcountedValues

public int[][] getcountedValues()
Returns:
countedValues definition in this class

getMinMax

public double[][] getMinMax()
Returns:
minMax definition in this class

getTotalMinMax

public double[] getTotalMinMax()
Returns:
totalMinMax definition in this class

getAverage

public double[] getAverage()
Returns:
average definition in this class

getTotalAverage

public double getTotalAverage()
Returns:
totalAverage definition in this class

getCenterRange

public double[] getCenterRange()
Returns:
centerRange definition in this class

getTotalCenterRange

public double getTotalCenterRange()
Returns:
totalCenterRange definition in this class

getEnergy

public double[] getEnergy()
Returns:
Energy definition in this class

getTotalEnergy

public double getTotalEnergy()
Returns:
totalEnergy definition in this class

getVariance

public double[] getVariance()
Returns:
Variance definition in this class

getTotalVariance

public double getTotalVariance()
Returns:
totalVariance definition in this class


TER - Copyright (C) 2006
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Group on Interactive Coding of Images (GICI) - UAB (Spain)