Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   Related Pages   Examples  

Image statistics


Functions

min ()
max ()
float avg ()
float dev ()

Detailed Description

This group contains methods for computing the minimum, the maximum, the average, and the standard deviation of the gray level distribution in an image.

Function Documentation

template<class T>
float Image< T >::avg ( )
 

Returns the average value of the gray levels in the current image.

Examples:
test_fft.cpp, test_fft2.cpp, and test_image.cpp.

Definition at line 125 of file Image.cpp.

Referenced by Image::dev().

template<class T>
float Image< T >::dev ( )
 

Returns the standard deviation of the gray level distribution in the current image.

Examples:
test_fft.cpp, test_fft2.cpp, and test_image.cpp.

Definition at line 134 of file Image.cpp.

template<class T>
T Image< T >::max ( )
 

Returns the maximum gray level in the current image.

Examples:
test_conn_comp.cpp, test_contrast.cpp, test_fft.cpp, test_fft2.cpp, and test_image.cpp.

Definition at line 116 of file Image.cpp.

Referenced by Contrast(), Histogram::Histogram(), HitOrMiss(), and TemplateMatch().

template<class T>
T Image< T >::min ( )
 

Returns the minimum gray level in the current image.

Examples:
test_conn_comp.cpp, test_contrast.cpp, test_fft.cpp, test_fft2.cpp, and test_image.cpp.

Definition at line 107 of file Image.cpp.

Referenced by Contrast(), and Histogram::Histogram().