Class for computing a simple two-phase levelset evolution. More...
#include <cmtkSimpleLevelset.h>
Public Member Functions | |
SimpleLevelset (UniformVolume::SmartConstPtr &volume) | |
Constructor. | |
void | SetScaleInitialSphere (const Types::Coordinate scale) |
Set initial sphere scale factor. | |
void | SetFilterSigma (const Units::GaussianSigma filterSigma) |
Set filter sigma parameter. | |
void | SetTimeDelta (const Types::Coordinate timeDelta) |
Set evolution time delta. | |
void | SetLevelsetThreshold (const Types::Coordinate levelsetThreshold) |
Set levelset threshold. | |
void | InitializeCenteredSphere () |
Initialize levelset with a centered sphere. | |
virtual void | Evolve (const int numberOfIterations, const bool forceIterations=false, const bool verbose=false) |
Levelset evolution. | |
UniformVolume::SmartPtr & | GetLevelset (const bool binarize=false, const float threshold=0.5) |
Return levelset, optionally converting to a binarized byte pixel representation. | |
Protected Attributes | |
UniformVolume::SmartConstPtr | m_Volume |
The volume to compute a levelset segmentation for. | |
UniformVolume::SmartPtr | m_Levelset |
The evolving levelset. | |
Types::Coordinate | m_ScaleInitialSphere |
Initial sphere scale factor. | |
Units::GaussianSigma | m_FilterSigma |
Sigma parameter of the Gaussian filter kernel. | |
Types::Coordinate | m_TimeDelta |
Delta time constant. | |
Types::Coordinate | m_LevelsetThreshold |
Levelset threshold. |
Class for computing a simple two-phase levelset evolution.
Definition at line 48 of file cmtkSimpleLevelset.h.
cmtk::SimpleLevelset::SimpleLevelset | ( | UniformVolume::SmartConstPtr & | volume ) | [inline] |
Constructor.
Definition at line 52 of file cmtkSimpleLevelset.h.