ITK  4.9.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
itk::LevelSetDenseImage< TImage > Class Template Reference

#include <itkLevelSetDenseImage.h>

+ Inheritance diagram for itk::LevelSetDenseImage< TImage >:
+ Collaboration diagram for itk::LevelSetDenseImage< TImage >:

Detailed Description

template<typename TImage>
class itk::LevelSetDenseImage< TImage >

Base class for the "dense" representation of a level-set function on one image.

This representation is a "dense" level-set function, i.e. it defines a level-set function on a grid (more precesily the underlying structure is an Image).

Template Parameters
TImageInput image type of the level set function
Todo:
Think about using image iterators instead of GetPixel()
Examples:
SphinxExamples/src/Segmentation/LevelSetsv4Visualization/VisualizeEvolvingDense2DLevelSetAsElevationMap/Code.cxx, SphinxExamples/src/Segmentation/LevelSetsv4Visualization/VisualizeEvolvingDense2DLevelSetZeroSet/Code.cxx, SphinxExamples/src/Segmentation/LevelSetsv4Visualization/VisualizeStaticDense2DLevelSetAsElevationMap/Code.cxx, and SphinxExamples/src/Segmentation/LevelSetsv4Visualization/VisualizeStaticDense2DLevelSetZeroSet/Code.cxx.

Definition at line 41 of file itkLevelSetDenseImage.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::GradientType GradientType
 
typedef Superclass::HessianType HessianType
 
typedef ImageType::Pointer ImagePointer
 
typedef TImage ImageType
 
typedef ImageType::IndexType IndexType
 
typedef Superclass::InputType InputType
 
typedef
Superclass::LevelSetDataType 
LevelSetDataType
 
typedef Superclass::OutputRealType OutputRealType
 
typedef Superclass::OutputType OutputType
 
typedef ImageType::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef ImageType::RegionType RegionType
 
typedef LevelSetDenseImage Self
 
typedef DiscreteLevelSetImage
< PixelType,
ImageType::ImageDimension > 
Superclass
 
- Public Types inherited from itk::DiscreteLevelSetImage< TImage::PixelType, TImage::ImageDimension >
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::GradientType GradientType
 
typedef Superclass::HessianType HessianType
 
typedef Index< VDimension > IndexType
 
typedef Superclass::InputType InputType
 
typedef
Superclass::LevelSetDataType 
LevelSetDataType
 
typedef Superclass::OutputRealType OutputRealType
 
typedef Superclass::OutputType OutputType
 
typedef SmartPointer< SelfPointer
 
typedef DiscreteLevelSetImage Self
 
typedef LevelSetImage
< IndexType, VDimension,
TImage::PixelType > 
Superclass
 
- Public Types inherited from itk::LevelSetImage< Index< VDimension >, VDimension, TImage::PixelType >
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::GradientType GradientType
 
typedef Superclass::HessianType HessianType
 
typedef ImageBase< VDimension > ImageBaseType
 
typedef Superclass::InputType InputType
 
typedef
Superclass::LevelSetDataType 
LevelSetDataType
 
typedef ImageBaseType::OffsetType OffsetType
 
typedef
ImageBaseType::OffsetValueType 
OffsetValueType
 
typedef Superclass::OutputRealType OutputRealType
 
typedef Superclass::OutputType OutputType
 
typedef SmartPointer< SelfPointer
 
typedef LevelSetImage Self
 
typedef LevelSetBase< Index
< VDimension >, VDimension,
TImage::PixelType,
ImageBaseType
Superclass
 
- Public Types inherited from itk::LevelSetBase< Index< VDimension >, VDimension, TImage::PixelType, ImageBase< VDimension > >
typedef SmartPointer< const SelfConstPointer
 
typedef ImageBase< VDimension > DomainType
 
typedef CovariantVector
< OutputRealType, VDimension > 
GradientType
 
typedef Matrix< OutputRealType,
VDimension, VDimension > 
HessianType
 
typedef Index< VDimension > InputType
 
typedef NumericTraits
< OutputType >::RealType 
OutputRealType
 
typedef TImage::PixelType OutputType
 
typedef SmartPointer< SelfPointer
 
typedef IdentifierType RegionType
 
typedef LevelSetBase Self
 
typedef DataObject Superclass
 
- Public Types inherited from itk::DataObject
typedef SmartPointer< const SelfConstPointer
 
typedef std::string DataObjectIdentifierType
 
typedef std::vector< Pointer >
::size_type 
DataObjectPointerArraySizeType
 
typedef SmartPointer< SelfPointer
 
typedef DataObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const ImageTypeGetImage () const
 
virtual ImageTypeGetModifiableImage ()
 
virtual const char * GetNameOfClass () const
 
virtual void SetImage (ImageType *iImage)
 
virtual OutputType Evaluate (const InputType &inputIndex) const override
 
virtual void Evaluate (const InputType &inputIndex, LevelSetDataType &data) const override
 
- Public Member Functions inherited from itk::DiscreteLevelSetImage< TImage::PixelType, TImage::ImageDimension >
virtual GradientType EvaluateBackwardGradient (const InputType &inputIndex) const
 
virtual void EvaluateBackwardGradient (const InputType &inputIndex, LevelSetDataType &data) const override
 
virtual GradientType EvaluateForwardGradient (const InputType &inputIndex) const
 
virtual void EvaluateForwardGradient (const InputType &inputIndex, LevelSetDataType &data) const override
 
virtual GradientType EvaluateGradient (const InputType &inputIndex) const override
 
virtual void EvaluateGradient (const InputType &inputIndex, LevelSetDataType &data) const override
 
virtual HessianType EvaluateHessian (const InputType &inputIndex) const override
 
virtual void EvaluateHessian (const InputType &inputIndex, LevelSetDataType &data) const override
 
virtual OutputRealType EvaluateLaplacian (const InputType &inputIndex) const override
 
virtual void EvaluateLaplacian (const InputType &inputIndex, LevelSetDataType &data) const override
 
virtual OutputRealType EvaluateMeanCurvature (const InputType &inputIndex) const override
 
virtual void EvaluateMeanCurvature (const InputType &inputIndex, LevelSetDataType &data) const override
 
- Public Member Functions inherited from itk::LevelSetImage< Index< VDimension >, VDimension, TImage::PixelType >
virtual OffsetType GetDomainOffset () const
 
virtual void SetDomainOffset (OffsetType _arg)
 
- Public Member Functions inherited from itk::LevelSetBase< Index< VDimension >, VDimension, TImage::PixelType, ImageBase< VDimension > >
virtual OutputType Evaluate (const InputType &iP) const =0
 
virtual GradientType EvaluateGradient (const InputType &iP) const =0
 
virtual OutputRealType EvaluateGradientNorm (const InputType &iP) const
 
virtual HessianType EvaluateHessian (const InputType &iP) const =0
 
virtual OutputRealType EvaluateLaplacian (const InputType &iP) const =0
 
virtual OutputRealType EvaluateMeanCurvature (const InputType &iP) const =0
 
virtual void Evaluate (const InputType &iP, LevelSetDataType &ioData) const =0
 
virtual void EvaluateGradient (const InputType &iP, LevelSetDataType &ioData) const =0
 
virtual void EvaluateHessian (const InputType &iP, LevelSetDataType &ioData) const =0
 
virtual void EvaluateLaplacian (const InputType &iP, LevelSetDataType &ioData) const =0
 
virtual void EvaluateGradientNorm (const InputType &iP, LevelSetDataType &ioData) const
 
virtual void EvaluateMeanCurvature (const InputType &iP, LevelSetDataType &ioData) const
 
virtual void EvaluateForwardGradient (const InputType &iP, LevelSetDataType &ioData) const =0
 
virtual void EvaluateBackwardGradient (const InputType &iP, LevelSetDataType &ioData) const =0
 
virtual bool IsInside (const InputType &iP) const
 
virtual RegionType GetMaximumNumberOfRegions () const
 
virtual void UpdateOutputInformation () override
 
virtual void SetRequestedRegionToLargestPossibleRegion () override
 
virtual bool RequestedRegionIsOutsideOfTheBufferedRegion () override
 
virtual bool VerifyRequestedRegion () override
 
virtual void SetRequestedRegion (const DataObject *data) override
 
virtual void SetRequestedRegion (const RegionType &region)
 
virtual RegionType GetRequestedRegion () const
 
virtual void SetBufferedRegion (const RegionType &region)
 
virtual RegionType GetBufferedRegion () const
 
- Public Member Functions inherited from itk::DataObject
virtual void DataHasBeenGenerated ()
 
void DisconnectPipeline ()
 
bool GetDataReleased () const
 
virtual const bool & GetReleaseDataFlag () const
 
SmartPointerForwardReference
< ProcessObject
GetSource () const
 
DataObjectPointerArraySizeType GetSourceOutputIndex () const
 
const DataObjectIdentifierTypeGetSourceOutputName () const
 
virtual ModifiedTimeType GetUpdateMTime () const
 
virtual void PrepareForNewData ()
 
virtual void PropagateRequestedRegion ()
 
void ReleaseData ()
 
virtual void ReleaseDataFlagOff ()
 
virtual void ReleaseDataFlagOn ()
 
virtual void ResetPipeline ()
 
void SetReleaseDataFlag (bool flag)
 
bool ShouldIReleaseData () const
 
virtual void Update ()
 
virtual void UpdateOutputData ()
 
void SetPipelineMTime (ModifiedTimeType time)
 
virtual const ModifiedTimeTypeGetPipelineMTime () const
 
virtual void SetRealTimeStamp (RealTimeStamp _arg)
 
virtual const RealTimeStampGetRealTimeStamp () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) 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
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

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

Static Public Attributes

static const unsigned int Dimension = Superclass::Dimension
 
- Static Public Attributes inherited from itk::DiscreteLevelSetImage< TImage::PixelType, TImage::ImageDimension >
static const unsigned int Dimension
 
- Static Public Attributes inherited from itk::LevelSetImage< Index< VDimension >, VDimension, TImage::PixelType >
static const unsigned int Dimension
 
- Static Public Attributes inherited from itk::LevelSetBase< Index< VDimension >, VDimension, TImage::PixelType, ImageBase< VDimension > >
static const unsigned int Dimension
 

Protected Member Functions

virtual void CopyInformation (const DataObject *data) override
 
virtual void Graft (const DataObject *data) override
 
virtual void Initialize () override
 
virtual bool IsInsideDomain (const InputType &inputIndex) const override
 
 LevelSetDenseImage ()
 
virtual ~LevelSetDenseImage ()
 
- Protected Member Functions inherited from itk::DiscreteLevelSetImage< TImage::PixelType, TImage::ImageDimension >
 DiscreteLevelSetImage ()
 
virtual ~DiscreteLevelSetImage ()
 
- Protected Member Functions inherited from itk::LevelSetImage< Index< VDimension >, VDimension, TImage::PixelType >
virtual bool IsInsideDomain (const InputType &iP) const =0
 
 LevelSetImage ()
 
virtual ~LevelSetImage ()
 
- Protected Member Functions inherited from itk::LevelSetBase< Index< VDimension >, VDimension, TImage::PixelType, ImageBase< VDimension > >
 LevelSetBase ()
 
virtual ~LevelSetBase ()
 
- Protected Member Functions inherited from itk::DataObject
 DataObject ()
 
virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void PropagateResetPipeline ()
 
 ~DataObject ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- 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 ()
 

Protected Attributes

ImagePointer m_Image
 
- Protected Attributes inherited from itk::LevelSetImage< Index< VDimension >, VDimension, TImage::PixelType >
OffsetType m_DomainOffset
 
ScalingType m_NeighborhoodScales
 
- Protected Attributes inherited from itk::LevelSetBase< Index< VDimension >, VDimension, TImage::PixelType, ImageBase< VDimension > >
RegionType m_MaximumNumberOfRegions
 
RegionType m_NumberOfRegions
 
RegionType m_RequestedNumberOfRegions
 
RegionType m_BufferedRegion
 
RegionType m_RequestedRegion
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Private Member Functions

 LevelSetDenseImage (const Self &) ITK_DELETE_FUNCTION
 
void operator= (const Self &) ITK_DELETE_FUNCTION
 

Additional Inherited Members

- Protected Types inherited from itk::LevelSetImage< Index< VDimension >, VDimension, TImage::PixelType >
typedef GradientType ScalingType
 

Member Typedef Documentation

template<typename TImage >
typedef SmartPointer< const Self > itk::LevelSetDenseImage< TImage >::ConstPointer

Definition at line 54 of file itkLevelSetDenseImage.h.

template<typename TImage >
typedef Superclass::GradientType itk::LevelSetDenseImage< TImage >::GradientType

Definition at line 68 of file itkLevelSetDenseImage.h.

template<typename TImage >
typedef Superclass::HessianType itk::LevelSetDenseImage< TImage >::HessianType

Definition at line 69 of file itkLevelSetDenseImage.h.

template<typename TImage >
typedef ImageType::Pointer itk::LevelSetDenseImage< TImage >::ImagePointer

Definition at line 46 of file itkLevelSetDenseImage.h.

template<typename TImage >
typedef TImage itk::LevelSetDenseImage< TImage >::ImageType

Definition at line 45 of file itkLevelSetDenseImage.h.

template<typename TImage >
typedef ImageType::IndexType itk::LevelSetDenseImage< TImage >::IndexType

Definition at line 47 of file itkLevelSetDenseImage.h.

template<typename TImage >
typedef Superclass::InputType itk::LevelSetDenseImage< TImage >::InputType

Definition at line 65 of file itkLevelSetDenseImage.h.

template<typename TImage >
typedef Superclass::LevelSetDataType itk::LevelSetDenseImage< TImage >::LevelSetDataType

Definition at line 70 of file itkLevelSetDenseImage.h.

template<typename TImage >
typedef Superclass::OutputRealType itk::LevelSetDenseImage< TImage >::OutputRealType

Definition at line 67 of file itkLevelSetDenseImage.h.

template<typename TImage >
typedef Superclass::OutputType itk::LevelSetDenseImage< TImage >::OutputType

Definition at line 66 of file itkLevelSetDenseImage.h.

template<typename TImage >
typedef ImageType::PixelType itk::LevelSetDenseImage< TImage >::PixelType

Definition at line 48 of file itkLevelSetDenseImage.h.

template<typename TImage >
typedef SmartPointer< Self > itk::LevelSetDenseImage< TImage >::Pointer

Definition at line 53 of file itkLevelSetDenseImage.h.

template<typename TImage >
typedef ImageType::RegionType itk::LevelSetDenseImage< TImage >::RegionType

Definition at line 49 of file itkLevelSetDenseImage.h.

template<typename TImage >
typedef LevelSetDenseImage itk::LevelSetDenseImage< TImage >::Self

Definition at line 52 of file itkLevelSetDenseImage.h.

template<typename TImage >
typedef DiscreteLevelSetImage< PixelType, ImageType::ImageDimension > itk::LevelSetDenseImage< TImage >::Superclass

Definition at line 55 of file itkLevelSetDenseImage.h.

Constructor & Destructor Documentation

template<typename TImage >
itk::LevelSetDenseImage< TImage >::LevelSetDenseImage ( )
protected
template<typename TImage >
virtual itk::LevelSetDenseImage< TImage >::~LevelSetDenseImage ( )
protectedvirtual
template<typename TImage >
itk::LevelSetDenseImage< TImage >::LevelSetDenseImage ( const Self )
private

Member Function Documentation

template<typename TImage >
virtual void itk::LevelSetDenseImage< TImage >::CopyInformation ( const DataObject data)
overrideprotectedvirtual

Copy level set information from data object

Reimplemented from itk::DiscreteLevelSetImage< TImage::PixelType, TImage::ImageDimension >.

template<typename TImage >
virtual::itk::LightObject::Pointer itk::LevelSetDenseImage< TImage >::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.

template<typename TImage >
virtual OutputType itk::LevelSetDenseImage< TImage >::Evaluate ( const InputType inputIndex) const
overridevirtual

Returns the value of the level set function at a given location inputIndex

Implements itk::DiscreteLevelSetImage< TImage::PixelType, TImage::ImageDimension >.

template<typename TImage >
virtual void itk::LevelSetDenseImage< TImage >::Evaluate ( const InputType inputIndex,
LevelSetDataType data 
) const
overridevirtual

Returns the value of the level set function at a given location inputIndex

Reimplemented from itk::DiscreteLevelSetImage< TImage::PixelType, TImage::ImageDimension >.

template<typename TImage >
virtual const ImageType* itk::LevelSetDenseImage< TImage >::GetImage ( ) const
virtual
template<typename TImage >
virtual ImageType* itk::LevelSetDenseImage< TImage >::GetModifiableImage ( )
virtual
template<typename TImage >
virtual const char* itk::LevelSetDenseImage< TImage >::GetNameOfClass ( ) const
virtual

Run-time type information

Reimplemented from itk::DiscreteLevelSetImage< TImage::PixelType, TImage::ImageDimension >.

template<typename TImage >
virtual void itk::LevelSetDenseImage< TImage >::Graft ( const DataObject data)
overrideprotectedvirtual

Graft data object as level set object

Reimplemented from itk::DiscreteLevelSetImage< TImage::PixelType, TImage::ImageDimension >.

template<typename TImage >
virtual void itk::LevelSetDenseImage< TImage >::Initialize ( )
overrideprotectedvirtual

Initial the level set pointer

Reimplemented from itk::DiscreteLevelSetImage< TImage::PixelType, TImage::ImageDimension >.

template<typename TImage >
virtual bool itk::LevelSetDenseImage< TImage >::IsInsideDomain ( const InputType inputIndex) const
overrideprotectedvirtual
template<typename TImage >
static Pointer itk::LevelSetDenseImage< TImage >::New ( )
static

Method for creation through object factory

template<typename TImage >
void itk::LevelSetDenseImage< TImage >::operator= ( const Self )
private
template<typename TImage >
virtual void itk::LevelSetDenseImage< TImage >::SetImage ( ImageType iImage)
virtual

Member Data Documentation

template<typename TImage >
const unsigned int itk::LevelSetDenseImage< TImage >::Dimension = Superclass::Dimension
static

Definition at line 63 of file itkLevelSetDenseImage.h.

template<typename TImage >
ImagePointer itk::LevelSetDenseImage< TImage >::m_Image
protected

Definition at line 85 of file itkLevelSetDenseImage.h.


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