ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator > Class Template Reference

#include <itkCuberilleImageToMeshFilter.h>

Detailed Description

template<typename TInputImage, typename TOutputMesh, typename 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] https://www2.imm.dtu.dk/~jab/gallery/polygonization.html

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

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

Definition at line 115 of file itkCuberilleImageToMeshFilter.h.

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

Classes

class  VertexLookupMap
 
class  VertexLookupNode
 

Public Types

using CellIdentifier = typename OutputMeshType::CellIdentifier
 
using CellInterfaceType = CellInterface<OutputPixelType, CellTraits>
 
using CellsContainer = typename OutputMeshType::CellsContainer
 
using CellsContainerPointer = typename OutputMeshType::CellsContainerPointer
 
using CellTraits = typename OutputMeshType::CellTraits
 
using ConstPointer = SmartPointer<const Self>
 
using GradientFilterPointer = typename GradientFilterType::Pointer
 
using GradientFilterType
 
using GradientImagePointer = typename GradientImageType::Pointer
 
using GradientImageType = typename GradientFilterType::OutputImageType
 
using GradientInterpolatorPointer = typename GradientInterpolatorType::Pointer
 
using GradientInterpolatorType = itk::VectorLinearInterpolateImageFunction<GradientImageType>
 
using GradientPixelType = typename GradientFilterType::OutputPixelType
 
using IndexType = typename InputImageType::IndexType
 
using InputImageConstPointer = typename InputImageType::ConstPointer
 
using InputImageIteratorType = ConstShapedNeighborhoodIterator<InputImageType>
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageType = TInputImage
 
using InputPixelType = typename InputImageType::PixelType
 
using InterpolatorOutputType = typename InterpolatorType::OutputType
 
using InterpolatorPointer = typename InterpolatorType::Pointer
 
using InterpolatorType = TInterpolator
 
using OutputMeshPointer = typename OutputMeshType::Pointer
 
using OutputMeshTraits = typename OutputMeshType::MeshTraits
 
using OutputMeshType = TOutputMesh
 
using OutputPixelType = typename OutputMeshTraits::PixelType
 
using OutputPointType = typename OutputMeshType::PointType
 
using Pointer = SmartPointer<Self>
 
using PointIdentifier = typename OutputMeshType::PointIdentifier
 
using PointsContainer = typename OutputMeshType::PointsContainer
 
using PointsContainerPointer = typename OutputMeshType::PointsContainerPointer
 
using PointType = typename OutputMeshType::PointType
 
using PointVectorType = typename std::vector<PointIdentifier>
 
using QuadrilateralAutoPointer = typename QuadrilateralCellType::SelfAutoPointer
 
using QuadrilateralCellAutoPointer = typename QuadrilateralCellType::CellAutoPointer
 
using QuadrilateralCellType = QuadrilateralCell<CellInterfaceType>
 
using Self = CuberilleImageToMeshFilter
 
using SizeType = typename InputImageType::SizeType
 
using SpacingType = typename InputImageType::SpacingType
 
using SpacingValueType = typename InputImageType::SpacingValueType
 
using Superclass = ImageToMeshFilter<TInputImage, TOutputMesh>
 
using TriangleAutoPointer = typename TriangleCellType::SelfAutoPointer
 
using TriangleCellAutoPointer = typename TriangleCellType::CellAutoPointer
 
using TriangleCellType = TriangleCell<CellInterfaceType>
 
- Public Types inherited from itk::ImageToMeshFilter< TInputImage, TOutputMesh >
using ConstPointer = SmartPointer<const Self>
 
using DataObjectPointerArraySizeType = ProcessObject::DataObjectPointerArraySizeType
 
using InputImageConstPointer = typename InputImageType::ConstPointer
 
using InputImagePixelType = typename InputImageType::PixelType
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageRegionType = typename InputImageType::RegionType
 
using InputImageType = TInputImage
 
using OutputMeshPointer = typename OutputMeshType::Pointer
 
using OutputMeshType = TOutputMesh
 
using Pointer = SmartPointer<Self>
 
using Self = ImageToMeshFilter
 
using Superclass = MeshSource<TOutputMesh>
 
- Public Types inherited from itk::MeshSource< TOutputMesh >
using ConstPointer = SmartPointer<const Self>
 
using DataObjectIdentifierType = Superclass::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using OutputMeshPointer = typename OutputMeshType::Pointer
 
using OutputMeshType = TOutputMesh
 
using Pointer = SmartPointer<Self>
 
using Self = MeshSource
 
using Superclass = ProcessObject
 
using DataObjectPointerArraySizeType = ProcessObject::DataObjectPointerArraySizeType
 
- Public Types inherited from itk::ProcessObject
using ConstPointer = SmartPointer<const Self>
 
using DataObjectIdentifierType = DataObject::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArray = std::vector<DataObjectPointer>
 
using DataObjectPointerArraySizeType = DataObjectPointerArray::size_type
 
using NameArray = std::vector<DataObjectIdentifierType>
 
using Pointer = SmartPointer<Self>
 
using Self = ProcessObject
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer<const Self>
 
using Pointer = SmartPointer<Self>
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer<const Self>
 
using Pointer = SmartPointer<Self>
 
using Self = LightObject
 

Public Member Functions

void CalculateLabelsArray ()
 
virtual::itk::LightObject::Pointer CreateAnother () const
 
virtual void GenerateTriangleFacesOff ()
 
virtual void GenerateTriangleFacesOn ()
 
virtual bool GetGenerateTriangleFaces ()
 
virtual const InterpolatorType * GetInterpolator () const
 
virtual InputPixelType GetIsoSurfaceValue ()
 
virtual const char * GetNameOfClass () const
 
virtual unsigned int GetProjectVertexMaximumNumberOfSteps ()
 
virtual double GetProjectVertexStepLength ()
 
virtual double GetProjectVertexStepLengthRelaxationFactor ()
 
virtual double GetProjectVertexSurfaceDistanceThreshold ()
 
virtual bool GetProjectVerticesToIsoSurface ()
 
virtual bool GetSavePixelAsCellData ()
 
virtual void ProjectVerticesToIsoSurfaceOff ()
 
virtual void ProjectVerticesToIsoSurfaceOn ()
 
virtual void SavePixelAsCellDataOff ()
 
virtual void SavePixelAsCellDataOn ()
 
virtual void SetGenerateTriangleFaces (bool _arg)
 
virtual void SetInput (const InputImageType *inputImage)
 
void SetInput (unsigned int idx, const InputImageType *input)
 
virtual void SetInterpolator (InterpolatorType *_arg)
 
virtual void SetIsoSurfaceValue (InputPixelType _arg)
 
virtual void SetProjectVertexMaximumNumberOfSteps (unsigned int _arg)
 
virtual void SetProjectVertexStepLength (double _arg)
 
virtual void SetProjectVertexStepLengthRelaxationFactor (double _arg)
 
virtual void SetProjectVertexSurfaceDistanceThreshold (double _arg)
 
virtual void SetProjectVerticesToIsoSurface (bool _arg)
 
virtual void SetSavePixelAsCellData (bool _arg)
 
- Public Member Functions inherited from itk::ImageToMeshFilter< TInputImage, TOutputMesh >
void GenerateOutputInformation () override
 
OutputMeshType * GetOutput ()
 
DataObject::Pointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
void SetInput (unsigned int idx, const InputImageType *input)
 
void SetInput (const InputImageType *input)
 
const InputImageType * GetInput (unsigned int idx)
 
const InputImageType * GetInput ()
 
- Public Member Functions inherited from itk::MeshSource< TOutputMesh >
virtual::itk::LightObject::Pointer CreateAnother () const
 
OutputMeshType * GetOutput ()
 
OutputMeshType * GetOutput (unsigned int idx)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *graft)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *graft)
 
virtual void GraftOutput (DataObject *graft)
 
void SetOutput (TOutputMesh *output)
 
virtual void SetOutput (const DataObjectIdentifierType &name, DataObject *output)
 
DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *output)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreaderBase * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual DataObjectPointerArraySizeType GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual float GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
void IncrementProgress (float increment)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
void SetMultiThreader (MultiThreaderBase *threader)
 
virtual void SetNumberOfWorkUnitsFromThreadRatio (ThreadIdType ratio)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
virtual void SetReleaseDataFlag (bool val)
 
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 SetNumberOfWorkUnits (ThreadIdType numberOfWorkUnits)
 
virtual ThreadIdType GetNumberOfWorkUnits () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *cmd) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
LightObject::Pointer CreateAnother () const override
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
Command * GetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionary & GetMetaDataDictionary ()
 
const MetaDataDictionary & GetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStamp & GetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag) const
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
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 val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static constexpr bool UseGradientRecursiveGaussian = false
 
static constexpr bool UseAdvancedProjection = false
 
static constexpr bool UseLineSearchProjection = false
 

Protected Member Functions

 CuberilleImageToMeshFilter ()
 
void GenerateData () override
 
void GenerateOutputInformation () override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~CuberilleImageToMeshFilter () override
 
- Protected Member Functions inherited from itk::ImageToMeshFilter< TInputImage, TOutputMesh >
 ImageToMeshFilter ()
 
 ~ImageToMeshFilter () override=default
 
- Protected Member Functions inherited from itk::MeshSource< TOutputMesh >
void GenerateInputRequestedRegion () override
 
 MeshSource ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~MeshSource () override=default
 
- 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 GenerateOutputRequestedRegion (DataObject *output)
 
DataObject * GetInput (const DataObjectIdentifierType &key)
 
const DataObject * GetInput (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
 
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 ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 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 idx, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType idx, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetPrimaryInput (DataObject *object)
 
virtual void SetPrimaryOutput (DataObject *object)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyInputInformation () const
 
virtual void VerifyPreconditions () const
 
 ~ProcessObject () override
 
DataObject * GetInput (DataObjectPointerArraySizeType idx)
 
const DataObject * GetInput (DataObjectPointerArraySizeType idx) const
 
DataObject * GetPrimaryInput ()
 
const DataObject * GetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
DataObject * GetOutput (const DataObjectIdentifierType &key)
 
const DataObject * GetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName () const
 
DataObject * GetOutput (DataObjectPointerArraySizeType i)
 
const DataObject * GetOutput (DataObjectPointerArraySizeType i) const
 
DataObject * GetPrimaryOutput ()
 
const DataObject * GetPrimaryOutput () const
 
virtual bool GetThreaderUpdateProgress () const
 
virtual void ThreaderUpdateProgressOn ()
 
virtual void ThreaderUpdateProgressOff ()
 
virtual void SetThreaderUpdateProgress (bool arg)
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
 ~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 ()
 

Private Types

using TLabel = signed char
 
using TLabels = std::array<TLabel, 8>
 
using TLabelsArray = std::array<TLabels, 256>
 
using VertexLookupMapType = VertexLookupMap<OutputMeshType>
 

Private Member Functions

void AddQuadFace (CellIdentifier &id, std::array< PointIdentifier, 4 > f, OutputMeshType *mesh, const InputPixelType &pixel)
 
PointVectorType AddVertex (PointIdentifier &id, IndexType index, const InputImageType *image, OutputMeshType *mesh, const vcl_size_t numComponents)
 
vcl_size_t CalculateBitmaskIDForVertexIndex (const IndexType &vindex)
 
void ComputeGradientImage ()
 
IndexType GetVertexLookupIndex (unsigned int vertex, IndexType index)
 
void ProjectVertexToIsoSurface (PointType &vertex)
 
void SetVerticesFromFace (unsigned int face, std::array< bool, 8 > &vertexHasQuad)
 

Private Attributes

bool m_GenerateTriangleFaces { true }
 
GradientInterpolatorPointer m_GradientInterpolator
 
InterpolatorPointer m_Interpolator
 
InputPixelType m_IsoSurfaceValue
 
TLabelsArray m_LabelsArray
 
SpacingValueType m_MaxSpacing
 
unsigned int m_ProjectVertexMaximumNumberOfSteps { 50 }
 
double m_ProjectVertexStepLength { -1.0 }
 
double m_ProjectVertexStepLengthRelaxationFactor { 0.95 }
 
double m_ProjectVertexSurfaceDistanceThreshold { 0.5 }
 
bool m_ProjectVerticesToIsoSurface { true }
 
bool m_SavePixelAsCellData { false }
 

Additional Inherited Members

- Static Protected Member Functions inherited from itk::ProcessObject
template<typename TSourceObject>
static void MakeRequiredOutputs (TSourceObject &sourceObject, const DataObjectPointerArraySizeType numberOfRequiredOutputs)
 
static constexpr float progressFixedToFloat (uint32_t fixed)
 
static uint32_t progressFloatToFixed (float f)
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime {}
 
bool m_Updating {}
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount {}
 

Member Typedef Documentation

◆ CellIdentifier

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::CellIdentifier = typename OutputMeshType::CellIdentifier

Definition at line 155 of file itkCuberilleImageToMeshFilter.h.

◆ CellInterfaceType

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

Definition at line 156 of file itkCuberilleImageToMeshFilter.h.

◆ CellsContainer

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::CellsContainer = typename OutputMeshType::CellsContainer

Definition at line 152 of file itkCuberilleImageToMeshFilter.h.

◆ CellsContainerPointer

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::CellsContainerPointer = typename OutputMeshType::CellsContainerPointer

Definition at line 151 of file itkCuberilleImageToMeshFilter.h.

◆ CellTraits

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::CellTraits = typename OutputMeshType::CellTraits

Definition at line 148 of file itkCuberilleImageToMeshFilter.h.

◆ ConstPointer

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

Definition at line 124 of file itkCuberilleImageToMeshFilter.h.

◆ GradientFilterPointer

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GradientFilterPointer = typename GradientFilterType::Pointer

Definition at line 184 of file itkCuberilleImageToMeshFilter.h.

◆ GradientFilterType

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GradientFilterType
Initial value:
std::conditional_t<UseGradientRecursiveGaussian,
Computes the gradient of an image using directional derivatives.
Computes the gradient of an image by convolution with the first derivative of a Gaussian.

Definition at line 181 of file itkCuberilleImageToMeshFilter.h.

◆ GradientImagePointer

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GradientImagePointer = typename GradientImageType::Pointer

Definition at line 186 of file itkCuberilleImageToMeshFilter.h.

◆ GradientImageType

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GradientImageType = typename GradientFilterType::OutputImageType

Definition at line 185 of file itkCuberilleImageToMeshFilter.h.

◆ GradientInterpolatorPointer

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GradientInterpolatorPointer = typename GradientInterpolatorType::Pointer

Definition at line 189 of file itkCuberilleImageToMeshFilter.h.

◆ GradientInterpolatorType

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GradientInterpolatorType = itk::VectorLinearInterpolateImageFunction<GradientImageType>

Definition at line 188 of file itkCuberilleImageToMeshFilter.h.

◆ GradientPixelType

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GradientPixelType = typename GradientFilterType::OutputPixelType

Definition at line 187 of file itkCuberilleImageToMeshFilter.h.

◆ IndexType

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::IndexType = typename InputImageType::IndexType

Definition at line 171 of file itkCuberilleImageToMeshFilter.h.

◆ InputImageConstPointer

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::InputImageConstPointer = typename InputImageType::ConstPointer

Definition at line 166 of file itkCuberilleImageToMeshFilter.h.

◆ InputImageIteratorType

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::InputImageIteratorType = ConstShapedNeighborhoodIterator<InputImageType>

Other convenient type alias.

Definition at line 180 of file itkCuberilleImageToMeshFilter.h.

◆ InputImagePointer

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::InputImagePointer = typename InputImageType::Pointer

Definition at line 165 of file itkCuberilleImageToMeshFilter.h.

◆ InputImageType

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::InputImageType = TInputImage

Definition at line 164 of file itkCuberilleImageToMeshFilter.h.

◆ InputPixelType

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::InputPixelType = typename InputImageType::PixelType

Definition at line 167 of file itkCuberilleImageToMeshFilter.h.

◆ InterpolatorOutputType

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::InterpolatorOutputType = typename InterpolatorType::OutputType

Definition at line 177 of file itkCuberilleImageToMeshFilter.h.

◆ InterpolatorPointer

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::InterpolatorPointer = typename InterpolatorType::Pointer

Definition at line 176 of file itkCuberilleImageToMeshFilter.h.

◆ InterpolatorType

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::InterpolatorType = TInterpolator

Definition at line 175 of file itkCuberilleImageToMeshFilter.h.

◆ OutputMeshPointer

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::OutputMeshPointer = typename OutputMeshType::Pointer

Definition at line 144 of file itkCuberilleImageToMeshFilter.h.

◆ OutputMeshTraits

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::OutputMeshTraits = typename OutputMeshType::MeshTraits

Definition at line 145 of file itkCuberilleImageToMeshFilter.h.

◆ OutputMeshType

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::OutputMeshType = TOutputMesh

Some convenient type alias.

Definition at line 143 of file itkCuberilleImageToMeshFilter.h.

◆ OutputPixelType

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::OutputPixelType = typename OutputMeshTraits::PixelType

Definition at line 147 of file itkCuberilleImageToMeshFilter.h.

◆ OutputPointType

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::OutputPointType = typename OutputMeshType::PointType

Definition at line 146 of file itkCuberilleImageToMeshFilter.h.

◆ Pointer

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::Pointer = SmartPointer<Self>

Definition at line 123 of file itkCuberilleImageToMeshFilter.h.

◆ PointIdentifier

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::PointIdentifier = typename OutputMeshType::PointIdentifier

Definition at line 153 of file itkCuberilleImageToMeshFilter.h.

◆ PointsContainer

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::PointsContainer = typename OutputMeshType::PointsContainer

Definition at line 150 of file itkCuberilleImageToMeshFilter.h.

◆ PointsContainerPointer

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::PointsContainerPointer = typename OutputMeshType::PointsContainerPointer

Definition at line 149 of file itkCuberilleImageToMeshFilter.h.

◆ PointType

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::PointType = typename OutputMeshType::PointType

Definition at line 173 of file itkCuberilleImageToMeshFilter.h.

◆ PointVectorType

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::PointVectorType = typename std::vector<PointIdentifier>

Definition at line 154 of file itkCuberilleImageToMeshFilter.h.

◆ QuadrilateralAutoPointer

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::QuadrilateralAutoPointer = typename QuadrilateralCellType::SelfAutoPointer

Definition at line 161 of file itkCuberilleImageToMeshFilter.h.

◆ QuadrilateralCellAutoPointer

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::QuadrilateralCellAutoPointer = typename QuadrilateralCellType::CellAutoPointer

Definition at line 162 of file itkCuberilleImageToMeshFilter.h.

◆ QuadrilateralCellType

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::QuadrilateralCellType = QuadrilateralCell<CellInterfaceType>

Definition at line 160 of file itkCuberilleImageToMeshFilter.h.

◆ Self

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::Self = CuberilleImageToMeshFilter

Standard "Self" type alias.

Definition at line 121 of file itkCuberilleImageToMeshFilter.h.

◆ SizeType

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::SizeType = typename InputImageType::SizeType

Definition at line 168 of file itkCuberilleImageToMeshFilter.h.

◆ SpacingType

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::SpacingType = typename InputImageType::SpacingType

Definition at line 169 of file itkCuberilleImageToMeshFilter.h.

◆ SpacingValueType

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::SpacingValueType = typename InputImageType::SpacingValueType

Definition at line 170 of file itkCuberilleImageToMeshFilter.h.

◆ Superclass

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::Superclass = ImageToMeshFilter<TInputImage, TOutputMesh>

Definition at line 122 of file itkCuberilleImageToMeshFilter.h.

◆ TLabel

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::TLabel = signed char
private

Definition at line 423 of file itkCuberilleImageToMeshFilter.h.

◆ TLabels

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::TLabels = std::array<TLabel, 8>
private

Definition at line 424 of file itkCuberilleImageToMeshFilter.h.

◆ TLabelsArray

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::TLabelsArray = std::array<TLabels, 256>
private

Definition at line 425 of file itkCuberilleImageToMeshFilter.h.

◆ TriangleAutoPointer

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::TriangleAutoPointer = typename TriangleCellType::SelfAutoPointer

Definition at line 158 of file itkCuberilleImageToMeshFilter.h.

◆ TriangleCellAutoPointer

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::TriangleCellAutoPointer = typename TriangleCellType::CellAutoPointer

Definition at line 159 of file itkCuberilleImageToMeshFilter.h.

◆ TriangleCellType

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
using itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::TriangleCellType = TriangleCell<CellInterfaceType>

Definition at line 157 of file itkCuberilleImageToMeshFilter.h.

◆ VertexLookupMapType

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

Some convenient type alias.

Definition at line 384 of file itkCuberilleImageToMeshFilter.h.

Constructor & Destructor Documentation

◆ CuberilleImageToMeshFilter()

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::CuberilleImageToMeshFilter ( )
protected

Referenced by GetNameOfClass().

◆ ~CuberilleImageToMeshFilter()

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::~CuberilleImageToMeshFilter ( )
overrideprotected

Member Function Documentation

◆ AddQuadFace()

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::AddQuadFace ( CellIdentifier & id,
std::array< PointIdentifier, 4 > f,
OutputMeshType * mesh,
const InputPixelType & pixel )
inlineprivate

Add quadrilateral face to the given mesh. Increments cell identifier.

◆ AddVertex()

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
PointVectorType itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::AddVertex ( PointIdentifier & id,
IndexType index,
const InputImageType * image,
OutputMeshType * mesh,
const vcl_size_t numComponents )
inlineprivate

Add a vertex to the given mesh. Increments point identifier.

◆ CalculateBitmaskIDForVertexIndex()

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
vcl_size_t itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::CalculateBitmaskIDForVertexIndex ( const IndexType & vindex)
private

Calculate the local 2x2x2 bitmask for a given vertex index.

◆ CalculateLabelsArray()

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::CalculateLabelsArray ( )

Calculate connected components labels for all possible 2x2x2 binary images.

◆ ComputeGradientImage()

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

Private functions to implement the algorithm. Compute gradient image.

◆ CreateAnother()

template<typename TInputImage, typename TOutputMesh, typename 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::LightObject.

◆ GenerateData()

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

This method causes the filter to generate its output.

Reimplemented from itk::ProcessObject.

◆ GenerateOutputInformation()

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GenerateOutputInformation ( )
inlineoverrideprotectedvirtual

Generate the information describing the output data. The default implementation of this method will copy information from the input to the output. A filter may override this method if its output will have different information than its input. For instance, a filter that shrinks an image will need to provide an implementation for this method that changes the spacing of the pixels. Such filters should call their superclass' implementation of this method prior to changing the information values they need (i.e. GenerateOutputInformation() should call Superclass::GenerateOutputInformation() prior to changing the information.

Reimplemented from itk::ProcessObject.

Definition at line 267 of file itkCuberilleImageToMeshFilter.h.

◆ GenerateTriangleFacesOff()

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

◆ GenerateTriangleFacesOn()

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

◆ GetGenerateTriangleFaces()

template<typename TInputImage, typename TOutputMesh, typename 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).

◆ GetInterpolator()

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
virtual const InterpolatorType * itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::GetInterpolator ( ) const
virtual

Get/Set interpolate function.

◆ GetIsoSurfaceValue()

template<typename TInputImage, typename TOutputMesh, typename 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.

◆ GetNameOfClass()

template<typename TInputImage, typename TOutputMesh, typename 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 >.

References CuberilleImageToMeshFilter().

◆ GetProjectVertexMaximumNumberOfSteps()

template<typename TInputImage, typename TOutputMesh, typename 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.

◆ GetProjectVertexStepLength()

template<typename TInputImage, typename TOutputMesh, typename 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).

◆ GetProjectVertexStepLengthRelaxationFactor()

template<typename TInputImage, typename TOutputMesh, typename 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.

◆ GetProjectVertexSurfaceDistanceThreshold()

template<typename TInputImage, typename TOutputMesh, typename 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.

◆ GetProjectVerticesToIsoSurface()

template<typename TInputImage, typename TOutputMesh, typename 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.

◆ GetSavePixelAsCellData()

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

Get/Set whether the adjacent input pixel value should be saved as cell data in the output mesh. Default = false.

◆ GetVertexLookupIndex()

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

Get the vertex lookup index from the given index and vertex number.

◆ New()

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

Method for creation through the object factory.

◆ PrintSelf()

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::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::LightObject.

◆ ProjectVertexToIsoSurface()

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

Project vertex to the iso-surface by stepping along normal.

◆ ProjectVerticesToIsoSurfaceOff()

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

◆ ProjectVerticesToIsoSurfaceOn()

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

◆ SavePixelAsCellDataOff()

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

◆ SavePixelAsCellDataOn()

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

◆ SetGenerateTriangleFaces()

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

◆ SetInput() [1/2]

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
virtual void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::SetInput ( const InputImageType * inputImage)
virtual

◆ SetInput() [2/2]

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
void itk::ImageToMeshFilter< TInputImage, TOutputMesh >::SetInput ( unsigned int idx,
const InputImageType * input )

Accept the input image.

◆ SetInterpolator()

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
virtual void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::SetInterpolator ( InterpolatorType * _arg)
virtual

◆ SetIsoSurfaceValue()

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

◆ SetProjectVertexMaximumNumberOfSteps()

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

◆ SetProjectVertexStepLength()

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

◆ SetProjectVertexStepLengthRelaxationFactor()

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

◆ SetProjectVertexSurfaceDistanceThreshold()

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

◆ SetProjectVerticesToIsoSurface()

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

◆ SetSavePixelAsCellData()

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

◆ SetVerticesFromFace()

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
void itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::SetVerticesFromFace ( unsigned int face,
std::array< bool, 8 > & vertexHasQuad )
inlineprivate

Set a flag activating each vertex for the given face.

Member Data Documentation

◆ m_GenerateTriangleFaces

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
bool itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::m_GenerateTriangleFaces { true }
private

Definition at line 433 of file itkCuberilleImageToMeshFilter.h.

◆ m_GradientInterpolator

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

Definition at line 431 of file itkCuberilleImageToMeshFilter.h.

◆ m_Interpolator

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

Definition at line 430 of file itkCuberilleImageToMeshFilter.h.

◆ m_IsoSurfaceValue

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

Definition at line 429 of file itkCuberilleImageToMeshFilter.h.

◆ m_LabelsArray

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
TLabelsArray itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::m_LabelsArray
private

Definition at line 427 of file itkCuberilleImageToMeshFilter.h.

◆ m_MaxSpacing

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

Definition at line 432 of file itkCuberilleImageToMeshFilter.h.

◆ m_ProjectVertexMaximumNumberOfSteps

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
unsigned int itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::m_ProjectVertexMaximumNumberOfSteps { 50 }
private

Definition at line 439 of file itkCuberilleImageToMeshFilter.h.

◆ m_ProjectVertexStepLength

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
double itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::m_ProjectVertexStepLength { -1.0 }
private

Definition at line 437 of file itkCuberilleImageToMeshFilter.h.

◆ m_ProjectVertexStepLengthRelaxationFactor

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
double itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::m_ProjectVertexStepLengthRelaxationFactor { 0.95 }
private

Definition at line 438 of file itkCuberilleImageToMeshFilter.h.

◆ m_ProjectVertexSurfaceDistanceThreshold

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
double itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::m_ProjectVertexSurfaceDistanceThreshold { 0.5 }
private

Definition at line 436 of file itkCuberilleImageToMeshFilter.h.

◆ m_ProjectVerticesToIsoSurface

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
bool itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::m_ProjectVerticesToIsoSurface { true }
private

Definition at line 434 of file itkCuberilleImageToMeshFilter.h.

◆ m_SavePixelAsCellData

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
bool itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::m_SavePixelAsCellData { false }
private

Definition at line 435 of file itkCuberilleImageToMeshFilter.h.

◆ UseAdvancedProjection

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
bool itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::UseAdvancedProjection = false
staticconstexpr

Compile-time configuration flags (formerly preprocessor macros). Flip a flag to true and rebuild to enable the corresponding alternative algorithm path; the dead branch is dropped by the C++ compiler via if constexpr.

Definition at line 138 of file itkCuberilleImageToMeshFilter.h.

◆ UseGradientRecursiveGaussian

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
bool itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::UseGradientRecursiveGaussian = false
staticconstexpr

Compile-time configuration flags (formerly preprocessor macros). Flip a flag to true and rebuild to enable the corresponding alternative algorithm path; the dead branch is dropped by the C++ compiler via if constexpr.

Definition at line 137 of file itkCuberilleImageToMeshFilter.h.

◆ UseLineSearchProjection

template<typename TInputImage, typename TOutputMesh, typename TInterpolator = itk::LinearInterpolateImageFunction<TInputImage>>
bool itk::CuberilleImageToMeshFilter< TInputImage, TOutputMesh, TInterpolator >::UseLineSearchProjection = false
staticconstexpr

Compile-time configuration flags (formerly preprocessor macros). Flip a flag to true and rebuild to enable the corresponding alternative algorithm path; the dead branch is dropped by the C++ compiler via if constexpr.

Definition at line 139 of file itkCuberilleImageToMeshFilter.h.


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