imaging::StatisticalRegularization< shape_t > Class Template Reference
[Segmentation Module]

Statistical regularization functional based on an arbitrary shape segmentation functional. More...

#include <StatisticalRegularization.hpp>

Inheritance diagram for imaging::StatisticalRegularization< shape_t >:

imaging::ShapeEnergyInterface< shape_t > imaging::EnergyInterface

List of all members.

Public Member Functions

 StatisticalRegularization (ShapeEnergyInterface< shape_t > &energy, ShapeStatistics< shape_t > &statistics, float_t alpha)
ublas::vector< float_t > & current_argument ()
void set_argument ()
float_t current_energy () const
std::size_t dimension () const
const shape_t & current_shape () const


Detailed Description

template<class shape_t>
class imaging::StatisticalRegularization< shape_t >

Statistical regularization functional based on an arbitrary shape segmentation functional.

This class implements the following functional:

The Snakes functional reads as follows:

\[ I_\alpha(p) = F(p) + \alpha d_{\mu, \Sigma}(\mu, p)^2 \,. \]

Upon construction a StatisticalRegularization object is initialized by


Constructor & Destructor Documentation

template<class shape_t>
imaging::StatisticalRegularization< shape_t >::StatisticalRegularization ( ShapeEnergyInterface< shape_t > &  energy,
ShapeStatistics< shape_t > &  statistics,
float_t  alpha 
) [inline]

Constructs a SnakesEnergy object. The arguments are explained in the class description.

References imaging::StatisticalRegularization< shape_t >::set_argument().


Member Function Documentation

template<class shape_t>
ublas::vector<float_t>& imaging::StatisticalRegularization< shape_t >::current_argument (  )  [inline, virtual]

Access the current argument of the energy. In general the user should not resize the current argument!

Implements imaging::EnergyInterface.

template<class shape_t>
void imaging::StatisticalRegularization< shape_t >::set_argument (  )  [inline, virtual]

Compute the energy value corresponding to the current argument. This is where the main work of the energy evaluation should be done.

Implements imaging::EnergyInterface.

Referenced by imaging::StatisticalRegularization< shape_t >::StatisticalRegularization().

template<class shape_t>
float_t imaging::StatisticalRegularization< shape_t >::current_energy (  )  const [inline, virtual]

Returns the current energy. This function should not actually compute the current energy but return the cached result of the last call to set_argument()!

Implements imaging::EnergyInterface.

template<class shape_t>
std::size_t imaging::StatisticalRegularization< shape_t >::dimension (  )  const [inline, virtual]

Returns the dimension the class expects as input data. The function current_argument() will return a vector of this dimension and the user should not change the size of this vector!

Implements imaging::EnergyInterface.

template<class shape_t>
const shape_t& imaging::StatisticalRegularization< shape_t >::current_shape (  )  const [inline, virtual]

Returns the current shape. This function should not actually compute the current shape but return the cached result of the last call to set_argument()!

Implements imaging::ShapeEnergyInterface< shape_t >.


The documentation for this class was generated from the following file:

Generated on Tue Feb 10 10:01:31 2009 for imaging2 by  doxygen 1.5.5