SimpleITK
1.2.4
|
Segments structures in images based on a user supplied edge potential map. More...
#include <sitkGeodesicActiveContourLevelSetImageFilter.h>
Public Types | |
typedef RealPixelIDTypeList | PixelIDTypeList |
typedef GeodesicActiveContourLevelSetImageFilter | Self |
Public Types inherited from itk::simple::ImageFilter< 2 > | |
typedef ImageFilter | Self |
Public Types inherited from itk::simple::ProcessObject | |
typedef ProcessObject | Self |
Public Member Functions | |
Image | Execute (const Image &image1, const Image &image2) |
Image | Execute (const Image &image1, const Image &image2, double maximumRMSError, double propagationScaling, double curvatureScaling, double advectionScaling, uint32_t numberOfIterations, bool reverseExpansionDirection) |
GeodesicActiveContourLevelSetImageFilter () | |
double | GetAdvectionScaling () const |
double | GetCurvatureScaling () const |
uint32_t | GetElapsedIterations () const |
Number of iterations run. More... | |
double | GetMaximumRMSError () const |
std::string | GetName () const |
uint32_t | GetNumberOfIterations () const |
double | GetPropagationScaling () const |
bool | GetReverseExpansionDirection () const |
double | GetRMSChange () const |
The Root Mean Square of the levelset upon termination. More... | |
Self & | ReverseExpansionDirectionOff () |
Self & | ReverseExpansionDirectionOn () |
Self & | SetAdvectionScaling (double AdvectionScaling) |
Self & | SetCurvatureScaling (double CurvatureScaling) |
Self & | SetMaximumRMSError (double MaximumRMSError) |
Self & | SetNumberOfIterations (uint32_t NumberOfIterations) |
Self & | SetPropagationScaling (double PropagationScaling) |
Self & | SetReverseExpansionDirection (bool ReverseExpansionDirection) |
std::string | ToString () const |
virtual | ~GeodesicActiveContourLevelSetImageFilter () |
Public Member Functions inherited from itk::simple::ImageFilter< 2 > | |
ImageFilter () | |
virtual | ~ImageFilter ()=0 |
Public Member Functions inherited from itk::simple::ProcessObject | |
virtual void | Abort () |
virtual int | AddCommand (itk::simple::EventEnum event, itk::simple::Command &cmd) |
Add a Command Object to observer the event. More... | |
virtual float | GetProgress () const |
An Active Measurement of the progress of execution. More... | |
virtual bool | HasCommand (itk::simple::EventEnum event) const |
Query of this object has any registered commands for event. More... | |
ProcessObject () | |
virtual void | RemoveAllCommands () |
Remove all registered commands. More... | |
virtual | ~ProcessObject () |
virtual void | DebugOn () |
virtual void | DebugOff () |
virtual bool | GetDebug () const |
virtual void | SetDebug (bool debugFlag) |
virtual void | SetNumberOfThreads (unsigned int n) |
virtual unsigned int | GetNumberOfThreads () const |
Private Types | |
typedef Image(Self::* | MemberFunctionType) (const Image &image1, const Image &image2) |
Private Member Functions | |
template<class TImageType > | |
Image | ExecuteInternal (const Image &image1, const Image &image2) |
Private Attributes | |
double | m_AdvectionScaling |
double | m_CurvatureScaling |
uint32_t | m_ElapsedIterations |
double | m_MaximumRMSError |
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > | m_MemberFactory |
uint32_t | m_NumberOfIterations |
double | m_PropagationScaling |
bool | m_ReverseExpansionDirection |
double | m_RMSChange |
Friends | |
struct | detail::MemberFunctionAddressor< MemberFunctionType > |
Additional Inherited Members | |
Static Public Member Functions inherited from itk::simple::ProcessObject | |
static bool | GetGlobalDefaultDebug () |
static void | GlobalDefaultDebugOff () |
static void | GlobalDefaultDebugOn () |
static void | SetGlobalDefaultDebug (bool debugFlag) |
static void | GlobalWarningDisplayOn () |
static void | GlobalWarningDisplayOff () |
static void | SetGlobalWarningDisplay (bool flag) |
static bool | GetGlobalWarningDisplay () |
static void | SetGlobalDefaultNumberOfThreads (unsigned int n) |
static unsigned int | GetGlobalDefaultNumberOfThreads () |
static double | GetGlobalDefaultCoordinateTolerance () |
Access the global tolerance to determine congruent spaces. More... | |
static void | SetGlobalDefaultCoordinateTolerance (double) |
Access the global tolerance to determine congruent spaces. More... | |
static double | GetGlobalDefaultDirectionTolerance () |
Access the global tolerance to determine congruent spaces. More... | |
static void | SetGlobalDefaultDirectionTolerance (double) |
Access the global tolerance to determine congruent spaces. More... | |
Protected Member Functions inherited from itk::simple::ProcessObject | |
virtual unsigned long | AddITKObserver (const itk::EventObject &, itk::Command *) |
virtual itk::ProcessObject * | GetActiveProcess () |
virtual void | OnActiveProcessDelete () |
virtual void | onCommandDelete (const itk::simple::Command *cmd) SITK_NOEXCEPT |
virtual void | PreUpdate (itk::ProcessObject *p) |
virtual void | RemoveITKObserver (EventCommand &e) |
Protected Member Functions inherited from itk::simple::NonCopyable | |
NonCopyable () | |
Static Protected Member Functions inherited from itk::simple::ImageFilter< 2 > | |
static void | FixNonZeroIndex (TImageType *img) |
Static Protected Member Functions inherited from itk::simple::ProcessObject | |
template<class TImageType > | |
static TImageType::ConstPointer | CastImageToITK (const Image &img) |
template<class TImageType > | |
static Image | CastITKToImage (TImageType *img) |
template<class TPixelType , unsigned int VImageDimension, unsigned int VLength, template< typename, unsigned int > class TVector> | |
static Image | CastITKToImage (itk::Image< TVector< TPixelType, VLength >, VImageDimension > *img) |
static const itk::EventObject & | GetITKEventObject (EventEnum e) |
template<typename T > | |
static std::ostream & | ToStringHelper (std::ostream &os, const T &v) |
static std::ostream & | ToStringHelper (std::ostream &os, const char &v) |
static std::ostream & | ToStringHelper (std::ostream &os, const signed char &v) |
static std::ostream & | ToStringHelper (std::ostream &os, const unsigned char &v) |
Segments structures in images based on a user supplied edge potential map.
where is image intensity and is the derivative of Gaussian operator.
This implementation allows the user to set the weights between the propagation, advection and curvature term using methods SetPropagationScaling() , SetAdvectionScaling() , SetCurvatureScaling() . In general, the larger the CurvatureScaling, the smoother the resulting contour. To follow the implementation in Caselles et al paper, set the PropagationScaling to (the inflation or ballon force) and AdvectionScaling and CurvatureScaling both to 1.0.
Definition at line 82 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
|
private |
Setup for member function dispatching
Definition at line 183 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
Define the pixels types supported by this filter
Definition at line 94 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
typedef GeodesicActiveContourLevelSetImageFilter itk::simple::GeodesicActiveContourLevelSetImageFilter::Self |
Definition at line 84 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
|
virtual |
Destructor
itk::simple::GeodesicActiveContourLevelSetImageFilter::GeodesicActiveContourLevelSetImageFilter | ( | ) |
Default Constructor that takes no arguments and initializes default parameters
Image itk::simple::GeodesicActiveContourLevelSetImageFilter::Execute | ( | const Image & | image1, |
const Image & | image2 | ||
) |
Execute the filter on the input images
Image itk::simple::GeodesicActiveContourLevelSetImageFilter::Execute | ( | const Image & | image1, |
const Image & | image2, | ||
double | maximumRMSError, | ||
double | propagationScaling, | ||
double | curvatureScaling, | ||
double | advectionScaling, | ||
uint32_t | numberOfIterations, | ||
bool | reverseExpansionDirection | ||
) |
Execute the filter on the input images with the given parameters
|
private |
|
inline |
Definition at line 128 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
|
inline |
Definition at line 120 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
|
inline |
Number of iterations run.
This is a measurement. Its value is updated in the Execute methods, so the value will only be valid after an execution.
Definition at line 155 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
|
inline |
Definition at line 104 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
|
inlinevirtual |
Name of this class
Implements itk::simple::ProcessObject.
Definition at line 166 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
|
inline |
Definition at line 136 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
|
inline |
Definition at line 112 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
|
inline |
Definition at line 148 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
|
inline |
The Root Mean Square of the levelset upon termination.
This is a measurement. Its value is updated in the Execute methods, so the value will only be valid after an execution.
Definition at line 163 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
|
inline |
Definition at line 144 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
|
inline |
Set the value of ReverseExpansionDirection to true or false respectfully.
Definition at line 143 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
|
inline |
Definition at line 124 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
|
inline |
Definition at line 116 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
|
inline |
Definition at line 100 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
|
inline |
Definition at line 132 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
|
inline |
Definition at line 108 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
|
inline |
Definition at line 140 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
|
virtual |
Print ourselves out
Reimplemented from itk::simple::ProcessObject.
|
friend |
Definition at line 187 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
|
private |
Definition at line 199 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
|
private |
Definition at line 197 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
|
private |
Definition at line 205 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
|
private |
Definition at line 193 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
|
private |
Definition at line 189 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
|
private |
Definition at line 201 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
|
private |
Definition at line 195 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
|
private |
Definition at line 203 of file sitkGeodesicActiveContourLevelSetImageFilter.h.
|
private |
Definition at line 207 of file sitkGeodesicActiveContourLevelSetImageFilter.h.