ITK  4.9.0
Insight Segmentation and Registration Toolkit
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator > Class Template Reference

#include <itkCuberilleImageToMeshFilter.h>

+ Inheritance diagram for itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >:
+ Collaboration diagram for itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >:

Detailed Description

template<class TInputImage, class TOutputMesh, class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
class itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >

This filter uses the 'cuberille' method to convert an implicit surface (image) to a mesh.

The 'cuberille' model was proposed over 30 years ago [1,2]. A basic summary of the algorithm is as follows: step over all pixels, for each pixel determine if it lies on the surface, center a cube on the surface pixel, create quadrilateral faces aligned with the cube (taking care of neighbouring pixels also on the surface), use a gradient descent based method to project cube vertices to iso-surface [3].

Parmeters
(Required) Input: specifies the input image containing the implicit surface for polygonization. Currently, the input must NOT have iso-surface pixels on the edge of the image. If this is the case, you MUST use itkConstantPadImageFilter to pad the edges by at least 1 pixel.

(Required) IsoSurfaceValue: specifies the value of the iso-surface for which to generate the mesh. Pixels equal to or greater than this value are considered to lie on the surface or inside the resultant mesh.

(Optional) GenerateTriangleFaces: specifies whether triangle or quadrilateral faces should be generated. The default is to generate triangle faces.

(Optional) ProjectVerticesToIsoSurface: specifies whether the vertices should be projected onto the iso-surface. If projection is disabled, the resultant mesh exhibits the traditional blocky features. Projection takes roughly half of the algorithm time. The default is to project the vertices.

(Optional) ProjectVertexSurfaceDistanceThreshold: specifies the threshold for the 'distance' from iso-surface during vertex projection. Note that the distance is actually measured in pixel value units (not space). The smaller this value, the closer the vertices will be to the iso-surface. Small values result in longer convergence time (i.e. slower). Values are clamped to the range [0.0, max pixel value]. The default value is 0.5.

(Optional) ProjectVertexStepLength: specifies the threshold for the step length during vertex projection. The smaller this value, the more likely the vertices will end up closer to the surface. Small values cause the projection to take longer to converge. Values are clamped to the range [0.0, large]. The default value is max spacing * 0.25 (expressed in physical space).

(Optional) ProjectVertexStepLengthRelaxationFactor: specifies the step length relaxation factor during vertex projection. The step length is multiplied by this factor each iteration to allow convergence. Values are clamped to the range [0.0, 1.0].The default value is 0.95.

(Optional) ProjectVertexMaximumNumberOfSteps: specifies the maximum number of steps used during vertex projection. The default value is 50.

References
[1] G. Herman and H. Liu, "Three-dimensional Display of Human organs from Computed Tomograms", Computer Graphics and Images Processing, Volume 9, Issue 1, Pages 1-21, 1979. [2] D. Gordon and J.K. Udupa, "Fast surface tracking in Three-dimensional Binary Images", Computer Vision, Graphics and Image Processing, Volume 45, Pages 196-214, 1989. [3] http://www2.imm.dtu.dk/~jab/gallery/polygonization.html

This implementation was taken from the Insight Journal: http://hdl.handle.net/10380/3186

Author
Dan Mueller, Philips Healthcare, dan dot muel at gmail dot com

Definition at line 114 of file itkCuberilleImageToMeshFilter.h.

Classes

class  VertexLookupMap
 
class  VertexLookupNode
 

Public Types

typedef
OutputMeshType::CellIdentifier 
CellIdentifier
 
typedef CellInterface
< OutputPixelType, CellTraits
CellInterfaceType
 
typedef
OutputMeshType::CellsContainer 
CellsContainer
 
typedef
OutputMeshType::CellsContainerPointer 
CellsContainerPointer
 
typedef OutputMeshType::CellTraits CellTraits
 
typedef SmartPointer< const SelfConstPointer
 
typedef GradientFilterType::Pointer GradientFilterPointer
 
typedef GradientImageFilter
< InputImageType
GradientFilterType
 
typedef GradientImageType::Pointer GradientImagePointer
 
typedef
GradientFilterType::OutputImageType 
GradientImageType
 
typedef
GradientInterpolatorType::Pointer 
GradientInterpolatorPointer
 
typedef
itk::VectorLinearInterpolateImageFunction
< GradientImageType
GradientInterpolatorType
 
typedef
GradientFilterType::OutputPixelType 
GradientPixelType
 
typedef InputImageType::IndexType IndexType
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef
ConstShapedNeighborhoodIterator
< InputImageType
InputImageIteratorType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef TInputImage InputImageType
 
typedef InputImageType::PixelType InputPixelType
 
typedef
InterpolatorType::OutputType 
InterpolatorOutputType
 
typedef InterpolatorType::Pointer InterpolatorPointer
 
typedef TInterpolator InterpolatorType
 
typedef OutputMeshType::Pointer OutputMeshPointer
 
typedef OutputMeshType::MeshTraits OutputMeshTraits
 
typedef TOutputMesh OutputMeshType
 
typedef OutputMeshTraits::PixelType OutputPixelType
 
typedef OutputMeshType::PointType OutputPointType
 
typedef SmartPointer< SelfPointer
 
typedef
OutputMeshType::PointIdentifier 
PointIdentifier
 
typedef
OutputMeshType::PointsContainer 
PointsContainer
 
typedef
OutputMeshType::PointsContainerPointer 
PointsContainerPointer
 
typedef OutputMeshType::PointType PointType
 
typedef
QuadrilateralCellType::SelfAutoPointer 
QuadrilateralAutoPointer
 
typedef
QuadrilateralCellType::CellAutoPointer 
QuadrilateralCellAutoPointer
 
typedef QuadrilateralCell
< CellInterfaceType
QuadrilateralCellType
 
typedef CuberilleImageToMeshFilter Self
 
typedef InputImageType::SizeType SizeType
 
typedef InputImageType::SpacingType SpacingType
 
typedef
InputImageType::SpacingValueType 
SpacingValueType
 
typedef ImageToMeshFilter
< TInputImage, TOutputMesh > 
Superclass
 
typedef
TriangleCellType::SelfAutoPointer 
TriangleAutoPointer
 
typedef
TriangleCellType::CellAutoPointer 
TriangleCellAutoPointer
 
typedef TriangleCell
< CellInterfaceType
TriangleCellType
 
- Public Types inherited from itk::ImageToMeshFilter< TInputImage, TOutputMesh >
typedef SmartPointer< const SelfConstPointer
 
typedef
ProcessObject::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TInputImage InputImageType
 
typedef OutputMeshType::Pointer OutputMeshPointer
 
typedef TOutputMesh OutputMeshType
 
typedef SmartPointer< SelfPointer
 
typedef ImageToMeshFilter 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 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 const char * GetNameOfClass () const
 
virtual void SetInput (const InputImageType *inputImage)
 
virtual InputPixelType GetIsoSurfaceValue ()
 
virtual void SetIsoSurfaceValue (InputPixelType _arg)
 
 itkGetObjectMacro (Interpolator, InterpolatorType)
 
virtual void SetInterpolator (InterpolatorType *_arg)
 
virtual bool GetGenerateTriangleFaces ()
 
virtual void SetGenerateTriangleFaces (bool _arg)
 
virtual void GenerateTriangleFacesOn ()
 
virtual void GenerateTriangleFacesOff ()
 
virtual bool GetProjectVerticesToIsoSurface ()
 
virtual void SetProjectVerticesToIsoSurface (bool _arg)
 
virtual void ProjectVerticesToIsoSurfaceOn ()
 
virtual void ProjectVerticesToIsoSurfaceOff ()
 
virtual double GetProjectVertexSurfaceDistanceThreshold ()
 
virtual void SetProjectVertexSurfaceDistanceThreshold (double _arg)
 
virtual double GetProjectVertexStepLength ()
 
virtual void SetProjectVertexStepLength (double _arg)
 
virtual double GetProjectVertexStepLengthRelaxationFactor ()
 
virtual void SetProjectVertexStepLengthRelaxationFactor (double _arg)
 
virtual unsigned int GetProjectVertexMaximumNumberOfSteps ()
 
virtual void SetProjectVertexMaximumNumberOfSteps (unsigned int _arg)
 
- Public Member Functions inherited from itk::ImageToMeshFilter< TInputImage, TOutputMesh >
OutputMeshTypeGetOutput ()
 
DataObject::Pointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
void SetInput (unsigned int idx, const InputImageType *input)
 
void SetInput (const InputImageType *input)
 
const InputImageTypeGetInput (unsigned int idx)
 
const InputImageTypeGetInput ()
 
- 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)
 
- 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 ()
 
MultiThreader * GetMultiThreader () 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::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

 CuberilleImageToMeshFilter ()
 
void GenerateData ()
 
virtual void GenerateOutputInformation ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
 ~CuberilleImageToMeshFilter ()
 
- Protected Member Functions inherited from itk::ImageToMeshFilter< TInputImage, TOutputMesh >
 ImageToMeshFilter ()
 
 ~ImageToMeshFilter ()
 
- Protected Member Functions inherited from itk::MeshSource< TOutputMesh >
virtual void GenerateInputRequestedRegion () override
 
 MeshSource ()
 
virtual ~MeshSource ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
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 ()
 
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 ()
 
- 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 Types

typedef VertexLookupMap
< OutputMeshType
VertexLookupMapType
 

Private Member Functions

 CuberilleImageToMeshFilter (const Self &)
 
void operator= (const Self &)
 
void ComputeGradientImage ()
 
void SetVerticesFromFace (unsigned int face, bool *vertexHasQuad)
 
IndexType GetVertexLookupIndex (unsigned int vertex, IndexType index)
 
void ProjectVertexToIsoSurface (PointType &vertex)
 
void AddVertex (PointIdentifier &id, IndexType index, const InputImageType *image, OutputMeshType *mesh)
 
void AddQuadFace (CellIdentifier &id, PointIdentifier f[4], OutputMeshType *mesh)
 

Private Attributes

bool m_GenerateTriangleFaces
 
GradientInterpolatorPointer m_GradientInterpolator
 
InterpolatorPointer m_Interpolator
 
InputPixelType m_IsoSurfaceValue
 
SpacingValueType m_MaxSpacing
 
unsigned int m_ProjectVertexMaximumNumberOfSteps
 
double m_ProjectVertexStepLength
 
double m_ProjectVertexStepLengthRelaxationFactor
 
double m_ProjectVertexSurfaceDistanceThreshold
 
bool m_ProjectVerticesToIsoSurface
 

Additional Inherited Members

- 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<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef OutputMeshType::CellIdentifier itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::CellIdentifier

Definition at line 141 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef CellInterface<OutputPixelType, CellTraits> itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::CellInterfaceType

Definition at line 142 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef OutputMeshType::CellsContainer itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::CellsContainer

Definition at line 139 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef OutputMeshType::CellsContainerPointer itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::CellsContainerPointer

Definition at line 138 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef OutputMeshType::CellTraits itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::CellTraits

Definition at line 135 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef SmartPointer<const Self> itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::ConstPointer

Definition at line 121 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef GradientFilterType::Pointer itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GradientFilterPointer

Definition at line 171 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef GradientImageFilter< InputImageType > itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GradientFilterType

Definition at line 169 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef GradientImageType::Pointer itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GradientImagePointer

Definition at line 173 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef GradientFilterType::OutputImageType itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GradientImageType

Definition at line 172 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef GradientInterpolatorType::Pointer itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GradientInterpolatorPointer

Definition at line 176 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef itk::VectorLinearInterpolateImageFunction< GradientImageType > itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GradientInterpolatorType

Definition at line 175 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef GradientFilterType::OutputPixelType itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GradientPixelType

Definition at line 174 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef InputImageType::IndexType itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::IndexType

Definition at line 157 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef InputImageType::ConstPointer itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::InputImageConstPointer

Definition at line 152 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef ConstShapedNeighborhoodIterator< InputImageType > itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::InputImageIteratorType

Other convenient typedefs.

Definition at line 165 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef InputImageType::Pointer itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::InputImagePointer

Definition at line 151 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef TInputImage itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::InputImageType

Definition at line 150 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef InputImageType::PixelType itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::InputPixelType

Definition at line 153 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef InterpolatorType::OutputType itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::InterpolatorOutputType

Definition at line 162 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef InterpolatorType::Pointer itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::InterpolatorPointer

Definition at line 161 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef TInterpolator itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::InterpolatorType

Definition at line 160 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef OutputMeshType::Pointer itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::OutputMeshPointer

Definition at line 131 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef OutputMeshType::MeshTraits itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::OutputMeshTraits

Definition at line 132 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef TOutputMesh itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::OutputMeshType

Some convenient typedefs.

Definition at line 127 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef OutputMeshTraits::PixelType itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::OutputPixelType

Definition at line 134 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef OutputMeshType::PointType itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::OutputPointType

Definition at line 133 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef SmartPointer<Self> itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::Pointer

Definition at line 120 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef OutputMeshType::PointIdentifier itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::PointIdentifier

Definition at line 140 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef OutputMeshType::PointsContainer itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::PointsContainer

Definition at line 137 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef OutputMeshType::PointsContainerPointer itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::PointsContainerPointer

Definition at line 136 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef OutputMeshType::PointType itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::PointType

Definition at line 158 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef QuadrilateralCellType::SelfAutoPointer itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::QuadrilateralAutoPointer

Definition at line 147 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef QuadrilateralCellType::CellAutoPointer itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::QuadrilateralCellAutoPointer

Definition at line 148 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef QuadrilateralCell<CellInterfaceType> itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::QuadrilateralCellType

Definition at line 146 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef CuberilleImageToMeshFilter itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::Self

Standard "Self" typedef.

Definition at line 118 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef InputImageType::SizeType itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::SizeType

Definition at line 154 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef InputImageType::SpacingType itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::SpacingType

Definition at line 155 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef InputImageType::SpacingValueType itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::SpacingValueType

Definition at line 156 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef ImageToMeshFilter< TInputImage, TOutputMesh > itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::Superclass

Definition at line 119 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef TriangleCellType::SelfAutoPointer itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::TriangleAutoPointer

Definition at line 144 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef TriangleCellType::CellAutoPointer itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::TriangleCellAutoPointer

Definition at line 145 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef TriangleCell<CellInterfaceType> itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::TriangleCellType

Definition at line 143 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
typedef VertexLookupMap< OutputMeshType > itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::VertexLookupMapType
private

Some convenient typedefs.

Definition at line 335 of file itkCuberilleImageToMeshFilter.h.

Constructor & Destructor Documentation

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::CuberilleImageToMeshFilter ( )
protected
template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::~CuberilleImageToMeshFilter ( )
protected
template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::CuberilleImageToMeshFilter ( const Self )
private

Member Function Documentation

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::AddQuadFace ( CellIdentifier id,
PointIdentifier  f[4],
OutputMeshType mesh 
)
inlineprivate

Private functions to implement the algorithm.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::AddVertex ( PointIdentifier id,
IndexType  index,
const InputImageType image,
OutputMeshType mesh 
)
inlineprivate

Private functions to implement the algorithm.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::ComputeGradientImage ( )
inlineprivate

Private functions to implement the algorithm.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
virtual::itk::LightObject::Pointer itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::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::MeshSource< TOutputMesh >.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GenerateData ( void  )
protectedvirtual

This method causes the filter to generate its output.

Reimplemented from itk::ProcessObject.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
virtual void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GenerateOutputInformation ( )
inlineprotectedvirtual

Prepare the output

Reimplemented from itk::ImageToMeshFilter< TInputImage, TOutputMesh >.

Definition at line 248 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
virtual void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GenerateTriangleFacesOff ( )
virtual

Get/set whether triangle or quadrilateral faces should be generated. True = triangle faces, False = quadrilateral faces. Default = true (triangle faces).

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
virtual void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GenerateTriangleFacesOn ( )
virtual

Get/set whether triangle or quadrilateral faces should be generated. True = triangle faces, False = quadrilateral faces. Default = true (triangle faces).

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
virtual bool itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GetGenerateTriangleFaces ( )
virtual

Get/set whether triangle or quadrilateral faces should be generated. True = triangle faces, False = quadrilateral faces. Default = true (triangle faces).

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
virtual InputPixelType itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GetIsoSurfaceValue ( )
virtual

Get/set the iso-surface value. This parameter specifies the value of the iso-surface for which to generate the mesh. Pixels equal to or less than this value are considered on the surface or inside the resultant mesh.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
virtual const char* itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageToMeshFilter< TInputImage, TOutputMesh >.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
virtual unsigned int itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GetProjectVertexMaximumNumberOfSteps ( )
virtual

Get/set the maximum number of steps used during vertex projection. Default = 50.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
virtual double itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GetProjectVertexStepLength ( )
virtual

Get/set the the initial step length for vertex projection. Values are clamped to the range [0.0, large]. Default = max spacing * 0.25 (expressed in physical space).

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
virtual double itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GetProjectVertexStepLengthRelaxationFactor ( )
virtual

Get/set the step length relaxation factor during vertex projection. The step length is multiplied by this factor each iteration to allow convergence. Values are clamped to the range [0.0, 1.0]. Default = 0.95.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
virtual double itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GetProjectVertexSurfaceDistanceThreshold ( )
virtual

Get/set the threshold for the "distance" from iso-surface during vertex projection. Note that the distance is actually measured in pixel value units (not space). The smaller this value, the closer the vertices will be to the iso-surface. Small values result in longer convergence time (i.e. slower). Values are clamped to the range [0.0, max pixel value]. Default = 0.5.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
virtual bool itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GetProjectVerticesToIsoSurface ( )
virtual

Get/set whether the vertices should be project to the iso-surface. Default = true.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
IndexType itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GetVertexLookupIndex ( unsigned int  vertex,
IndexType  index 
)
inlineprivate

Private functions to implement the algorithm.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::itkGetObjectMacro ( Interpolator  ,
InterpolatorType   
)

Get/set interpolate function.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
static Pointer itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::New ( )
static

Method for creation through the object factory.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::operator= ( const Self )
private
template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

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 >.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::ProjectVertexToIsoSurface ( PointType vertex)
inlineprivate

Private functions to implement the algorithm.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
virtual void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::ProjectVerticesToIsoSurfaceOff ( )
virtual

Get/set whether the vertices should be project to the iso-surface. Default = true.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
virtual void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::ProjectVerticesToIsoSurfaceOn ( )
virtual

Get/set whether the vertices should be project to the iso-surface. Default = true.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
virtual void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::SetGenerateTriangleFaces ( bool  _arg)
virtual

Get/set whether triangle or quadrilateral faces should be generated. True = triangle faces, False = quadrilateral faces. Default = true (triangle faces).

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
virtual void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::SetInput ( const InputImageType inputImage)
virtual
template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
virtual void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::SetInterpolator ( InterpolatorType _arg)
virtual

Get/set interpolate function.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
virtual void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::SetIsoSurfaceValue ( InputPixelType  _arg)
virtual

Get/set the iso-surface value. This parameter specifies the value of the iso-surface for which to generate the mesh. Pixels equal to or less than this value are considered on the surface or inside the resultant mesh.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
virtual void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::SetProjectVertexMaximumNumberOfSteps ( unsigned int  _arg)
virtual

Get/set the maximum number of steps used during vertex projection. Default = 50.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
virtual void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::SetProjectVertexStepLength ( double  _arg)
virtual

Get/set the the initial step length for vertex projection. Values are clamped to the range [0.0, large]. Default = max spacing * 0.25 (expressed in physical space).

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
virtual void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::SetProjectVertexStepLengthRelaxationFactor ( double  _arg)
virtual

Get/set the step length relaxation factor during vertex projection. The step length is multiplied by this factor each iteration to allow convergence. Values are clamped to the range [0.0, 1.0]. Default = 0.95.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
virtual void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::SetProjectVertexSurfaceDistanceThreshold ( double  _arg)
virtual

Get/set the threshold for the "distance" from iso-surface during vertex projection. Note that the distance is actually measured in pixel value units (not space). The smaller this value, the closer the vertices will be to the iso-surface. Small values result in longer convergence time (i.e. slower). Values are clamped to the range [0.0, max pixel value]. Default = 0.5.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
virtual void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::SetProjectVerticesToIsoSurface ( bool  _arg)
virtual

Get/set whether the vertices should be project to the iso-surface. Default = true.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::SetVerticesFromFace ( unsigned int  face,
bool *  vertexHasQuad 
)
inlineprivate

Private functions to implement the algorithm.

Member Data Documentation

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
bool itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::m_GenerateTriangleFaces
private

Definition at line 350 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
GradientInterpolatorPointer itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::m_GradientInterpolator
private

Definition at line 348 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
InterpolatorPointer itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::m_Interpolator
private

Definition at line 347 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
InputPixelType itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::m_IsoSurfaceValue
private

Definition at line 346 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
SpacingValueType itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::m_MaxSpacing
private

Definition at line 349 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
unsigned int itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::m_ProjectVertexMaximumNumberOfSteps
private

Definition at line 355 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
double itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::m_ProjectVertexStepLength
private

Definition at line 353 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
double itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::m_ProjectVertexStepLengthRelaxationFactor
private

Definition at line 354 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
double itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::m_ProjectVertexSurfaceDistanceThreshold
private

Definition at line 352 of file itkCuberilleImageToMeshFilter.h.

template<class TInputImage , class TOutputMesh , class TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
bool itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::m_ProjectVerticesToIsoSurface
private

Definition at line 351 of file itkCuberilleImageToMeshFilter.h.


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