ITK  5.2.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | 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 >:

Public Types

using ConstPointer = SmartPointer< const Self >
 
using GradientType = typename Superclass::GradientType
 
using HessianType = typename Superclass::HessianType
 
using ImagePointer = typename ImageType::Pointer
 
using ImageType = TImage
 
using IndexType = typename ImageType::IndexType
 
using InputType = typename Superclass::InputType
 
using LevelSetDataType = typename Superclass::LevelSetDataType
 
using OutputRealType = typename Superclass::OutputRealType
 
using OutputType = typename Superclass::OutputType
 
using PixelType = typename ImageType::PixelType
 
using Pointer = SmartPointer< Self >
 
using RegionType = typename ImageType::RegionType
 
using Self = LevelSetDenseImage
 
using Superclass = DiscreteLevelSetImage< PixelType, ImageType::ImageDimension >
 
- Public Types inherited from itk::DiscreteLevelSetImage< TImage::PixelType, TImage::ImageDimension >
using ConstPointer = SmartPointer< const Self >
 
using GradientType = typename Superclass::GradientType
 
using HessianType = typename Superclass::HessianType
 
using IndexType = Index< VDimension >
 
using InputType = typename Superclass::InputType
 
using LevelSetDataType = typename Superclass::LevelSetDataType
 
using OutputRealType = typename Superclass::OutputRealType
 
using OutputType = typename Superclass::OutputType
 
using Pointer = SmartPointer< Self >
 
using Self = DiscreteLevelSetImage
 
using Superclass = LevelSetImage< IndexType, VDimension, TImage::PixelType >
 
- Public Types inherited from itk::LevelSetImage< Index< VDimension >, VDimension, TImage::PixelType >
using ConstPointer = SmartPointer< const Self >
 
using GradientType = typename Superclass::GradientType
 
using HessianType = typename Superclass::HessianType
 
using ImageBaseType = ImageBase< VDimension >
 
using InputType = typename Superclass::InputType
 
using LevelSetDataType = typename Superclass::LevelSetDataType
 
using OffsetType = typename ImageBaseType::OffsetType
 
using OffsetValueType = typename ImageBaseType::OffsetValueType
 
using OutputRealType = typename Superclass::OutputRealType
 
using OutputType = typename Superclass::OutputType
 
using Pointer = SmartPointer< Self >
 
using Self = LevelSetImage
 
using Superclass = LevelSetBase< Index< VDimension >, VDimension, TImage::PixelType, ImageBaseType >
 
- Public Types inherited from itk::LevelSetBase< Index< VDimension >, VDimension, TImage::PixelType, ImageBase< VDimension > >
using ConstPointer = SmartPointer< const Self >
 
using DomainType = ImageBase< VDimension >
 
using GradientType = CovariantVector< OutputRealType, VDimension >
 
using HessianType = Matrix< OutputRealType, VDimension, VDimension >
 
using InputType = Index< VDimension >
 
using OutputRealType = typename NumericTraits< OutputType >::RealType
 
using OutputType = TImage::PixelType
 
using Pointer = SmartPointer< Self >
 
using RegionType = IdentifierType
 
using Self = LevelSetBase
 
using Superclass = DataObject
 
- Public Types inherited from itk::DataObject
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = std::string
 
using DataObjectPointerArraySizeType = std::vector< Pointer >::size_type
 
using Pointer = SmartPointer< Self >
 
using Self = DataObject
 
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 ImageTypeGetImage () const
 
virtual ImageTypeGetModifiableImage ()
 
virtual const char * GetNameOfClass () const
 
virtual void SetImage (ImageType *inputImage)
 
- Public Member Functions inherited from itk::DiscreteLevelSetImage< TImage::PixelType, TImage::ImageDimension >
void Evaluate (const InputType &inputIndex, LevelSetDataType &data) const override
 
virtual GradientType EvaluateBackwardGradient (const InputType &inputIndex) const
 
void EvaluateBackwardGradient (const InputType &inputIndex, LevelSetDataType &data) const override
 
virtual GradientType EvaluateForwardGradient (const InputType &inputIndex) const
 
void EvaluateForwardGradient (const InputType &inputIndex, LevelSetDataType &data) const override
 
GradientType EvaluateGradient (const InputType &inputIndex) const override
 
void EvaluateGradient (const InputType &inputIndex, LevelSetDataType &data) const override
 
HessianType EvaluateHessian (const InputType &inputIndex) const override
 
void EvaluateHessian (const InputType &inputIndex, LevelSetDataType &data) const override
 
OutputRealType EvaluateLaplacian (const InputType &inputIndex) const override
 
void EvaluateLaplacian (const InputType &inputIndex, LevelSetDataType &data) const override
 
OutputRealType EvaluateMeanCurvature (const InputType &inputIndex) const override
 
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
 
void Initialize () override
 
void UpdateOutputInformation () override
 
void SetRequestedRegionToLargestPossibleRegion () override
 
void CopyInformation (const DataObject *data) override
 
void Graft (const DataObject *data) override
 
bool RequestedRegionIsOutsideOfTheBufferedRegion () override
 
bool VerifyRequestedRegion () override
 
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
void DisconnectPipeline ()
 
bool GetDataReleased () const
 
virtual const bool & GetReleaseDataFlag () const
 
SmartPointer< ProcessObjectGetSource () const
 
DataObjectPointerArraySizeType GetSourceOutputIndex () const
 
const DataObjectIdentifierTypeGetSourceOutputName () const
 
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 ModifiedTimeType GetUpdateMTime () const
 
virtual void SetRealTimeStamp (RealTimeStamp _arg)
 
virtual const RealTimeStampGetRealTimeStamp () const
 
virtual void PrepareForNewData ()
 
virtual void DataHasBeenGenerated ()
 
- 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::DataObject
static bool GetGlobalReleaseDataFlag ()
 
static void GlobalReleaseDataFlagOff ()
 
static void GlobalReleaseDataFlagOn ()
 
static Pointer New ()
 
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 val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static constexpr unsigned int Dimension = Superclass::Dimension
 
- Static Public Attributes inherited from itk::DiscreteLevelSetImage< TImage::PixelType, TImage::ImageDimension >
static constexpr unsigned int Dimension
 
- Static Public Attributes inherited from itk::LevelSetImage< Index< VDimension >, VDimension, TImage::PixelType >
static constexpr unsigned int Dimension
 
- Static Public Attributes inherited from itk::LevelSetBase< Index< VDimension >, VDimension, TImage::PixelType, ImageBase< VDimension > >
static constexpr unsigned int Dimension
 
ImagePointer m_Image
 
OutputType Evaluate (const InputType &inputIndex) const override
 
void Evaluate (const InputType &inputIndex, LevelSetDataType &data) const override
 
 LevelSetDenseImage ()=default
 
 ~LevelSetDenseImage () override=default
 
bool IsInsideDomain (const InputType &inputIndex) const override
 
void Initialize () override
 
void CopyInformation (const DataObject *data) override
 
void Graft (const DataObject *data) override
 

Additional Inherited Members

- Protected Types inherited from itk::LevelSetImage< Index< VDimension >, VDimension, TImage::PixelType >
using ScalingType = GradientType
 
- Protected Member Functions inherited from itk::DiscreteLevelSetImage< TImage::PixelType, TImage::ImageDimension >
void CopyInformation (const DataObject *data) override
 
 DiscreteLevelSetImage ()=default
 
void Graft (const DataObject *data) override
 
void Initialize () override
 
 ~DiscreteLevelSetImage () override=default
 
- Protected Member Functions inherited from itk::LevelSetImage< Index< VDimension >, VDimension, TImage::PixelType >
virtual bool IsInsideDomain (const InputType &iP) const=0
 
 LevelSetImage ()
 
 ~LevelSetImage () override=default
 
- Protected Member Functions inherited from itk::LevelSetBase< Index< VDimension >, VDimension, TImage::PixelType, ImageBase< VDimension > >
 LevelSetBase ()
 
 ~LevelSetBase () override=default
 
- Protected Member Functions inherited from itk::DataObject
 DataObject ()
 
 ~DataObject () override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void PropagateResetPipeline ()
 
- 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 ()
 
- 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
std::atomic< int > m_ReferenceCount
 

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 precisely 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/Bridge/VtkGlue/VisualizeEvolvingDense2DLevelSetAsElevationMap/Code.cxx, SphinxExamples/src/Bridge/VtkGlue/VisualizeEvolvingDense2DLevelSetZeroSet/Code.cxx, SphinxExamples/src/Bridge/VtkGlue/VisualizeStaticDense2DLevelSetAsElevationMap/Code.cxx, and SphinxExamples/src/Bridge/VtkGlue/VisualizeStaticDense2DLevelSetZeroSet/Code.cxx.

Definition at line 41 of file itkLevelSetDenseImage.h.

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 55 of file itkLevelSetDenseImage.h.

◆ GradientType

template<typename TImage >
using itk::LevelSetDenseImage< TImage >::GradientType = typename Superclass::GradientType

Definition at line 69 of file itkLevelSetDenseImage.h.

◆ HessianType

template<typename TImage >
using itk::LevelSetDenseImage< TImage >::HessianType = typename Superclass::HessianType

Definition at line 70 of file itkLevelSetDenseImage.h.

◆ ImagePointer

template<typename TImage >
using itk::LevelSetDenseImage< TImage >::ImagePointer = typename ImageType::Pointer

Definition at line 48 of file itkLevelSetDenseImage.h.

◆ ImageType

template<typename TImage >
using itk::LevelSetDenseImage< TImage >::ImageType = TImage

Definition at line 47 of file itkLevelSetDenseImage.h.

◆ IndexType

template<typename TImage >
using itk::LevelSetDenseImage< TImage >::IndexType = typename ImageType::IndexType

Definition at line 49 of file itkLevelSetDenseImage.h.

◆ InputType

template<typename TImage >
using itk::LevelSetDenseImage< TImage >::InputType = typename Superclass::InputType

Definition at line 66 of file itkLevelSetDenseImage.h.

◆ LevelSetDataType

template<typename TImage >
using itk::LevelSetDenseImage< TImage >::LevelSetDataType = typename Superclass::LevelSetDataType

Definition at line 71 of file itkLevelSetDenseImage.h.

◆ OutputRealType

template<typename TImage >
using itk::LevelSetDenseImage< TImage >::OutputRealType = typename Superclass::OutputRealType

Definition at line 68 of file itkLevelSetDenseImage.h.

◆ OutputType

template<typename TImage >
using itk::LevelSetDenseImage< TImage >::OutputType = typename Superclass::OutputType

Definition at line 67 of file itkLevelSetDenseImage.h.

◆ PixelType

template<typename TImage >
using itk::LevelSetDenseImage< TImage >::PixelType = typename ImageType::PixelType

Definition at line 50 of file itkLevelSetDenseImage.h.

◆ Pointer

template<typename TImage >
using itk::LevelSetDenseImage< TImage >::Pointer = SmartPointer<Self>

Definition at line 54 of file itkLevelSetDenseImage.h.

◆ RegionType

template<typename TImage >
using itk::LevelSetDenseImage< TImage >::RegionType = typename ImageType::RegionType

Definition at line 51 of file itkLevelSetDenseImage.h.

◆ Self

template<typename TImage >
using itk::LevelSetDenseImage< TImage >::Self = LevelSetDenseImage

Definition at line 53 of file itkLevelSetDenseImage.h.

◆ Superclass

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

Definition at line 56 of file itkLevelSetDenseImage.h.

Constructor & Destructor Documentation

◆ LevelSetDenseImage()

template<typename TImage >
itk::LevelSetDenseImage< TImage >::LevelSetDenseImage ( )
protecteddefault

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

◆ ~LevelSetDenseImage()

template<typename TImage >
itk::LevelSetDenseImage< TImage >::~LevelSetDenseImage ( )
overrideprotecteddefault

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

Member Function Documentation

◆ CopyInformation()

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

Copy level set information from data object

Reimplemented from itk::DataObject.

◆ CreateAnother()

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.

◆ Evaluate() [1/2]

template<typename TImage >
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 >.

◆ Evaluate() [2/2]

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

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

◆ GetImage()

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

◆ GetModifiableImage()

template<typename TImage >
virtual ImageType* itk::LevelSetDenseImage< TImage >::GetModifiableImage ( )
virtual

◆ GetNameOfClass()

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

Run-time type information

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

◆ Graft()

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

Graft data object as level set object

Reimplemented from itk::DataObject.

◆ Initialize()

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

Initial the level set pointer

Reimplemented from itk::DataObject.

◆ IsInsideDomain()

template<typename TImage >
bool itk::LevelSetDenseImage< TImage >::IsInsideDomain ( const InputType inputIndex) const
overrideprotected

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

◆ New()

template<typename TImage >
static Pointer itk::LevelSetDenseImage< TImage >::New ( )
static

Method for creation through object factory

◆ SetImage()

template<typename TImage >
virtual void itk::LevelSetDenseImage< TImage >::SetImage ( ImageType inputImage)
virtual

Member Data Documentation

◆ Dimension

template<typename TImage >
constexpr unsigned int itk::LevelSetDenseImage< TImage >::Dimension = Superclass::Dimension
staticconstexpr

Definition at line 64 of file itkLevelSetDenseImage.h.

◆ m_Image

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

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

Definition at line 89 of file itkLevelSetDenseImage.h.


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