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 );
98 itkSetObjectMacro( SignedDistanceTransformFilter, SignedDistanceTransformFilterType );
99 itkGetModifiableObjectMacro(SignedDistanceTransformFilter, SignedDistanceTransformFilterType );
105 void Initialize() ITK_OVERRIDE;
112 virtual ~BinaryImageToLevelSetImageAdaptor();
115 BinaryImageToLevelSetImageAdaptor( const Self& ) ITK_DELETE_FUNCTION;
116 void operator = ( const Self& ) ITK_DELETE_FUNCTION;
118 SignedDistanceTransformFilterPointer m_SignedDistanceTransformFilter;
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;
277 void PropagateToOuterLayers( LayerIdType LayerToBeScanned, LayerIdType OutputLayer, LayerIdType TestValue );
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 Superclass::LevelSetLabelObjectPointer LevelSetLabelObjectPointer
ImageRegionIteratorWithIndex< InputImageType > InputIteratorType
LevelSetDenseImage< TLevelSetImage > LevelSetType
Superclass::LevelSetLabelObjectLengthType LevelSetLabelObjectLengthType
Superclass::InputImageRegionType InputImageRegionType
Superclass::LevelSetLayerIterator LevelSetLayerIterator
Superclass::LevelSetLayerConstIterator LevelSetLayerConstIterator
Superclass::InputImagePointer InputImagePointer
Superclass::InputPixelRealType InputPixelRealType
Superclass::LevelSetLabelMapPointer LevelSetLabelMapPointer
WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > LevelSetType
Superclass::LayerPairType LayerPairType
Superclass::LevelSetPointer LevelSetPointer
Superclass::LevelSetLayerIterator LevelSetLayerIterator
Superclass::InputIteratorType InputIteratorType
NumericTraits< InputImagePixelType >::RealType InputPixelRealType
Derived class for the shi representation of level-set function.
LevelSetType::LabelObjectLengthType LevelSetLabelObjectLengthType
Superclass::LevelSetLayerIterator LevelSetLayerIterator
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
Superclass::LevelSetLabelMapType LevelSetLabelMapType
Superclass::InternalImagePointer InternalImagePointer
std::pair< LevelSetInputType, LevelSetOutputType > LayerPairType
Superclass::LevelSetLayerType LevelSetLayerType
BinaryImageToLevelSetImageAdaptorBase< TInputImage, LevelSetType > Superclass
InternalImageType::Pointer InternalImagePointer
Superclass::InputImageRegionType InputImageRegionType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
Superclass::LevelSetLabelMapPointer LevelSetLabelMapPointer
Superclass::InputImageIndexType InputImageIndexType
Superclass::InternalIteratorType InternalIteratorType
LevelSetLabelMapPointer m_LabelMap
Superclass::LevelSetPointer LevelSetPointer
Superclass::InputImagePixelType InputImagePixelType
Superclass::LevelSetLabelObjectPointer LevelSetLabelObjectPointer
LevelSetType::LayerConstIterator LevelSetLayerConstIterator
ShiSparseLevelSetImage< TInput::ImageDimension > LevelSetType
BinaryImageToLevelSetImageAdaptor Self
Superclass::LevelSetLabelObjectLineType LevelSetLabelObjectLineType
Superclass::LevelSetInputType LevelSetInputType
LevelSetType::OutputType LevelSetOutputType
Superclass::NeighborhoodIteratorType NeighborhoodIteratorType
BinaryImageToSparseLevelSetImageAdaptorBase()
Superclass::LevelSetPointer LevelSetPointer
ImageRegionIteratorWithIndex< InternalImageType > InternalIteratorType
A neighborhood iterator which can take on an arbitrary shape.
InputImageType::Pointer InputImagePointer
SmartPointer< const Self > ConstPointer
Superclass::InternalImageType InternalImageType
Superclass::LevelSetLabelMapType LevelSetLabelMapType
Superclass::InputImageType InputImageType
Superclass::InputPixelRealType InputPixelRealType
SmartPointer< const Self > ConstPointer
LevelSetType::LabelObjectPointer LevelSetLabelObjectPointer
ImageToImageFilter< InputImageType, LevelSetImageType > SignedDistanceTransformFilterType
SmartPointer< Self > Pointer
BinaryImageToSparseLevelSetImageAdaptorBase Self
Superclass::NeighborhoodIteratorType NeighborhoodIteratorType
Superclass::LayerPairType LayerPairType
Superclass::InputImageType InputImageType
Superclass::LevelSetOutputType LevelSetOutputType
Superclass::LevelSetLabelMapType LevelSetLabelMapType
TInputImage InputImageType
LevelSetType::Pointer LevelSetPointer
Derived class for the Malcolm representation of level-set function.
Superclass::InputImagePixelType InputImagePixelType
BinaryImageToLevelSetImageAdaptor Self
LevelSetType::InputType LevelSetInputType
Derived class for the sparse-field representation of level-set function.
Superclass::LevelSetLabelMapPointer LevelSetLabelMapPointer
Superclass::LevelSetLabelObjectPointer LevelSetLabelObjectPointer
LevelSetType::LabelObjectLineType LevelSetLabelObjectLineType
Superclass::LevelSetInputType LevelSetInputType
Superclass::LevelSetLabelObjectType LevelSetLabelObjectType
A multi-dimensional iterator templated over image type that walks pixels within a region and is speci...
Superclass::LevelSetLayerConstIterator LevelSetLayerConstIterator
Superclass::InternalImageType InternalImageType
Superclass::LevelSetLayerType LevelSetLayerType
Base class for the "dense" representation of a level-set function on one image.
InternalImagePointer m_InternalImage
Superclass::LevelSetPointer LevelSetPointer
Superclass::LevelSetLayerConstIterator LevelSetLayerConstIterator
Superclass::LayerPairType LayerPairType
LevelSetType::LabelMapType LevelSetLabelMapType
Superclass::LevelSetLabelObjectLineType LevelSetLabelObjectLineType
Superclass::InputImageIndexType InputImageIndexType
Superclass::InputImagePixelType InputImagePixelType
Superclass::InputImagePixelType InputImagePixelType
LevelSetType::ImageType LevelSetImageType
MalcolmSparseLevelSetImage< TInput::ImageDimension > LevelSetType
BinaryImageToSparseLevelSetImageAdaptorBase< TInput, LevelSetType > Superclass
Image< signed char, ImageDimension > InternalImageType
ShapedNeighborhoodIterator< InternalImageType > NeighborhoodIteratorType
Superclass::LevelSetLabelObjectType LevelSetLabelObjectType
SmartPointer< Self > Pointer
Superclass::InputImagePointer InputImagePointer
SmartPointer< const Self > ConstPointer
Superclass::InputPixelRealType InputPixelRealType
Superclass::InputPixelRealType InputPixelRealType
Superclass::InputImageRegionType InputImageRegionType
BinaryImageToLevelSetImageAdaptor Self
InputImageType::IndexType InputImageIndexType
Superclass::LevelSetType LevelSetType
Superclass::InputImageIndexType InputImageIndexType
SmartPointer< const Self > ConstPointer
BinaryImageToSparseLevelSetImageAdaptorBase< TInput, LevelSetType > Superclass
BinaryImageToSparseLevelSetImageAdaptorBase< TInput, LevelSetType > Superclass
InputImageType::RegionType InputImageRegionType
Superclass::LayerIdType LayerIdType
Superclass::LayerIdType LayerIdType
BinaryImageToLevelSetImageAdaptorBase< TInput, TOutput > Superclass
Superclass::InputImageRegionType InputImageRegionType
SignedDistanceTransformFilterType::Pointer SignedDistanceTransformFilterPointer
LevelSetType::LabelObjectType LevelSetLabelObjectType
Base class for filters that take an image as input and produce an image as output.
Superclass::InternalImageType InternalImageType
Abstract class for converting binary image to sparse level-set.
Superclass::InputImageIndexType InputImageIndexType
Superclass::NeighborhoodIteratorType NeighborhoodIteratorType
SmartPointer< Self > Pointer
Superclass::InputIteratorType InputIteratorType
Superclass::InputImagePointer InputImagePointer
Superclass::InputImageType InputImageType
Superclass::InternalImagePointer InternalImagePointer
virtual ~BinaryImageToSparseLevelSetImageAdaptorBase()
LevelSetType::LabelMapPointer LevelSetLabelMapPointer
Superclass::LevelSetInputType LevelSetInputType
Define additional traits for native types such as int or float.
Superclass::LevelSetLabelObjectLengthType LevelSetLabelObjectLengthType
BinaryImageToLevelSetImageAdaptor Self
Superclass::InternalIteratorType InternalIteratorType
Superclass::LevelSetLabelObjectLineType LevelSetLabelObjectLineType
Superclass::LevelSetOutputType LevelSetOutputType
Base class for most ITK classes.
Superclass::LevelSetLabelObjectType LevelSetLabelObjectType
Superclass::LevelSetLayerType LevelSetLayerType
Superclass::LevelSetLabelObjectLengthType LevelSetLabelObjectLengthType
Superclass::InternalIteratorType InternalIteratorType
Superclass::LevelSetOutputType LevelSetOutputType
Superclass::InputImagePointer InputImagePointer
Superclass::LayerIdType LayerIdType
Templated n-dimensional image class.
LevelSetType::LayerType LevelSetLayerType
LevelSetType::LayerIterator LevelSetLayerIterator
Superclass::InputImageType InputImageType
Superclass::InputIteratorType InputIteratorType
Superclass::InternalImagePointer InternalImagePointer
SmartPointer< Self > Pointer
LevelSetLabelObjectType::LabelType LayerIdType
InputImageType::PixelType InputImagePixelType