Jerome Piovano

Research in Medical Imaging and Computer Vision

RegularizationModule Class Template Reference

SegmentationModule specialization used as a term of regularization to move the LevelSet. More...

#include <RegularizationModule.h>

Inheritance diagram for RegularizationModule:

SegmentationModule List of all members.

Public Types

typedef SegmentationModule<
DIM, Pixel > 
base
typedef base::LevelSet LevelSet
typedef base::Index Index
typedef base::Schemes Schemes

Public Member Functions

Constructors - Destructor


 RegularizationModule (float _w=1.f, bool _mean_curv_motion=false)
 Default constructor ( with global weight ).
virtual ~RegularizationModule ()
 Destructor.
Modify/Access member data


void mean_curv_motion (bool _b=true)
 True = mean curvature motion.
Member functions


float value (const LevelSet &phi, const Index &ind)
 Value of the module at a point.
float energy (const LevelSet &phi, const Index &ind)
 Energy of the module at a point.

Protected Attributes

Member data


bool m_mean_curv_motion
 true = Mean Curvature Motion ( * = |grad(phi)| ) ; false = regularisation term ( *= dirac(phi) );

Detailed Description

template<unsigned DIM, typename Pixel>
class segmentation::RegularizationModule< DIM, Pixel >

SegmentationModule specialization used as a term of regularization to move the LevelSet.

Author:
Mikael Rousson
Note:
can be used as a Mean Curvature flow by setting its attribute '_mean_curv_motion' to true

weight <= 1 , for stability

Examples:

2D_Gaussian.C, 2D_LocalGaussian.C, 2D_LocalStats.C, 2D_Parzen.C, 2D_SoftShapePrior.C, and 3D_ChanVese.C.

Definition at line 26 of file RegularizationModule.h.


Constructor & Destructor Documentation

RegularizationModule ( float  _w = 1.f,
bool  _mean_curv_motion = false 
) [inline]

Default constructor ( with global weight ).

Parameters:
_w  weight of the module
_mean_curv_motion  true = mean curvature motion

Definition at line 81 of file RegularizationModule.h.

00082                 :SegmentationModule<DIM, Pixel>(_w, false), m_mean_curv_motion(_mean_curv_motion)
00083         { } 


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

For further information, please contact Jerome Piovano - Last update 2008-02-08