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();
151 typename SplitLevelSetComputeIterationThreaderType::
Pointer m_SplitLevelSetComputeIterationThreader;
157 typename SplitDomainMapComputeIterationThreaderType::
Pointer m_SplitDomainMapComputeIterationThreader;
161 typename SplitLevelSetUpdateLevelSetsThreaderType::
Pointer m_SplitLevelSetUpdateLevelSetsThreader;
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& );
431 #ifndef ITK_MANUAL_INSTANTIATION
432 #include "itkLevelSetEvolution.hxx"
435 #endif // itkLevelSetEvolution_h
ImageRegionConstIteratorWithIndex< LevelSetImageType > LevelSetImageConstIteratorType
Superclass::InputImageType InputImageType
Superclass::StoppingCriterionPointer StoppingCriterionPointer
Superclass::InputImagePixelType InputImagePixelType
LevelSetType::LabelMapPointer LevelSetLabelMapPointer
Superclass::LevelSetOutputRealType LevelSetOutputRealType
LevelSetType::LayerType LevelSetLayerType
LevelSetType::LabelMapPointer LevelSetLabelMapPointer
Superclass::LevelSetInputType LevelSetInputType
Superclass::InputImageType InputImageType
LevelSetType::LabelMapType LevelSetLabelMapType
Superclass::EquationContainerPointer EquationContainerPointer
Superclass::IdListIterator IdListIterator
Superclass::LevelSetDataType LevelSetDataType
Superclass::EquationContainerPointer EquationContainerPointer
WhitakerSparseLevelSetImage< TOutput, VDimension > LevelSetType
Superclass::InputPixelRealType InputPixelRealType
UpdateLevelSetFilterType::Pointer UpdateLevelSetFilterPointer
Light weight base class for most itk classes.
Superclass::TermPointer TermPointer
ImageRegionConstIteratorWithIndex< InputImageType > InputImageConstIteratorType
Superclass::IdListImageType IdListImageType
Threade the UpdateLevelSets method.
Superclass::CacheImageType CacheImageType
Superclass::InputPixelRealType InputPixelRealType
Superclass::InputImageConstPointer InputImageConstPointer
Derived class for the shi representation of level-set function.
Superclass::IdListImageType IdListImageType
TermContainerType::LevelSetContainerType LevelSetContainerType
BinaryThresholdImageFilter< LevelSetImageType, LevelSetImageType > ThresholdFilterType
Superclass::LevelSetIdentifierType LevelSetIdentifierType
LevelSetDenseImage< TImage > LevelSetType
SmartPointer< Self > Pointer
Superclass::InputPixelRealType InputPixelRealType
Superclass::LayerType LayerType
Superclass::LevelSetContainerType LevelSetContainerType
Superclass::TermPointer TermPointer
Superclass::StoppingCriterionType StoppingCriterionType
Superclass::InputImagePixelType InputImagePixelType
Superclass::LabelMapType LabelMapType
Superclass::IdListIterator IdListIterator
Superclass::IdListConstIterator IdListConstIterator
Superclass::CacheImageType CacheImageType
Superclass::TermContainerType TermContainerType
SignedMaurerDistanceMapImageFilter< LevelSetImageType, LevelSetImageType > MaurerType
Superclass::IdListType IdListType
Superclass::TermContainerType TermContainerType
Class for partitioning of an ImageRegion.
Superclass::InputImageRegionType InputImageRegionType
Superclass::LevelSetInputType LevelSetInputType
Superclass::InputImageType InputImageType
LevelSetEvolutionBase< TEquationContainer, LevelSetType > Superclass
Superclass::IdListType IdListType
ShiSparseLevelSetImage< VDimension > LevelSetType
Superclass::StoppingCriterionPointer StoppingCriterionPointer
SmartPointer< const Self > ConstPointer
Superclass::IdListType IdListType
Superclass::IdListImageType IdListImageType
Superclass::IdListType IdListType
LevelSetEvolutionBase< TEquationContainer, LevelSetType > Superclass
Superclass::LevelSetContainerType LevelSetContainerType
Superclass::InputImagePixelType InputImagePixelType
Superclass::IdListIterator IdListIterator
Superclass::TermContainerPointer TermContainerPointer
A multi-dimensional iterator templated over image type that walks an image region and is specialized ...
Superclass::InputImageRegionType InputImageRegionType
Class for iterating and evolving the level-set function.
Superclass::TermContainerPointer TermContainerPointer
LevelSetType::LabelMapType LevelSetLabelMapType
This filter calculates the Euclidean distance transform of a binary image in linear time for arbitrar...
Binarize an input image by thresholding.
Superclass::LevelSetOutputRealType LevelSetOutputRealType
Thread the ComputeIteration method.
Superclass::TermType TermType
Superclass::LevelSetOutputType LevelSetOutputType
Superclass::InputPixelRealType InputPixelRealType
Derived class for the Malcolm representation of level-set function.
Superclass::DomainMapImageFilterType DomainMapImageFilterType
ImageRegionIteratorWithIndex< LevelSetImageType > LevelSetImageIteratorType
Superclass::LevelSetOutputType LevelSetOutputType
Superclass::LevelSetContainerType LevelSetContainerType
Derived class for the sparse-field representation of level-set function.
Superclass::EquationContainerType EquationContainerType
UpdateWhitakerSparseLevelSet< ImageDimension, LevelSetOutputType, EquationContainerType > UpdateLevelSetFilterType
ImageRegionConstIteratorWithIndex< InputImageType > InputImageConstIteratorType
Superclass::InputImageRegionType InputImageRegionType
Superclass::TermPointer TermPointer
A multi-dimensional iterator templated over image type that walks pixels within a region and is speci...
LevelSetType::LayerType LevelSetLayerType
Superclass::StoppingCriterionType StoppingCriterionType
Superclass::LayerIterator LayerIterator
Superclass::LayerType LayerType
Superclass::DomainMapImageFilterType DomainMapImageFilterType
Base class for the "dense" representation of a level-set function on one image.
Superclass::EquationContainerPointer EquationContainerPointer
Superclass::LevelSetOutputRealType LevelSetOutputRealType
LevelSetType::LayerType LevelSetLayerType
Superclass::CacheImageType CacheImageType
Superclass::IdListIterator IdListIterator
UpdateMalcolmSparseLevelSet< ImageDimension, EquationContainerType > UpdateLevelSetFilterType
Superclass::StoppingCriterionType StoppingCriterionType
LevelSetType::LayerIterator LevelSetLayerIterator
Superclass::LevelSetIdentifierType LevelSetIdentifierType
Superclass::InputImageConstPointer InputImageConstPointer
Superclass::StoppingCriterionType StoppingCriterionType
Superclass::DomainMapImageFilterType DomainMapImageFilterType
Superclass::EquationContainerPointer EquationContainerPointer
Partitions an iterator range for threading.
Superclass::TermContainerPointer TermContainerPointer
unsigned int ThreadIdType
std::map< IdentifierType, LevelSetLayerType * > m_UpdateBuffer
Superclass::CacheImageType CacheImageType
Superclass::DomainMapImageFilterType DomainMapImageFilterType
Superclass::LevelSetIdentifierType LevelSetIdentifierType
Superclass::LevelSetDataType LevelSetDataType
Base class for updating the level-set function.
SmartPointer< Self > Pointer
Superclass::InputImagePixelType InputImagePixelType
Base class for updating the Shi representation of level-set function.
Superclass::LevelSetInputType LevelSetInputType
Superclass::InputImageType InputImageType
SmartPointer< const Self > ConstPointer
MalcolmSparseLevelSetImage< VDimension > LevelSetType
ImageRegionConstIteratorWithIndex< InputImageType > InputImageConstIteratorType
LevelSetType::LabelMapType LevelSetLabelMapType
Superclass::StoppingCriterionPointer StoppingCriterionPointer
LevelSetContainerType::IdListType IdListType
Superclass::LabelMapType LabelMapType
std::pair< LevelSetInputType, LevelSetOutputType > NodePairType
Superclass::LevelSetIdentifierType LevelSetIdentifierType
Superclass::TermType TermType
DomainMapImageFilterType::DomainMapType::const_iterator DomainMapConstIteratorType
ImageRegionConstIteratorWithIndex< InputImageType > InputImageConstIteratorType
UpdateLevelSetFilterType::Pointer UpdateLevelSetFilterPointer
TEquationContainer EquationContainerType
SmartPointer< Self > Pointer
SmartPointer< Self > Pointer
Superclass::InputImageConstPointer InputImageConstPointer
Superclass::TermContainerPointer TermContainerPointer
Superclass::InputImageRegionType InputImageRegionType
Superclass::LevelSetDataType LevelSetDataType
Superclass::LayerType LayerType
LevelSetType::ImageType LevelSetImageType
Superclass::LevelSetOutputType LevelSetOutputType
Superclass::EquationContainerType EquationContainerType
Superclass::LevelSetOutputRealType LevelSetOutputRealType
Superclass::StoppingCriterionPointer StoppingCriterionPointer
Superclass::TermContainerType TermContainerType
UpdateLevelSetFilterType::Pointer UpdateLevelSetFilterPointer
SmartPointer< const Self > ConstPointer
MaurerType::Pointer MaurerPointer
Superclass::LevelSetContainerType LevelSetContainerType
ThresholdFilterType::Pointer ThresholdFilterPointer
Superclass::TermContainerType TermContainerType
Superclass::EquationContainerType EquationContainerType
UpdateShiSparseLevelSet< ImageDimension, EquationContainerType > UpdateLevelSetFilterType
Superclass::TermPointer TermPointer
LevelSetEvolutionBase< TEquationContainer, LevelSetType > Superclass
Superclass::IdListImageType IdListImageType
Superclass::TermType TermType
Superclass::LevelSetOutputType LevelSetOutputType
LevelSetEvolutionBase< TEquationContainer, LevelSetType > Superclass
Superclass::TermType TermType
Superclass::LevelSetDataType LevelSetDataType
SmartPointer< const Self > ConstPointer
LevelSetType::LabelMapPointer LevelSetLabelMapPointer
Superclass::InputImageConstPointer InputImageConstPointer
Base class for updating the Malcolm representation of level-set function.
Superclass::LabelMapType LabelMapType
Class for iterating and evolving the dense level-set function.
Superclass::EquationContainerType EquationContainerType