#include <se_stat.hh>
Collaboration diagram for oln::utils::se_stat< Sum, Var >:

Public Types | |
| typedef Sum | sum_type |
| type of used to sum values (usually floating point values) | |
| typedef Var | variance_type |
| type of the variance (usually floating point values) | |
Public Member Functions | |
| template<class I, class S> | se_stat (const oln::abstract::image< I > &im, const typename mlc::exact< I >::ret::point_type &p, const oln::abstract::struct_elt< S > &s) |
| template<class I, class S> se_stat & | compute (const oln::abstract::image< I > &im, const typename mlc::exact< I >::ret::point_type &p, const oln::abstract::struct_elt< S > &s) |
| Compute the mean and the variance. | |
| Sum | mean () const |
| Mean. | |
| Var | variance () const |
| Variance. | |
| Sum | sum () const |
| Sum. | |
| unsigned | card () const |
| Cardinal of the structuring element. | |
Protected Attributes | |
| Var | variance_ |
| Variance. | |
| Sum | mean_ |
| Mean. | |
| Sum | sum_ |
| Sum. | |
| int | card_ |
| Card of the input structuring element. | |
| Sum | type used to compute the sum and the average. |
| Var | type used to compute the variance. |
Definition at line 103 of file se_stat.hh.
|
||||||||||||||||||||||||
|
Build a se stat.
Definition at line 117 of file se_stat.hh. References oln::utils::se_stat< Sum, Var >::compute().
00120 {
00121 compute(im, p, s);
00122 }
|
1.3.6-20040222