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();
115 BinaryImageToLevelSetImageAdaptor( const
Self& ) ITK_DELETE_FUNCTION;
116 void operator = ( const
Self& ) ITK_DELETE_FUNCTION;
128 template< typename TInput, typename TOutput >
150 itkStaticConstMacro ( ImageDimension,
unsigned int,
151 InputImageType::ImageDimension );
192 void operator = (
const Self& );
198 template<
typename TInput,
typename TOutput >
204 WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >
231 itkStaticConstMacro ( ImageDimension,
unsigned int,
232 InputImageType::ImageDimension );
262 void Initialize() ITK_OVERRIDE;
269 virtual ~BinaryImageToLevelSetImageAdaptor();
273 BinaryImageToLevelSetImageAdaptor( const
Self& ) ITK_DELETE_FUNCTION;
274 void operator = ( const
Self& ) ITK_DELETE_FUNCTION;
280 void FindActiveLayer();
283 void FindPlusOneMinusOneLayer();
290 template< typename TInput >
291 class BinaryImageToLevelSetImageAdaptor<
301 typedef BinaryImageToLevelSetImageAdaptor
Self;
311 itkTypeMacro( BinaryImageToLevelSetImageAdaptor,
322 itkStaticConstMacro ( ImageDimension,
unsigned int,
323 InputImageType::ImageDimension );
354 void Initialize() ITK_OVERRIDE;
358 BinaryImageToLevelSetImageAdaptor();
361 ~BinaryImageToLevelSetImageAdaptor();
364 void FindActiveLayer();
368 BinaryImageToLevelSetImageAdaptor( const Self& ) ITK_DELETE_FUNCTION;
369 void operator = ( const Self& ) ITK_DELETE_FUNCTION;
376 template< typename TInput >
377 class BinaryImageToLevelSetImageAdaptor<
385 typedef BinaryImageToLevelSetImageAdaptor
Self;
396 itkTypeMacro( BinaryImageToLevelSetImageAdaptor,
407 itkStaticConstMacro ( ImageDimension,
unsigned int,
408 InputImageType::ImageDimension );
438 void Initialize() ITK_OVERRIDE;
442 BinaryImageToLevelSetImageAdaptor();
445 virtual ~BinaryImageToLevelSetImageAdaptor();
448 void FindActiveLayer();
451 void CreateMinimalInterface();
455 BinaryImageToLevelSetImageAdaptor( const Self& ) ITK_DELETE_FUNCTION;
456 void operator = ( const Self& ) ITK_DELETE_FUNCTION;
461 #ifndef ITK_MANUAL_INSTANTIATION
462 #include "itkBinaryImageToLevelSetImageAdaptor.hxx"
464 #endif // itkBinaryImageToLevelSetImageAdaptorBase_h
ImageRegionIteratorWithIndex< InputImageType > InputIteratorType
Light weight base class for most itk classes.
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
virtual ~BinaryImageToSparseLevelSetImageAdaptorBase()
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
SmartPointer< Self > Pointer
LevelSetLabelObjectType::LabelType LayerIdType