19 #ifndef itkBinaryImageToLevelSetImageAdaptor_h
20 #define itkBinaryImageToLevelSetImageAdaptor_h
36 template<
typename TInputImage,
typename TLevelSet >
44 template<
typename TInputImage,
typename TLevelSetImage >
50 LevelSetDenseImage< TLevelSetImage > >
75 itkStaticConstMacro ( ImageDimension,
unsigned int,
76 InputImageType::ImageDimension );
93 void Initialize() ITK_OVERRIDE;
100 virtual ~BinaryImageToLevelSetImageAdaptor();
103 BinaryImageToLevelSetImageAdaptor( const
Self& );
104 void operator = ( const Self& );
111 template< typename TInput, typename TOutput >
133 itkStaticConstMacro ( ImageDimension,
unsigned int,
134 InputImageType::ImageDimension );
175 void operator = (
const Self& );
179 template<
typename TInput,
typename TOutput >
185 WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >
212 itkStaticConstMacro ( ImageDimension,
unsigned int,
213 InputImageType::ImageDimension );
243 void Initialize() ITK_OVERRIDE;
250 virtual ~BinaryImageToLevelSetImageAdaptor();
254 BinaryImageToLevelSetImageAdaptor( const
Self& );
255 void operator = ( const Self& );
261 void FindActiveLayer();
264 void FindPlusOneMinusOneLayer();
269 template< typename TInput >
270 class BinaryImageToLevelSetImageAdaptor<
280 typedef BinaryImageToLevelSetImageAdaptor
Self;
290 itkTypeMacro( BinaryImageToLevelSetImageAdaptor,
301 itkStaticConstMacro ( ImageDimension,
unsigned int,
302 InputImageType::ImageDimension );
333 void Initialize() ITK_OVERRIDE;
337 BinaryImageToLevelSetImageAdaptor();
340 ~BinaryImageToLevelSetImageAdaptor();
343 void FindActiveLayer();
347 BinaryImageToLevelSetImageAdaptor( const Self& );
348 void operator = ( const Self& );
353 template< typename TInput >
354 class BinaryImageToLevelSetImageAdaptor<
362 typedef BinaryImageToLevelSetImageAdaptor
Self;
373 itkTypeMacro( BinaryImageToLevelSetImageAdaptor,
384 itkStaticConstMacro ( ImageDimension,
unsigned int,
385 InputImageType::ImageDimension );
415 void Initialize() ITK_OVERRIDE;
419 BinaryImageToLevelSetImageAdaptor();
422 virtual ~BinaryImageToLevelSetImageAdaptor();
425 void FindActiveLayer();
428 void CreateMinimalInterface();
432 BinaryImageToLevelSetImageAdaptor( const Self& );
433 void operator = ( const Self& );
438 #ifndef ITK_MANUAL_INSTANTIATION
439 #include "itkBinaryImageToLevelSetImageAdaptor.hxx"
441 #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
Image< char, ImageDimension > InternalImageType
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
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.
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