ITK  6.0.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | List of all members
itk::BinaryImageToLevelSetImageAdaptor< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > > Class Template Reference

#include <itkBinaryImageToLevelSetImageAdaptor.h>

Detailed Description

template<typename TInput, typename TOutput>
class itk::BinaryImageToLevelSetImageAdaptor< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >

Partial template specialization for WhitakerSparseLevelSetImage.

Definition at line 191 of file itkBinaryImageToLevelSetImageAdaptor.h.

+ Inheritance diagram for itk::BinaryImageToLevelSetImageAdaptor< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >:
+ Collaboration diagram for itk::BinaryImageToLevelSetImageAdaptor< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >:

Public Types

using ConstPointer = SmartPointer< const Self >
 
using LevelSetType = WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension >
 
using Pointer = SmartPointer< Self >
 
using Self = BinaryImageToLevelSetImageAdaptor
 
using Superclass = BinaryImageToSparseLevelSetImageAdaptorBase< TInput, LevelSetType >
 
- Public Types inherited from itk::BinaryImageToSparseLevelSetImageAdaptorBase< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >
using ConstPointer = SmartPointer< const Self >
 
using InputIteratorType = ImageRegionIteratorWithIndex< InputImageType >
 
using InternalImagePointer = typename InternalImageType::Pointer
 
using InternalImageType = Image< signed char, ImageDimension >
 
using InternalIteratorType = ImageRegionIteratorWithIndex< InternalImageType >
 
using LayerIdType = typename LevelSetLabelObjectType::LabelType
 
using LayerPairType = std::pair< LevelSetInputType, LevelSetOutputType >
 
using LevelSetInputType = typename LevelSetType::InputType
 
using LevelSetLabelMapPointer = typename LevelSetType::LabelMapPointer
 
using LevelSetLabelMapType = typename LevelSetType::LabelMapType
 
using LevelSetLabelObjectLengthType = typename LevelSetType::LabelObjectLengthType
 
using LevelSetLabelObjectLineType = typename LevelSetType::LabelObjectLineType
 
using LevelSetLabelObjectPointer = typename LevelSetType::LabelObjectPointer
 
using LevelSetLabelObjectType = typename LevelSetType::LabelObjectType
 
using LevelSetLayerConstIterator = typename LevelSetType::LayerConstIterator
 
using LevelSetLayerIterator = typename LevelSetType::LayerIterator
 
using LevelSetLayerType = typename LevelSetType::LayerType
 
using LevelSetOutputType = typename LevelSetType::OutputType
 
using NeighborhoodIteratorType = ShapedNeighborhoodIterator< InternalImageType >
 
using Pointer = SmartPointer< Self >
 
using Self = BinaryImageToSparseLevelSetImageAdaptorBase
 
using Superclass = BinaryImageToLevelSetImageAdaptorBase< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >
 
- Public Types inherited from itk::BinaryImageToLevelSetImageAdaptorBase< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >
using ConstPointer = SmartPointer< const Self >
 
using InputImageIndexType = typename InputImageType::IndexType
 
using InputImagePixelType = typename InputImageType::PixelType
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageRegionType = typename InputImageType::RegionType
 
using InputImageType = TInput
 
using InputPixelRealType = typename NumericTraits< InputImagePixelType >::RealType
 
using LevelSetPointer = typename LevelSetType::Pointer
 
using LevelSetType = WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension >
 
using Pointer = SmartPointer< Self >
 
using Self = BinaryImageToLevelSetImageAdaptorBase
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

const char * GetNameOfClass () const override
 
void Initialize () override
 
- Public Member Functions inherited from itk::BinaryImageToSparseLevelSetImageAdaptorBase< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >
const char * GetNameOfClass () const override
 
- Public Member Functions inherited from itk::BinaryImageToLevelSetImageAdaptorBase< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >
virtual LevelSetTypeGetModifiableLevelSet ()
 
const char * GetNameOfClass () const override
 
virtual void Initialize ()=0
 
virtual void SetInputImage (InputImageType *_arg)
 
virtual InputImageTypeGetModifiableInputImage ()
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *cmd) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
LightObject::Pointer CreateAnother () const override
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
const char * GetNameOfClass () const override
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag) const
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual Pointer CreateAnother () const
 
virtual void Delete ()
 
virtual const char * GetNameOfClass () const
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 
virtual void Register () const
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () const noexcept
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static constexpr unsigned int ImageDimension = InputImageType::ImageDimension
 
- Static Public Attributes inherited from itk::BinaryImageToSparseLevelSetImageAdaptorBase< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >
static constexpr unsigned int ImageDimension
 
- Static Public Attributes inherited from itk::BinaryImageToLevelSetImageAdaptorBase< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >
static constexpr unsigned int ImageDimension
 

Protected Member Functions

 BinaryImageToLevelSetImageAdaptor ()
 
 ~BinaryImageToLevelSetImageAdaptor () override
 
- Protected Member Functions inherited from itk::BinaryImageToSparseLevelSetImageAdaptorBase< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >
 BinaryImageToSparseLevelSetImageAdaptorBase ()
 
 ~BinaryImageToSparseLevelSetImageAdaptorBase () override=default
 
- Protected Member Functions inherited from itk::BinaryImageToLevelSetImageAdaptorBase< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >
 BinaryImageToLevelSetImageAdaptorBase ()
 
 ~BinaryImageToLevelSetImageAdaptorBase () override=default
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
 ~Object () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

void FindActiveLayer ()
 
void PropagateToOuterLayers (LayerIdType layerToBeScanned, LayerIdType outputLayer, LayerIdType testValue)
 
void FindPlusOneMinusOneLayer ()
 

Additional Inherited Members

- Protected Attributes inherited from itk::BinaryImageToSparseLevelSetImageAdaptorBase< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >
InternalImagePointer m_InternalImage
 
LevelSetLabelMapPointer m_LabelMap
 
- Protected Attributes inherited from itk::BinaryImageToLevelSetImageAdaptorBase< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >
InputImagePointer m_InputImage
 
LevelSetPointer m_LevelSet
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount {}
 

Member Typedef Documentation

◆ ConstPointer

template<typename TInput , typename TOutput >
using itk::BinaryImageToLevelSetImageAdaptor< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >::ConstPointer = SmartPointer<const Self>

Definition at line 203 of file itkBinaryImageToLevelSetImageAdaptor.h.

◆ LevelSetType

template<typename TInput , typename TOutput >
using itk::BinaryImageToLevelSetImageAdaptor< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >::LevelSetType = WhitakerSparseLevelSetImage<TOutput, TInput::ImageDimension>

Definition at line 199 of file itkBinaryImageToLevelSetImageAdaptor.h.

◆ Pointer

template<typename TInput , typename TOutput >
using itk::BinaryImageToLevelSetImageAdaptor< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >::Pointer = SmartPointer<Self>

Definition at line 202 of file itkBinaryImageToLevelSetImageAdaptor.h.

◆ Self

template<typename TInput , typename TOutput >
using itk::BinaryImageToLevelSetImageAdaptor< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >::Self = BinaryImageToLevelSetImageAdaptor

Definition at line 201 of file itkBinaryImageToLevelSetImageAdaptor.h.

◆ Superclass

template<typename TInput , typename TOutput >
using itk::BinaryImageToLevelSetImageAdaptor< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >::Superclass = BinaryImageToSparseLevelSetImageAdaptorBase<TInput, LevelSetType>

Definition at line 204 of file itkBinaryImageToLevelSetImageAdaptor.h.

Constructor & Destructor Documentation

◆ BinaryImageToLevelSetImageAdaptor()

template<typename TInput , typename TOutput >
itk::BinaryImageToLevelSetImageAdaptor< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >::BinaryImageToLevelSetImageAdaptor ( )
protected

Constructor

◆ ~BinaryImageToLevelSetImageAdaptor()

template<typename TInput , typename TOutput >
itk::BinaryImageToLevelSetImageAdaptor< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >::~BinaryImageToLevelSetImageAdaptor ( )
overrideprotected

Destructor

Member Function Documentation

◆ FindActiveLayer()

template<typename TInput , typename TOutput >
void itk::BinaryImageToLevelSetImageAdaptor< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >::FindActiveLayer ( )
private

Fill the layer corresponding to zero level set

◆ FindPlusOneMinusOneLayer()

template<typename TInput , typename TOutput >
void itk::BinaryImageToLevelSetImageAdaptor< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >::FindPlusOneMinusOneLayer ( )
private

Fill layers adjacent to the zero level set (i.e. layer -1 and +1 )

◆ GetNameOfClass()

template<typename TInput , typename TOutput >
const char * itk::BinaryImageToLevelSetImageAdaptor< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >::GetNameOfClass ( ) const
overridevirtual
See also
LightObject::GetNameOfClass()

Reimplemented from itk::Object.

◆ Initialize()

template<typename TInput , typename TOutput >
void itk::BinaryImageToLevelSetImageAdaptor< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >::Initialize ( )
overridevirtual

Input is a binary image m_InputImage Output is a WhitakerSparseLevelSetImagePointer

Implements itk::BinaryImageToLevelSetImageAdaptorBase< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >.

◆ New()

template<typename TInput , typename TOutput >
static Pointer itk::BinaryImageToLevelSetImageAdaptor< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >::New ( )
static

Method for creation through object factory

◆ PropagateToOuterLayers()

template<typename TInput , typename TOutput >
void itk::BinaryImageToLevelSetImageAdaptor< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >::PropagateToOuterLayers ( LayerIdType  layerToBeScanned,
LayerIdType  outputLayer,
LayerIdType  testValue 
)
private

Fill layer adjacent (OutputLayer) to the layer (LayerToBeScanned)

Member Data Documentation

◆ ImageDimension

template<typename TInput , typename TOutput >
constexpr unsigned int itk::BinaryImageToLevelSetImageAdaptor< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >::ImageDimension = InputImageType::ImageDimension
staticconstexpr

Definition at line 220 of file itkBinaryImageToLevelSetImageAdaptor.h.


The documentation for this class was generated from the following file: