18 #ifndef itkLevelSetEvolution_h 19 #define itkLevelSetEvolution_h 47 template<
typename TEquationContainer,
typename TLevelSet >
51 template<
typename TEquationContainer,
typename TImage >
75 typedef typename Superclass::TermType
TermType;
84 itkStaticConstMacro ( ImageDimension,
unsigned int, Superclass::ImageDimension );
130 virtual void AllocateUpdateBuffer() ITK_OVERRIDE;
133 virtual
void ComputeIteration() ITK_OVERRIDE;
136 virtual
void ComputeTimeStepForNextIteration() ITK_OVERRIDE;
139 virtual
void UpdateLevelSets() ITK_OVERRIDE;
142 virtual
void UpdateEquations() ITK_OVERRIDE;
145 void ReinitializeToSignedDistance();
147 typename LevelSetContainerType::Pointer m_UpdateBuffer;
151 typename SplitLevelSetComputeIterationThreaderType::Pointer m_SplitLevelSetComputeIterationThreader;
157 typename SplitDomainMapComputeIterationThreaderType::Pointer m_SplitDomainMapComputeIterationThreader;
161 typename SplitLevelSetUpdateLevelSetsThreaderType::Pointer m_SplitLevelSetUpdateLevelSetsThreader;
164 const IdListType * m_IdListToProcessWhenThreading;
168 template< typename TEquationContainer, typename TOutput,
unsigned int VDimension >
200 itkStaticConstMacro ( ImageDimension,
unsigned int, Superclass::ImageDimension );
240 typedef std::pair< LevelSetInputType, LevelSetOutputType >
NodePairType;
247 virtual void AllocateUpdateBuffer() ITK_OVERRIDE;
250 virtual
void ComputeIteration() ITK_OVERRIDE;
253 virtual
void ComputeTimeStepForNextIteration() ITK_OVERRIDE;
256 virtual
void UpdateLevelSets() ITK_OVERRIDE;
259 virtual
void UpdateEquations() ITK_OVERRIDE;
264 typename SplitLevelSetComputeIterationThreaderType::Pointer m_SplitLevelSetComputeIterationThreader;
268 void operator = ( const Self& );
273 template< typename TEquationContainer,
unsigned int VDimension >
307 itkStaticConstMacro ( ImageDimension,
unsigned int, Superclass::ImageDimension );
342 virtual void UpdateLevelSets() ITK_OVERRIDE;
345 virtual
void UpdateEquations() ITK_OVERRIDE;
349 void operator = ( const Self& );
353 template< typename TEquationContainer,
unsigned int VDimension >
386 itkStaticConstMacro ( ImageDimension,
unsigned int, Superclass::ImageDimension );
421 virtual void UpdateLevelSets() ITK_OVERRIDE;
423 virtual
void UpdateEquations() ITK_OVERRIDE;
427 void operator = ( const Self& ) ITK_DELETE_FUNCTION;
431 #ifndef ITK_MANUAL_INSTANTIATION 432 #include "itkLevelSetEvolution.hxx" 435 #endif // itkLevelSetEvolution_h Superclass::IdListConstIterator IdListConstIterator
LevelSetType::LabelMapPointer LevelSetLabelMapPointer
Superclass::StoppingCriterionType StoppingCriterionType
Superclass::TermType TermType
Superclass::TermContainerPointer TermContainerPointer
Superclass::LevelSetDataType LevelSetDataType
WhitakerSparseLevelSetImage< TOutput, VDimension > LevelSetType
UpdateLevelSetFilterType::Pointer UpdateLevelSetFilterPointer
Superclass::InputImageConstPointer InputImageConstPointer
Superclass::EquationContainerPointer EquationContainerPointer
Superclass::TermPointer TermPointer
ImageRegionConstIteratorWithIndex< LevelSetImageType > LevelSetImageConstIteratorType
Threade the UpdateLevelSets method.
Superclass::LevelSetContainerType LevelSetContainerType
Superclass::CacheImageType CacheImageType
Superclass::TermPointer TermPointer
Superclass::DomainMapImageFilterType DomainMapImageFilterType
Superclass::TermContainerType TermContainerType
Superclass::InputImageRegionType InputImageRegionType
Derived class for the shi representation of level-set function.
Superclass::StoppingCriterionPointer StoppingCriterionPointer
Superclass::TermPointer TermPointer
TermContainerType::LevelSetContainerType LevelSetContainerType
ImageRegionConstIteratorWithIndex< InputImageType > InputImageConstIteratorType
SmartPointer< Self > Pointer
Superclass::LayerType LayerType
LevelSetEvolutionBase< TEquationContainer, LevelSetType > Superclass
Superclass::StoppingCriterionType StoppingCriterionType
Superclass::InputImagePixelType InputImagePixelType
Superclass::LabelMapType LabelMapType
Superclass::IdListIterator IdListIterator
Superclass::EquationContainerPointer EquationContainerPointer
Superclass::IdListType IdListType
Class for partitioning of an ImageRegion.
ImageRegionIteratorWithIndex< LevelSetImageType > LevelSetImageIteratorType
MaurerType::Pointer MaurerPointer
Superclass::LevelSetDataType LevelSetDataType
Superclass::LevelSetInputType LevelSetInputType
Superclass::DomainMapImageFilterType DomainMapImageFilterType
LevelSetEvolutionBase< TEquationContainer, LevelSetType > Superclass
Superclass::IdListType IdListType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
Superclass::LevelSetInputType LevelSetInputType
Superclass::InputImagePixelType InputImagePixelType
Superclass::IdListImageType IdListImageType
Superclass::TermContainerPointer TermContainerPointer
Superclass::LevelSetOutputRealType LevelSetOutputRealType
Superclass::LevelSetDataType LevelSetDataType
Superclass::InputImageConstPointer InputImageConstPointer
MalcolmSparseLevelSetImage< VDimension > LevelSetType
Superclass::LevelSetContainerType LevelSetContainerType
Superclass::IdListIterator IdListIterator
Superclass::IdListImageType IdListImageType
Superclass::InputImageType InputImageType
Superclass::IdListIterator IdListIterator
Superclass::LevelSetContainerType LevelSetContainerType
ShiSparseLevelSetImage< VDimension > LevelSetType
Superclass::LevelSetOutputType LevelSetOutputType
UpdateShiSparseLevelSet< ImageDimension, EquationContainerType > UpdateLevelSetFilterType
Superclass::LevelSetInputType LevelSetInputType
A multi-dimensional iterator templated over image type that walks an image region and is specialized ...
Class for iterating and evolving the level-set function.
Superclass::TermContainerPointer TermContainerPointer
LevelSetType::LabelMapType LevelSetLabelMapType
UpdateMalcolmSparseLevelSet< ImageDimension, EquationContainerType > UpdateLevelSetFilterType
This filter calculates the Euclidean distance transform of a binary image in linear time for arbitrar...
Binarize an input image by thresholding.
Thread the ComputeIteration method.
Superclass::TermType TermType
Superclass::EquationContainerPointer EquationContainerPointer
Superclass::IdListType IdListType
Superclass::InputPixelRealType InputPixelRealType
Derived class for the Malcolm representation of level-set function.
ImageRegionConstIteratorWithIndex< InputImageType > InputImageConstIteratorType
Superclass::StoppingCriterionType StoppingCriterionType
Superclass::LevelSetOutputRealType LevelSetOutputRealType
Superclass::LevelSetOutputType LevelSetOutputType
Derived class for the sparse-field representation of level-set function.
Superclass::LevelSetContainerType LevelSetContainerType
Superclass::InputPixelRealType InputPixelRealType
UpdateWhitakerSparseLevelSet< ImageDimension, LevelSetOutputType, EquationContainerType > UpdateLevelSetFilterType
Superclass::LevelSetOutputType LevelSetOutputType
BinaryThresholdImageFilter< LevelSetImageType, LevelSetImageType > ThresholdFilterType
A multi-dimensional iterator templated over image type that walks pixels within a region and is speci...
LevelSetType::LayerType LevelSetLayerType
SmartPointer< Self > Pointer
LevelSetType::LayerType LevelSetLayerType
Superclass::InputImagePixelType InputImagePixelType
Superclass::LayerIterator LayerIterator
Superclass::LayerType LayerType
Superclass::LevelSetOutputRealType LevelSetOutputRealType
Base class for the "dense" representation of a level-set function on one image.
Superclass::EquationContainerPointer EquationContainerPointer
Superclass::CacheImageType CacheImageType
UpdateLevelSetFilterType::Pointer UpdateLevelSetFilterPointer
DomainMapImageFilterType::DomainMapType::const_iterator DomainMapConstIteratorType
Superclass::InputImageType InputImageType
Partitions an iterator range for threading.
unsigned int ThreadIdType
std::map< IdentifierType, LevelSetLayerType * > m_UpdateBuffer
Superclass::CacheImageType CacheImageType
Superclass::DomainMapImageFilterType DomainMapImageFilterType
Superclass::LevelSetDataType LevelSetDataType
SignedMaurerDistanceMapImageFilter< LevelSetImageType, LevelSetImageType > MaurerType
Base class for updating the level-set function.
UpdateLevelSetFilterType::Pointer UpdateLevelSetFilterPointer
LevelSetType::ImageType LevelSetImageType
Superclass::InputImageConstPointer InputImageConstPointer
Base class for updating the Shi representation of level-set function.
SmartPointer< Self > Pointer
Superclass::InputImageType InputImageType
Superclass::IdListImageType IdListImageType
Superclass::LevelSetIdentifierType LevelSetIdentifierType
Superclass::InputImagePixelType InputImagePixelType
LevelSetType::LabelMapType LevelSetLabelMapType
Superclass::StoppingCriterionPointer StoppingCriterionPointer
LevelSetContainerType::IdListType IdListType
Superclass::TermType TermType
Superclass::LabelMapType LabelMapType
std::pair< LevelSetInputType, LevelSetOutputType > NodePairType
Superclass::StoppingCriterionPointer StoppingCriterionPointer
Superclass::LevelSetIdentifierType LevelSetIdentifierType
Superclass::IdListType IdListType
Superclass::DomainMapImageFilterType DomainMapImageFilterType
Superclass::InputPixelRealType InputPixelRealType
Superclass::LevelSetOutputType LevelSetOutputType
ImageRegionConstIteratorWithIndex< InputImageType > InputImageConstIteratorType
Superclass::TermContainerType TermContainerType
Superclass::CacheImageType CacheImageType
Superclass::LevelSetIdentifierType LevelSetIdentifierType
LevelSetType::LayerType LevelSetLayerType
SmartPointer< const Self > ConstPointer
Superclass::InputImageConstPointer InputImageConstPointer
LevelSetDenseImage< TImage > LevelSetType
ThresholdFilterType::Pointer ThresholdFilterPointer
Superclass::TermContainerPointer TermContainerPointer
Superclass::InputImageRegionType InputImageRegionType
Superclass::LayerType LayerType
Superclass::EquationContainerType EquationContainerType
Superclass::LevelSetOutputRealType LevelSetOutputRealType
Superclass::EquationContainerType EquationContainerType
Superclass::TermContainerType TermContainerType
Superclass::TermContainerType TermContainerType
Superclass::InputImageRegionType InputImageRegionType
LevelSetType::LabelMapType LevelSetLabelMapType
Superclass::TermType TermType
SmartPointer< const Self > ConstPointer
Superclass::EquationContainerType EquationContainerType
Superclass::InputImageRegionType InputImageRegionType
Superclass::LevelSetIdentifierType LevelSetIdentifierType
LevelSetType::LayerIterator LevelSetLayerIterator
Superclass::EquationContainerType EquationContainerType
Superclass::IdListIterator IdListIterator
ImageRegionConstIteratorWithIndex< InputImageType > InputImageConstIteratorType
Superclass::IdListImageType IdListImageType
LevelSetEvolutionBase< TEquationContainer, LevelSetType > Superclass
Superclass::StoppingCriterionType StoppingCriterionType
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
Superclass::InputImageType InputImageType
Base class for updating the Malcolm representation of level-set function.
Superclass::LabelMapType LabelMapType
Superclass::InputPixelRealType InputPixelRealType
Class for iterating and evolving the dense level-set function.
LevelSetEvolutionBase< TEquationContainer, LevelSetType > Superclass
Superclass::TermPointer TermPointer
LevelSetType::LabelMapPointer LevelSetLabelMapPointer
SmartPointer< const Self > ConstPointer
LevelSetType::LabelMapPointer LevelSetLabelMapPointer
Superclass::StoppingCriterionPointer StoppingCriterionPointer