ITK  4.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
itk::KLMSegmentationBorder Class Reference

Base class for KLMSegmentationBorder object. More...

#include <itkKLMSegmentationBorder.h>

Inheritance diagram for itk::KLMSegmentationBorder:
Collaboration diagram for itk::KLMSegmentationBorder:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef SmartPointer< SelfPointer
typedef KLMSegmentationBorder Self
typedef SegmentationBorder Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
void EvaluateLambda ()
virtual const char * GetNameOfClass () const
KLMSegmentationRegionGetRegion1 ()
KLMSegmentationRegionGetRegion2 ()
void PrintBorderInfo ()
void SetRegion1 (KLMSegmentationRegion *Region1)
void SetRegion2 (KLMSegmentationRegion *Region2)
virtual void SetLambda (double _arg)
virtual const double & GetLambda ()

Static Public Member Functions

static Pointer New ()

Protected Member Functions

 KLMSegmentationBorder ()
void PrintSelf (std::ostream &os, Indent indent) const
 ~KLMSegmentationBorder ()

Private Member Functions

 KLMSegmentationBorder (const Self &)
void operator= (const Self &)

Private Attributes

double m_Lambda
KLMSegmentationRegionm_Region1
KLMSegmentationRegionm_Region2

Detailed Description

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.


Member Typedef Documentation

Reimplemented from itk::SegmentationBorder.

Definition at line 144 of file itkKLMSegmentationBorder.h.

Reimplemented from itk::SegmentationBorder.

Definition at line 143 of file itkKLMSegmentationBorder.h.

Standard class typedefs.

Reimplemented from itk::SegmentationBorder.

Definition at line 141 of file itkKLMSegmentationBorder.h.

Reimplemented from itk::SegmentationBorder.

Definition at line 142 of file itkKLMSegmentationBorder.h.


Constructor & Destructor Documentation

itk::KLMSegmentationBorder::KLMSegmentationBorder ( ) [protected]

Constructor.

itk::KLMSegmentationBorder::~KLMSegmentationBorder ( ) [protected]

Destructor.

itk::KLMSegmentationBorder::KLMSegmentationBorder ( const Self ) [private]

Member Function Documentation

virtual::itk::LightObject::Pointer itk::KLMSegmentationBorder::CreateAnother ( void  ) const [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::SegmentationBorder.

void itk::KLMSegmentationBorder::EvaluateLambda ( )

Evaluate the Lambda for a given border.

virtual const double& itk::KLMSegmentationBorder::GetLambda ( ) [virtual]

Set/Get the Lambda parameter associate with the borders in the KLM algorithm

virtual const char* itk::KLMSegmentationBorder::GetNameOfClass ( ) const [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 Pointer itk::KLMSegmentationBorder::New ( ) [static]

Method for creation through the object factory.

Reimplemented from itk::SegmentationBorder.

void itk::KLMSegmentationBorder::operator= ( const Self ) [private]

Mutex lock to protect modification to the reference count

Reimplemented from itk::SegmentationBorder.

void itk::KLMSegmentationBorder::PrintBorderInfo ( )

Print the data associated with each border.

void itk::KLMSegmentationBorder::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

Print self identity

Reimplemented from itk::SegmentationBorder.

virtual void itk::KLMSegmentationBorder::SetLambda ( double  _arg) [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.


Member Data Documentation

Definition at line 190 of file itkKLMSegmentationBorder.h.

Definition at line 191 of file itkKLMSegmentationBorder.h.

Definition at line 192 of file itkKLMSegmentationBorder.h.


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