#include <itkLevelSetSparseImage.h>
Base class for the sparse representation of a level-set function on one Image.
TImage | Input image type of the level set function |
Definition at line 42 of file itkLevelSetSparseImage.h.
Public Member Functions | |
template<typename TLabel> | |
LabelObject< TLabel, VDimension >::Pointer | GetAsLabelObject () |
LayerType & | GetLayer (LayerIdType value) |
const LayerType & | GetLayer (LayerIdType value) const |
const char * | GetNameOfClass () const override |
void | Graft (const DataObject *data) override |
void | SetLayer (LayerIdType value, const LayerType &layer) |
virtual LayerIdType | Status (const InputType &inputIndex) const |
virtual void | SetLabelMap (LabelMapType *labelMap) |
virtual LabelMapType * | GetModifiableLabelMap () |
virtual const LabelMapType * | GetLabelMap () const |
![]() | |
OutputType | Evaluate (const InputType &inputIndex) const override=0 |
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 |
![]() | |
virtual OffsetType | GetDomainOffset () const |
virtual void | SetDomainOffset (OffsetType _arg) |
![]() | |
virtual OutputRealType | EvaluateGradientNorm (const InputType &iP) const |
virtual void | EvaluateGradientNorm (const InputType &iP, LevelSetDataType &ioData) const |
virtual bool | IsInside (const InputType &iP) const |
virtual RegionType | GetMaximumNumberOfRegions () const |
void | UpdateOutputInformation () override |
void | SetRequestedRegionToLargestPossibleRegion () override |
bool | RequestedRegionIsOutsideOfTheBufferedRegion () override |
bool | VerifyRequestedRegion () override |
void | SetRequestedRegion (const DataObject *data) override |
virtual void | SetRequestedRegion (const RegionType ®ion) |
virtual RegionType | GetRequestedRegion () const |
virtual void | SetBufferedRegion (const RegionType ®ion) |
virtual RegionType | GetBufferedRegion () const |
![]() | |
virtual void | DataHasBeenGenerated () |
void | DisconnectPipeline () |
bool | GetDataReleased () const |
virtual const bool & | GetReleaseDataFlag () const |
SmartPointer< ProcessObject > | GetSource () const |
DataObjectPointerArraySizeType | GetSourceOutputIndex () const |
const DataObjectIdentifierType & | GetSourceOutputName () 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 | UpdateSource () const |
void | SetPipelineMTime (ModifiedTimeType time) |
virtual const ModifiedTimeType & | GetPipelineMTime () const |
virtual void | SetRealTimeStamp (RealTimeStamp _arg) |
virtual const RealTimeStamp & | GetRealTimeStamp () const |
![]() | |
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 |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
const char * | GetNameOfClass () const override |
virtual const TimeStamp & | GetTimeStamp () 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 |
![]() | |
Pointer | Clone () const |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Attributes | |
static constexpr unsigned int | Dimension = Superclass::Dimension |
![]() | |
static constexpr unsigned int | Dimension = Superclass::Dimension |
![]() | |
static constexpr unsigned int | Dimension |
![]() | |
static constexpr unsigned int | Dimension |
Protected Member Functions | |
void | CopyInformation (const DataObject *data) override |
void | Initialize () override |
virtual void | InitializeInternalLabelList ()=0 |
virtual void | InitializeLayers ()=0 |
bool | IsInsideDomain (const InputType &inputIndex) const override |
LevelSetSparseImage ()=default | |
~LevelSetSparseImage () override=default | |
![]() | |
DiscreteLevelSetImage ()=default | |
~DiscreteLevelSetImage () override=default | |
![]() | |
LevelSetImage () | |
~LevelSetImage () override=default | |
LevelSetBase () | |
~LevelSetBase () override=default | |
![]() | |
DataObject () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | PropagateResetPipeline () |
~DataObject () override | |
![]() | |
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 | |
![]() | |
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 | |
LayerIdListType | m_InternalLabelList {} |
LabelMapPointer | m_LabelMap {} |
LayerMapType | m_Layers {} |
![]() | |
OffsetType | m_DomainOffset |
ScalingType | m_NeighborhoodScales |
RegionType | m_MaximumNumberOfRegions |
RegionType | m_NumberOfRegions |
RegionType | m_RequestedNumberOfRegions |
RegionType | m_BufferedRegion |
RegionType | m_RequestedRegion |
![]() | |
std::atomic< int > | m_ReferenceCount {} |
Additional Inherited Members | |
![]() | |
static bool | GetGlobalReleaseDataFlag () |
static void | GlobalReleaseDataFlagOff () |
static void | GlobalReleaseDataFlagOn () |
static Pointer | New () |
static void | SetGlobalReleaseDataFlag (bool val) |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
![]() | |
using | ScalingType |
using itk::LevelSetSparseImage< TOutput, VDimension >::ConstPointer = SmartPointer<const Self> |
Definition at line 49 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LabelMapConstPointer = typename LabelMapType::ConstPointer |
Definition at line 74 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LabelMapPointer = typename LabelMapType::Pointer |
Definition at line 73 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LabelMapType = LabelMap<LabelObjectType> |
Definition at line 72 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LabelObjectLengthType = typename LabelObjectType::LengthType |
Definition at line 69 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LabelObjectLineType = typename LabelObjectType::LineType |
Definition at line 70 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LabelObjectPointer = typename LabelObjectType::Pointer |
Definition at line 68 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LabelObjectType = LabelObject<LayerIdType, VDimension> |
Definition at line 67 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LayerConstIterator = typename LayerType::const_iterator |
Definition at line 79 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LayerIdListType = std::list<LayerIdType> |
Definition at line 65 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LayerIdType = int8_t |
Definition at line 64 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LayerIterator = typename LayerType::iterator |
Definition at line 78 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LayerMapConstIterator = typename LayerMapType::const_iterator |
Definition at line 83 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LayerMapIterator = typename LayerMapType::iterator |
Definition at line 82 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LayerMapType = std::map<LayerIdType, LayerType> |
Definition at line 81 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LayerType = std::map<InputType, OutputType, Functor::LexicographicCompare> |
Definition at line 77 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::Pointer = SmartPointer<Self> |
Definition at line 48 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::RegionType = typename LabelMapType::RegionType |
Definition at line 75 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::Self = LevelSetSparseImage |
Definition at line 47 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::Superclass = DiscreteLevelSetImage<TOutput, VDimension> |
Definition at line 50 of file itkLevelSetSparseImage.h.
|
protecteddefault |
|
overrideprotecteddefault |
|
overrideprotectedvirtual |
Copy level set information from data object
Reimplemented from itk::DiscreteLevelSetImage< TOutput, VDimension >.
LabelObject< TLabel, VDimension >::Pointer itk::LevelSetSparseImage< TOutput, VDimension >::GetAsLabelObject | ( | ) |
Return the label object pointer with a given id
|
virtual |
Set/Get the label map for computing the sparse representation
LayerType & itk::LevelSetSparseImage< TOutput, VDimension >::GetLayer | ( | LayerIdType | value | ) |
Return the pointer to a layer map with given id
const LayerType & itk::LevelSetSparseImage< TOutput, VDimension >::GetLayer | ( | LayerIdType | value | ) | const |
Return the const reference to a layer map with given id
|
virtual |
Set/Get the label map for computing the sparse representation
|
overridevirtual |
Reimplemented from itk::DiscreteLevelSetImage< TOutput, VDimension >.
Reimplemented in itk::MalcolmSparseLevelSetImage< VDimension >, itk::MalcolmSparseLevelSetImage< ImageDimension >, itk::MalcolmSparseLevelSetImage< ImageDimension >, itk::MalcolmSparseLevelSetImage< TInput::ImageDimension >, itk::MalcolmSparseLevelSetImage< TInput::ImageDimension >, itk::ShiSparseLevelSetImage< VDimension >, itk::ShiSparseLevelSetImage< ImageDimension >, itk::ShiSparseLevelSetImage< ImageDimension >, itk::ShiSparseLevelSetImage< TInput::ImageDimension >, itk::ShiSparseLevelSetImage< TInput::ImageDimension >, itk::WhitakerSparseLevelSetImage< TOutput, VDimension >, itk::WhitakerSparseLevelSetImage< LevelSetOutputType, ImageDimension >, itk::WhitakerSparseLevelSetImage< LevelSetOutputType, ImageDimension >, itk::WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension >, and itk::WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension >.
|
overridevirtual |
Graft data object as level set object
Reimplemented from itk::DiscreteLevelSetImage< TOutput, VDimension >.
|
overrideprotectedvirtual |
Initialize the label map point and the sparse-field layers
Reimplemented from itk::DiscreteLevelSetImage< TOutput, VDimension >.
|
protectedpure virtual |
Implemented in itk::MalcolmSparseLevelSetImage< VDimension >, itk::MalcolmSparseLevelSetImage< ImageDimension >, itk::MalcolmSparseLevelSetImage< ImageDimension >, itk::MalcolmSparseLevelSetImage< TInput::ImageDimension >, itk::MalcolmSparseLevelSetImage< TInput::ImageDimension >, itk::ShiSparseLevelSetImage< VDimension >, itk::ShiSparseLevelSetImage< ImageDimension >, itk::ShiSparseLevelSetImage< ImageDimension >, itk::ShiSparseLevelSetImage< TInput::ImageDimension >, itk::ShiSparseLevelSetImage< TInput::ImageDimension >, itk::WhitakerSparseLevelSetImage< TOutput, VDimension >, itk::WhitakerSparseLevelSetImage< LevelSetOutputType, ImageDimension >, itk::WhitakerSparseLevelSetImage< LevelSetOutputType, ImageDimension >, itk::WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension >, and itk::WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension >.
|
protectedpure virtual |
Initialize the sparse field layers
Implemented in itk::MalcolmSparseLevelSetImage< VDimension >, itk::MalcolmSparseLevelSetImage< ImageDimension >, itk::MalcolmSparseLevelSetImage< ImageDimension >, itk::MalcolmSparseLevelSetImage< TInput::ImageDimension >, itk::MalcolmSparseLevelSetImage< TInput::ImageDimension >, itk::ShiSparseLevelSetImage< VDimension >, itk::ShiSparseLevelSetImage< ImageDimension >, itk::ShiSparseLevelSetImage< ImageDimension >, itk::ShiSparseLevelSetImage< TInput::ImageDimension >, itk::ShiSparseLevelSetImage< TInput::ImageDimension >, itk::WhitakerSparseLevelSetImage< TOutput, VDimension >, itk::WhitakerSparseLevelSetImage< LevelSetOutputType, ImageDimension >, itk::WhitakerSparseLevelSetImage< LevelSetOutputType, ImageDimension >, itk::WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension >, and itk::WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension >.
|
overrideprotectedvirtual |
|
virtual |
Set/Get the label map for computing the sparse representation
void itk::LevelSetSparseImage< TOutput, VDimension >::SetLayer | ( | LayerIdType | value, |
const LayerType & | layer ) |
Set a layer map with id to the given layer pointer
|
virtual |
Returns the layer affiliation of a given location inputIndex
|
staticconstexpr |
Definition at line 55 of file itkLevelSetSparseImage.h.
|
protected |
Definition at line 122 of file itkLevelSetSparseImage.h.
|
protected |
Definition at line 121 of file itkLevelSetSparseImage.h.
Referenced by itk::WhitakerSparseLevelSetImage< TOutput, TInput::ImageDimension >::GetAsLabelObject().
|
protected |
Definition at line 120 of file itkLevelSetSparseImage.h.