19 #ifndef itkBinaryImageToLevelSetImageAdaptor_h
20 #define itkBinaryImageToLevelSetImageAdaptor_h
49 template<
typename TInputImage,
typename TLevelSet >
56 template<
typename TInputImage,
typename TLevelSetImage >
62 LevelSetDenseImage< TLevelSetImage > >
87 itkStaticConstMacro ( ImageDimension,
unsigned int,
88 InputImageType::ImageDimension );
105 void Initialize() ITK_OVERRIDE;
112 virtual ~BinaryImageToLevelSetImageAdaptor() ITK_OVERRIDE;
115 ITK_DISALLOW_COPY_AND_ASSIGN(BinaryImageToLevelSetImageAdaptor);
127 template< typename TInput, typename TOutput >
149 itkStaticConstMacro ( ImageDimension,
unsigned int,
150 InputImageType::ImageDimension );
191 void operator = (
const Self& );
197 template<
typename TInput,
typename TOutput >
203 WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >
230 itkStaticConstMacro ( ImageDimension,
unsigned int,
231 InputImageType::ImageDimension );
261 void Initialize() ITK_OVERRIDE;
268 virtual ~BinaryImageToLevelSetImageAdaptor() ITK_OVERRIDE;
272 ITK_DISALLOW_COPY_AND_ASSIGN(BinaryImageToLevelSetImageAdaptor);
278 void FindActiveLayer();
281 void FindPlusOneMinusOneLayer();
288 template< typename TInput >
289 class ITK_TEMPLATE_EXPORT BinaryImageToLevelSetImageAdaptor<
299 typedef BinaryImageToLevelSetImageAdaptor
Self;
309 itkTypeMacro( BinaryImageToLevelSetImageAdaptor,
320 itkStaticConstMacro ( ImageDimension,
unsigned int,
321 InputImageType::ImageDimension );
352 void Initialize() ITK_OVERRIDE;
356 BinaryImageToLevelSetImageAdaptor();
359 ~BinaryImageToLevelSetImageAdaptor() ITK_OVERRIDE;
362 void FindActiveLayer();
366 ITK_DISALLOW_COPY_AND_ASSIGN(BinaryImageToLevelSetImageAdaptor);
373 template< typename TInput >
374 class ITK_TEMPLATE_EXPORT BinaryImageToLevelSetImageAdaptor<
382 typedef BinaryImageToLevelSetImageAdaptor
Self;
393 itkTypeMacro( BinaryImageToLevelSetImageAdaptor,
404 itkStaticConstMacro ( ImageDimension,
unsigned int,
405 InputImageType::ImageDimension );
435 void Initialize() ITK_OVERRIDE;
439 BinaryImageToLevelSetImageAdaptor();
442 virtual ~BinaryImageToLevelSetImageAdaptor() ITK_OVERRIDE;
445 void FindActiveLayer();
448 void CreateMinimalInterface();
452 ITK_DISALLOW_COPY_AND_ASSIGN(BinaryImageToLevelSetImageAdaptor);
457 #ifndef ITK_MANUAL_INSTANTIATION
458 #include "itkBinaryImageToLevelSetImageAdaptor.hxx"
460 #endif // itkBinaryImageToLevelSetImageAdaptorBase_h
ImageRegionIteratorWithIndex< InputImageType > InputIteratorType
Light weight base class for most itk classes.
virtual ~BinaryImageToSparseLevelSetImageAdaptorBase() override
Superclass::LevelSetPointer LevelSetPointer
Derived class for the shi representation of level-set function.
LevelSetType::LabelObjectLengthType LevelSetLabelObjectLengthType
SmartPointer< const Self > ConstPointer
std::pair< LevelSetInputType, LevelSetOutputType > LayerPairType
InternalImageType::Pointer InternalImagePointer
Superclass::InputImageRegionType InputImageRegionType
LevelSetLabelMapPointer m_LabelMap
LevelSetType::LayerConstIterator LevelSetLayerConstIterator
LevelSetType::OutputType LevelSetOutputType
BinaryImageToSparseLevelSetImageAdaptorBase()
ImageRegionIteratorWithIndex< InternalImageType > InternalIteratorType
A neighborhood iterator which can take on an arbitrary shape.
Superclass::InputImageType InputImageType
Superclass::InputPixelRealType InputPixelRealType
LevelSetType::LabelObjectPointer LevelSetLabelObjectPointer
BinaryImageToSparseLevelSetImageAdaptorBase Self
Derived class for the Malcolm representation of level-set function.
LevelSetType::InputType LevelSetInputType
Derived class for the sparse-field representation of level-set function.
LevelSetType::LabelObjectLineType LevelSetLabelObjectLineType
A multi-dimensional iterator templated over image type that walks pixels within a region and is speci...
Base class for the "dense" representation of a level-set function on one image.
InternalImagePointer m_InternalImage
LevelSetType::LabelMapType LevelSetLabelMapType
Superclass::InputImagePixelType InputImagePixelType
Image< signed char, ImageDimension > InternalImageType
ShapedNeighborhoodIterator< InternalImageType > NeighborhoodIteratorType
Superclass::LevelSetType LevelSetType
BinaryImageToLevelSetImageAdaptorBase< TInput, TOutput > Superclass
LevelSetType::LabelObjectType LevelSetLabelObjectType
Base class for filters that take an image as input and produce an image as output.
Abstract class for converting binary image to sparse level-set.
Superclass::InputImageIndexType InputImageIndexType
LevelSetType::LabelMapPointer LevelSetLabelMapPointer
Define additional traits for native types such as int or float.
Base class for most ITK classes.
Superclass::InputImagePointer InputImagePointer
Templated n-dimensional image class.
LevelSetType::LayerType LevelSetLayerType
LevelSetType::LayerIterator LevelSetLayerIterator
ImageBaseType::IndexType IndexType
SmartPointer< Self > Pointer
LevelSetLabelObjectType::LabelType LayerIdType