#include <RegularizationModule.h>
Inheritance diagram for RegularizationModule:
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) ); |
weight <= 1 , for stability
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.
RegularizationModule | ( | float | _w = 1.f , |
|
bool | _mean_curv_motion = false | |||
) | [inline] |
Default constructor ( with global weight ).
_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 { }