ITK  5.3.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>

+ 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

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
void Initialize () override
 
- Public Member Functions inherited from itk::BinaryImageToLevelSetImageAdaptorBase< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >
virtual const LevelSetTypeGetLevelSet () const
 
virtual LevelSetTypeGetModifiableLevelSet ()
 
virtual void SetInputImage (InputImageType *_arg)
 
virtual InputImageTypeGetModifiableInputImage ()
 
virtual const InputImageTypeGetInputImage () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
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)
 
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 void Delete ()
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 

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 ()
 
 ~Object () override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (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
 

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.

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

◆ CreateAnother()

template<typename TInput , typename TOutput >
virtual::itk::LightObject::Pointer itk::BinaryImageToLevelSetImageAdaptor< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >::CreateAnother ( ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

◆ 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 >
virtual const char* itk::BinaryImageToLevelSetImageAdaptor< TInput, WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension > >::GetNameOfClass ( ) const
virtual

◆ 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: