ITK  4.13.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh > Class Template Reference

#include <itkDeformableSimplexMesh3DFilter.h>

+ Inheritance diagram for itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >:
+ Collaboration diagram for itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >:

Detailed Description

template<typename TInputMesh, typename TOutputMesh>
class itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >

Three-dimensional deformable model for image segmentation.

DeformableSimplexMesh3DFilter is a discrete three-dimensional deformable model, which can be used to deform a 3-D SimplexMesh.

The mesh deformation is constrained by internal forces. The interal force can be scaled via SetAlpha (typical values are 0.01 < alpha < 0.3). The external force is derived from the image one wants to delineate. Therefore an image of type GradientImageType needs to be set by calling SetGradientImage(...). The external forces are scaled via SetBeta (typical values are 0.01 < beta < 1). One still needs to play around with these values.

To control the smoothness of the mesh a rigidity parameter can be adjusted. Low values (1 or 0) allow areas with high curvature. Higher values (around 7 or 8) will make the mesh smoother.

By setting the gamma parameter the regularity of the mesh is controlled. Low values (< 0.03) produce more regular mesh. Higher values ( 0.3 < gamma < 0.2) will allow to move the vertices to regions of higher curvature.

This approach for segmentation follows that of Delingette et al. (1997).

This filter currently assumes that the spacing of the input image is 1.

The user has to set the number of iterations for mesh evolution.

Author
Thomas Boettger. Division Medical and Biological Informatics, German Cancer Research Center, Heidelberg.

Definition at line 76 of file itkDeformableSimplexMesh3DFilter.h.

Public Types

typedef Image< unsigned char, 3 > BinaryOutput
 
typedef
InputMeshType::CellsContainer::Iterator 
CellsContainerIterator
 
typedef
InputMeshType::CellsContainerPointer 
CellsContainerPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef CovariantVector
< typename
VectorType::ValueType, 3 > 
CovariantVectorType
 
typedef GeometryMapType::Iterator GeometryMapIterator
 
typedef GeometryMapType::Pointer GeometryMapPointer
 
typedef
InputMeshType::GeometryMapType 
GeometryMapType
 
typedef GradientImageType::Pointer GradientImagePointer
 
typedef GradientImageType::SizeType GradientImageSizeType
 
typedef Image< GradientType, 3 > GradientImageType
 
typedef
GradientImageType::IndexType 
GradientIndexType
 
typedef
GradientIndexType::IndexValueType 
GradientIndexValueType
 
typedef
GradientImageType::PixelType 
GradientPixelType
 
typedef CovariantVector
< PixelType, 3 > 
GradientType
 
typedef IndexSetType::iterator IndexSetIterator
 
typedef std::set< IdentifierTypeIndexSetType
 
typedef InputMeshType::Pointer InputMeshPointer
 
typedef TInputMesh InputMeshType
 
typedef
InputMeshType::NeighborListType 
InputNeighbors
 
typedef
InputMeshType::NeighborListType::iterator 
InputNeighborsIterator
 
typedef
InputMeshType::PointsContainer 
InputPointsContainer
 
typedef
InputMeshType::PointsContainer::ConstIterator 
InputPointsContainerConstIterator
 
typedef
InputMeshType::PointsContainerPointer 
InputPointsContainerPointer
 
typedef Image< float, 3 > MagnitudeOutput
 
typedef InputMeshType::PointType MeshPointType
 
typedef NeighborSetType::iterator NeighborSetIterator
 
typedef std::set< IdentifierTypeNeighborSetType
 
typedef OutputMeshType::Pointer OutputMeshPointer
 
typedef TOutputMesh OutputMeshType
 
typedef InputMeshType::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef
SimplexMeshGeometry::PointType 
PointType
 
typedef
DeformableSimplexMesh3DFilter 
Self
 
typedef MeshToMeshFilter
< TInputMesh, TOutputMesh > 
Superclass
 
typedef PointType::VectorType VectorType
 
typedef itk::MapContainer
< IdentifierType,
NeighborSetType
VertexNeighborListType
 
- Public Types inherited from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >
typedef SmartPointer< const SelfConstPointer
 
typedef InputMeshType::Pointer InputMeshPointer
 
typedef TInputMesh InputMeshType
 
typedef OutputMeshType::Pointer OutputMeshPointer
 
typedef TOutputMesh OutputMeshType
 
typedef SmartPointer< SelfPointer
 
typedef MeshToMeshFilter Self
 
typedef MeshSource< TOutputMesh > Superclass
 
- Public Types inherited from itk::MeshSource< TOutputMesh >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef OutputMeshType::Pointer OutputMeshPointer
 
typedef TOutputMesh OutputMeshType
 
typedef SmartPointer< SelfPointer
 
typedef MeshSource Self
 
typedef ProcessObject Superclass
 
typedef
ProcessObject::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
 
typedef
DataObject::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
 
typedef
DataObjectPointerArray::size_type 
DataObjectPointerArraySizeType
 
typedef MultiThreader MultiThreaderType
 
typedef std::vector
< DataObjectIdentifierType
NameArray
 
typedef SmartPointer< SelfPointer
 
typedef ProcessObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual double GetAlpha () const
 
virtual double GetBeta () const
 
virtual double GetDamping () const
 
virtual const GeometryMapTypeGetData () const
 
virtual double GetGamma () const
 
const GradientImageTypeGetGradient () const
 
virtual GeometryMapTypeGetModifiableData ()
 
virtual const char * GetNameOfClass () const
 
virtual unsigned int GetRigidity () const
 
virtual int GetStep () const
 
virtual void SetAlpha (double _arg)
 
virtual void SetBeta (double _arg)
 
virtual void SetDamping (double _arg)
 
virtual void SetData (GeometryMapType *_arg)
 
virtual void SetGamma (double _arg)
 
void SetGradient (const GradientImageType *gradientImage)
 
virtual void SetRigidity (unsigned int _arg)
 
virtual void SetIterations (int _arg)
 
virtual int GetIterations () const
 
virtual int GetImageWidth () const
 
virtual int GetImageHeight () const
 
virtual int GetImageDepth () const
 
- Public Member Functions inherited from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >
const InputMeshTypeGetInput () const
 
const InputMeshTypeGetInput (unsigned int idx) const
 
void SetInput (const InputMeshType *input)
 
- Public Member Functions inherited from itk::MeshSource< TOutputMesh >
OutputMeshTypeGetOutput ()
 
OutputMeshTypeGetOutput (unsigned int idx)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
void SetOutput (TOutputMesh *output)
 
virtual void GraftOutput (DataObject *output)
 
virtual DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreaderTypeGetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual const float & GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
void SetProgress (float progress)
 
virtual void SetReleaseDataFlag (bool flag)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void SetNumberOfThreads (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfThreads () const
 
- 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
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () 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::MeshToMeshFilter< TInputMesh, TOutputMesh >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::MeshSource< TOutputMesh >
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

PointType ComputeBarycentricCoordinates (PointType p, SimplexMeshGeometry *data)
 
virtual void ComputeDisplacement ()
 
virtual void ComputeExternalForce (SimplexMeshGeometry *data, const GradientImageType *gradient)
 
virtual void ComputeGeometry ()
 
virtual void ComputeInternalForce (SimplexMeshGeometry *data)
 
virtual void ComputeOutput ()
 
 DeformableSimplexMesh3DFilter ()
 
virtual void GenerateData () override
 
virtual void Initialize ()
 
bool L_Func (const double r, const double d, const double phi, double &output)
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void UpdateReferenceMetrics ()
 
 ~DeformableSimplexMesh3DFilter () override
 
- Protected Member Functions inherited from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >
void CopyInputMeshToOutputMeshCellData ()
 
void CopyInputMeshToOutputMeshCellLinks ()
 
void CopyInputMeshToOutputMeshCells ()
 
void CopyInputMeshToOutputMeshPointData ()
 
void CopyInputMeshToOutputMeshPoints ()
 
 MeshToMeshFilter ()
 
 ~MeshToMeshFilter () override
 
- Protected Member Functions inherited from itk::MeshSource< TOutputMesh >
virtual void GenerateInputRequestedRegion () override
 
 MeshSource ()
 
virtual ~MeshSource () override
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateOutputInformation ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
virtual void PopBackInput ()
 
virtual void PopFrontInput ()
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryOutput (DataObject *output)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyInputInformation ()
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject () override
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName (void) const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName (void) const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object () override
 
- 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 ()
 

Protected Attributes

double m_Alpha
 
double m_Beta
 
double m_Damping
 
GeometryMapPointer m_Data
 
double m_Gamma
 
int m_ImageDepth
 
int m_ImageHeight
 
int m_ImageWidth
 
int m_Iterations
 
unsigned int m_Rigidity
 
int m_Step
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Member Typedef Documentation

template<typename TInputMesh , typename TOutputMesh >
typedef Image< unsigned char, 3 > itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::BinaryOutput

Definition at line 112 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef InputMeshType::CellsContainer::Iterator itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::CellsContainerIterator

Definition at line 127 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef InputMeshType::CellsContainerPointer itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::CellsContainerPointer

Definition at line 126 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef SmartPointer< const Self > itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::ConstPointer

Definition at line 87 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef CovariantVector< typename VectorType::ValueType, 3 > itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::CovariantVectorType

Definition at line 106 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef GeometryMapType::Iterator itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::GeometryMapIterator

Definition at line 139 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef GeometryMapType::Pointer itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::GeometryMapPointer

Definition at line 138 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef InputMeshType::GeometryMapType itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::GeometryMapType

Definition at line 137 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef GradientImageType::Pointer itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::GradientImagePointer

Definition at line 115 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef GradientImageType::SizeType itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::GradientImageSizeType

Definition at line 119 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef Image< GradientType, 3 > itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::GradientImageType

Definition at line 111 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef GradientImageType::IndexType itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::GradientIndexType

Definition at line 116 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef GradientIndexType::IndexValueType itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::GradientIndexValueType

Definition at line 118 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef GradientImageType::PixelType itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::GradientPixelType

Definition at line 117 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef CovariantVector< PixelType, 3 > itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::GradientType

Image and Image iterator definition.

Definition at line 110 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef IndexSetType::iterator itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::IndexSetIterator

Definition at line 135 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef std::set< IdentifierType > itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::IndexSetType

Definition at line 132 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef InputMeshType::Pointer itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::InputMeshPointer

Definition at line 122 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef TInputMesh itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::InputMeshType

Some typedefs.

Definition at line 93 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef InputMeshType::NeighborListType itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::InputNeighbors

Definition at line 128 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef InputMeshType::NeighborListType::iterator itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::InputNeighborsIterator

Definition at line 129 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef InputMeshType::PointsContainer itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::InputPointsContainer

Definition at line 100 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef InputMeshType::PointsContainer::ConstIterator itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::InputPointsContainerConstIterator

Definition at line 101 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef InputMeshType::PointsContainerPointer itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::InputPointsContainerPointer

Definition at line 99 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef Image< float, 3 > itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::MagnitudeOutput

Definition at line 113 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef InputMeshType::PointType itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::MeshPointType

Definition at line 125 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef NeighborSetType::iterator itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::NeighborSetIterator

Definition at line 134 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef std::set< IdentifierType > itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::NeighborSetType

Definition at line 131 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef OutputMeshType::Pointer itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::OutputMeshPointer

Definition at line 123 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef TOutputMesh itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::OutputMeshType

Definition at line 97 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef InputMeshType::PixelType itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::PixelType

Definition at line 107 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef SmartPointer< Self > itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::Pointer

Smart pointer typedef support

Definition at line 86 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef SimplexMeshGeometry::PointType itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::PointType

Other definitions.

Definition at line 104 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef DeformableSimplexMesh3DFilter itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::Self

Standard "Self" typedef.

Definition at line 80 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef MeshToMeshFilter< TInputMesh, TOutputMesh > itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::Superclass

Standard "Superclass" typedef.

Definition at line 83 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef PointType::VectorType itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::VectorType

Definition at line 105 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef itk::MapContainer< IdentifierType, NeighborSetType > itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::VertexNeighborListType

Definition at line 133 of file itkDeformableSimplexMesh3DFilter.h.

Constructor & Destructor Documentation

template<typename TInputMesh , typename TOutputMesh >
itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::DeformableSimplexMesh3DFilter ( )
protected
template<typename TInputMesh , typename TOutputMesh >
itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::~DeformableSimplexMesh3DFilter ( )
overrideprotected

Member Function Documentation

template<typename TInputMesh , typename TOutputMesh >
PointType itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::ComputeBarycentricCoordinates ( PointType  p,
SimplexMeshGeometry data 
)
protected

Method computes the barycentric coordinates of the passed point

template<typename TInputMesh , typename TOutputMesh >
virtual void itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::ComputeDisplacement ( )
protectedvirtual

Computes the displacement of each point. Therefore internal and external forces are computed and multiplied by the constants (alpha and beta) set by the user.

template<typename TInputMesh , typename TOutputMesh >
virtual void itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::ComputeExternalForce ( SimplexMeshGeometry data,
const GradientImageType gradient 
)
protectedvirtual

Compute the external force component Pass in the gradient image, to avoid inner loop calls to GetGradient()

Reimplemented in itk::DeformableSimplexMesh3DGradientConstraintForceFilter< TInputMesh, TOutputMesh >.

template<typename TInputMesh , typename TOutputMesh >
virtual void itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::ComputeGeometry ( )
protectedvirtual

Compute geometric properties like curvature and normals, which are necessary for the computation of the internal force components for each point of the mesh.

template<typename TInputMesh , typename TOutputMesh >
virtual void itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::ComputeInternalForce ( SimplexMeshGeometry data)
protectedvirtual

Compute the internal force component

template<typename TInputMesh , typename TOutputMesh >
virtual void itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::ComputeOutput ( )
protectedvirtual

At the and of the deformation the output mesh is created by creating a new mesh

template<typename TInputMesh , typename TOutputMesh >
virtual::itk::LightObject::Pointer itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::CreateAnother ( ) 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::MeshToMeshFilter< TInputMesh, TOutputMesh >.

Reimplemented in itk::DeformableSimplexMesh3DGradientConstraintForceFilter< TInputMesh, TOutputMesh >.

template<typename TInputMesh , typename TOutputMesh >
virtual void itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::GenerateData ( void  )
overrideprotectedvirtual

This method causes the filter to generate its output.

Reimplemented from itk::ProcessObject.

template<typename TInputMesh , typename TOutputMesh >
virtual double itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::GetAlpha ( ) const
virtual

Get internal force scaling factor

template<typename TInputMesh , typename TOutputMesh >
virtual double itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::GetBeta ( ) const
virtual

Get external force scaling factor

template<typename TInputMesh , typename TOutputMesh >
virtual double itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::GetDamping ( ) const
virtual

Get reference metrics update scaling factor

template<typename TInputMesh , typename TOutputMesh >
virtual const GeometryMapType* itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::GetData ( ) const
virtual
template<typename TInputMesh , typename TOutputMesh >
virtual double itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::GetGamma ( ) const
virtual

Get reference metrics update scaling factor

template<typename TInputMesh , typename TOutputMesh >
const GradientImageType* itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::GetGradient ( ) const

Getter for gradient image

template<typename TInputMesh , typename TOutputMesh >
virtual int itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::GetImageDepth ( ) const
virtual

Width, height and depth of image

template<typename TInputMesh , typename TOutputMesh >
virtual int itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::GetImageHeight ( ) const
virtual

Width, height and depth of image

template<typename TInputMesh , typename TOutputMesh >
virtual int itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::GetImageWidth ( ) const
virtual

Width, height and depth of image

template<typename TInputMesh , typename TOutputMesh >
virtual int itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::GetIterations ( ) const
virtual

Set number of iterations for deformation process

template<typename TInputMesh , typename TOutputMesh >
virtual GeometryMapType* itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::GetModifiableData ( )
virtual
template<typename TInputMesh , typename TOutputMesh >
virtual const char* itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::GetNameOfClass ( ) const
virtual
template<typename TInputMesh , typename TOutputMesh >
virtual unsigned int itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::GetRigidity ( ) const
virtual

control smoothness of the mesh

template<typename TInputMesh , typename TOutputMesh >
virtual int itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::GetStep ( ) const
virtual

current iteration number

template<typename TInputMesh , typename TOutputMesh >
virtual void itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::Initialize ( )
protectedvirtual

Initializes the datastructures necessary for mesh deformation with the values from the passed input mesh.

template<typename TInputMesh , typename TOutputMesh >
bool itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::L_Func ( const double  r,
const double  d,
const double  phi,
double &  output 
)
protected

L function implemented following the paper of Delingette

template<typename TInputMesh , typename TOutputMesh >
static Pointer itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::New ( )
static

Method of creation through the object factory.

template<typename TInputMesh , typename TOutputMesh >
void itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::MeshSource< TOutputMesh >.

Reimplemented in itk::DeformableSimplexMesh3DGradientConstraintForceFilter< TInputMesh, TOutputMesh >.

template<typename TInputMesh , typename TOutputMesh >
virtual void itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::SetAlpha ( double  _arg)
virtual

Set scalar factor for internal force

template<typename TInputMesh , typename TOutputMesh >
virtual void itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::SetBeta ( double  _arg)
virtual

Set external force scaling factor

template<typename TInputMesh , typename TOutputMesh >
virtual void itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::SetDamping ( double  _arg)
virtual

Set reference metrics update scaling factor

template<typename TInputMesh , typename TOutputMesh >
virtual void itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::SetData ( GeometryMapType _arg)
virtual
template<typename TInputMesh , typename TOutputMesh >
virtual void itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::SetGamma ( double  _arg)
virtual

Set reference metrics update scaling factor

template<typename TInputMesh , typename TOutputMesh >
void itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::SetGradient ( const GradientImageType gradientImage)

Routines. Set/Get routines. Setter for gradient image

template<typename TInputMesh , typename TOutputMesh >
virtual void itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::SetIterations ( int  _arg)
virtual

Set number of iterations for deformation process

template<typename TInputMesh , typename TOutputMesh >
virtual void itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::SetRigidity ( unsigned int  _arg)
virtual

control smoothness of the mesh

template<typename TInputMesh , typename TOutputMesh >
virtual void itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::UpdateReferenceMetrics ( )
protectedvirtual

Method updates the reference metrics for each mesh point

Member Data Documentation

template<typename TInputMesh , typename TOutputMesh >
double itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::m_Alpha
protected

Parameters definitions. Scalar defining the influence of the internal forces Values should lie between 0.001 and 0.3. Higher values increase the stiffness of the mesh

Definition at line 274 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
double itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::m_Beta
protected

Scalar defining the influence of the external force components The choice for this parameter strongly depends on the underlying data. Typical value range from 0.00001 to 0.3

Definition at line 282 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
double itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::m_Damping
protected

Definition at line 291 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
GeometryMapPointer itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::m_Data
protected

map stores a Geometry object for every mesh point

Definition at line 320 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
double itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::m_Gamma
protected

Gamma influneces the distribution of the mesh points. It should lie between 0.01 and 0.2. Smaller values force the mesh to be more regular. When increasing gamma, mesh points will have higher density in places of high curvature.

Definition at line 290 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
int itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::m_ImageDepth
protected

Image size

Definition at line 312 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
int itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::m_ImageHeight
protected

Image size

Definition at line 309 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
int itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::m_ImageWidth
protected

Image size

Definition at line 306 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
int itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::m_Iterations
protected

This threshold decides when to stop the model.

Definition at line 315 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
unsigned int itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::m_Rigidity
protected

This scalar determines the smoothness of the surface model. Values should range from 0 to 10. It determines the radius of the neighborhood during internal force computation using the curvature shape contraint. The higher the rigidity the higher the smoothness.

Definition at line 299 of file itkDeformableSimplexMesh3DFilter.h.

template<typename TInputMesh , typename TOutputMesh >
int itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::m_Step
protected

Number of iterations

Definition at line 303 of file itkDeformableSimplexMesh3DFilter.h.


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