ITK
4.4.0
Insight Segmentation and Registration Toolkit
|
#include <itkKLMSegmentationBorder.h>
Base class for KLMSegmentationBorder object.
itkKLMSegmentationBorder is the base class for the KLMSegmentationBorder objects. It provides the basic function definitons that are inherent to a KLMSegmentationBorder objects.
This class implements the border object that is used in particular with the KLM algorithm (see also KLMRegionGrowImageFilter). The border is defined by the adjacency of two regions. The parameter Lambda ascertains the importance of the border in defining the regions. The higher the values of Lambda the more dominant is its presence in the a region. In case of removal of a border during the region growing process the one with least Lambda value is eliminated.
Definition at line 137 of file itkKLMSegmentationBorder.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef KLMSegmentationBorder | Self |
typedef SegmentationBorder | Superclass |
Public Types inherited from itk::SegmentationBorder | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef SegmentationBorder | Self |
typedef Object | Superclass |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
void | EvaluateLambda () |
virtual const char * | GetNameOfClass () const |
KLMSegmentationRegion * | GetRegion1 () |
KLMSegmentationRegion * | GetRegion2 () |
void | PrintBorderInfo () |
void | SetRegion1 (KLMSegmentationRegion *Region1) |
void | SetRegion2 (KLMSegmentationRegion *Region2) |
virtual void | SetLambda (double _arg) |
virtual const double & | GetLambda () |
Public Member Functions inherited from itk::SegmentationBorder | |
virtual void | ApplySegmentationBorder () |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual void | SetBorderLength (double _arg) |
virtual const double & | GetBorderLength () |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary (void) |
const MetaDataDictionary & | GetMetaDataDictionary (void) const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
virtual void | Register () const |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const |
Public Member Functions inherited from itk::LightObject | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::SegmentationBorder | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Protected Member Functions | |
KLMSegmentationBorder () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
~KLMSegmentationBorder () | |
Protected Member Functions inherited from itk::SegmentationBorder | |
void | PrintSelf (std::ostream &os, Indent indent) const |
SegmentationBorder () | |
~SegmentationBorder () | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Member Functions | |
KLMSegmentationBorder (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
double | m_Lambda |
KLMSegmentationRegion * | m_Region1 |
KLMSegmentationRegion * | m_Region2 |
Additional Inherited Members | |
Protected Types inherited from itk::LightObject | |
typedef int | InternalReferenceCountType |
Protected Attributes inherited from itk::LightObject | |
InternalReferenceCountType | m_ReferenceCount |
SimpleFastMutexLock | m_ReferenceCountLock |
typedef SmartPointer< const Self > itk::KLMSegmentationBorder::ConstPointer |
Definition at line 144 of file itkKLMSegmentationBorder.h.
typedef SmartPointer< Self > itk::KLMSegmentationBorder::Pointer |
Definition at line 143 of file itkKLMSegmentationBorder.h.
Standard class typedefs.
Definition at line 141 of file itkKLMSegmentationBorder.h.
Definition at line 142 of file itkKLMSegmentationBorder.h.
|
protected |
Constructor.
|
protected |
Destructor.
|
private |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
void itk::KLMSegmentationBorder::EvaluateLambda | ( | ) |
Evaluate the Lambda for a given border.
|
virtual |
Set/Get the Lambda parameter associate with the borders in the KLM algorithm
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::SegmentationBorder.
KLMSegmentationRegion* itk::KLMSegmentationBorder::GetRegion1 | ( | ) |
Get the region 1 associated with the border.
KLMSegmentationRegion* itk::KLMSegmentationBorder::GetRegion2 | ( | ) |
Get the region 2 associated with the border.
|
static |
Method for creation through the object factory.
|
private |
void itk::KLMSegmentationBorder::PrintBorderInfo | ( | ) |
Print the data associated with each border.
|
protectedvirtual |
Print self identity
Reimplemented from itk::Object.
|
virtual |
Set/Get the Lambda parameter associate with the borders in the KLM algorithm
void itk::KLMSegmentationBorder::SetRegion1 | ( | KLMSegmentationRegion * | Region1 | ) |
Set the region 1 associated with the border
void itk::KLMSegmentationBorder::SetRegion2 | ( | KLMSegmentationRegion * | Region2 | ) |
Set the region 2 associated with the border.
|
private |
Definition at line 190 of file itkKLMSegmentationBorder.h.
|
private |
Definition at line 191 of file itkKLMSegmentationBorder.h.
|
private |
Definition at line 192 of file itkKLMSegmentationBorder.h.