Jerome Piovano

Research in Medical Imaging and Computer Vision

SoftShapeModule Class Template Reference

SegmentationModule specialization used to drive the LevelSet in a tubular form see for more details "Vessel Segmentation using a Shape Driven Flow" - Delphine Nain, Anthony Yezzi, Greg Turk. More...

#include <SoftShapeModule.h>

Inheritance diagram for SoftShapeModule:

SegmentationModule List of all members.

Public Types

typedef SegmentationModule<
DIM, Pixel > 
base
typedef base::LevelSet LevelSet
typedef base::Index Index
typedef base::Schemes Schemes
typedef BaseImage< DIM, float > ImageFloat
typedef DericheFilter< DIM,
float > 
DericheFilter
typedef Pixels::RGB< unsigned
char > 
RGBPixel
typedef BaseImage< DIM, RGBPixelColorImageType

Public Member Functions

Constructors - Destructor


 SoftShapeModule (float _weight=1.f, float _sigma=20.0f, int _p=2)
 Default constructor.
virtual ~SoftShapeModule ()
 Destructor.
Modify/Access member data


void set_sigma (float _sigma)
 set the max radius of the tubular shape tu segment
int & p ()
 auxilliary parameter
Point dependent 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.
void init (const LevelSet &phi)
 Initialize the module.
void update (const LevelSet &phi)
 update the module
void save_result (const LevelSet &phi, std::string evodir, int iter)
 save results depending on the module data
void update_params (const LevelSet &phi)
 update the parameters of the module

Protected Member Functions

float _g (float z, float d, float epsilon)

Protected Attributes

Member data


float m_sigma
 size of blur
DericheFilter m_deriche
 deriche filter
ImageFloat m_e1
 datas
ImageFloat m_e2
 datas
int m_p
 auxilliary parameter

Detailed Description

template<unsigned DIM, typename Pixel = float>
class segmentation::SoftShapeModule< DIM, Pixel >

SegmentationModule specialization used to drive the LevelSet in a tubular form see for more details "Vessel Segmentation using a Shape Driven Flow" - Delphine Nain, Anthony Yezzi, Greg Turk.

Author:
Jerome Piovano
Examples:

2D_LocalGaussian.C, and 2D_SoftShapePrior.C.

Definition at line 29 of file SoftShapeModule.h.


Constructor & Destructor Documentation

SoftShapeModule ( float  _weight = 1.f,
float  _sigma = 20.0f,
int  _p = 2 
) [inline]

Default constructor.

Parameters:
_weight  weight of the module
_sigma  radius of the tubular shape
_p  auxilliary parameter

Definition at line 119 of file SoftShapeModule.h.

00120                 : SegmentationModule<DIM, Pixel>(_weight, true), m_sigma(_sigma), m_deriche(_sigma, false) /*m_deriche(_sigma, 0)*/, m_e1(), m_e2(), m_p(_p)
00121         { }


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

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