#include <itkWhitakerSparseLevelSetImage.h>
Derived class for the sparse-field representation of level-set function.
This representation is a "sparse" level-set function, where values are real in between [ -3, +3 ] and organized into several layers { -2, -1, 0, +1, +2 }.
TOutput | Output type (float or double) of the level set function |
VDimension | Dimension of the input space |
Definition at line 41 of file itkWhitakerSparseLevelSetImage.h.
Public Member Functions | |
virtual::itk::LightObject::Pointer | CreateAnother () const |
OutputType | Evaluate (const InputType &inputIndex) const override |
const char * | GetNameOfClass () const override |
template<typename TLabel> | |
LabelObject< TLabel, Dimension >::Pointer | GetAsLabelObject () |
![]() | |
template<typename TLabel> | |
LabelObject< TLabel, VDimension >::Pointer | GetAsLabelObject () |
LayerType & | GetLayer (LayerIdType value) |
const LayerType & | GetLayer (LayerIdType value) const |
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 |
![]() | |
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 |
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 |
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 Member Functions | |
static LayerIdType | MinusOneLayer () |
static LayerIdType | MinusThreeLayer () |
static LayerIdType | MinusTwoLayer () |
static Pointer | New () |
static LayerIdType | PlusOneLayer () |
static LayerIdType | PlusThreeLayer () |
static LayerIdType | PlusTwoLayer () |
static LayerIdType | ZeroLayer () |
![]() | |
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 () |
Static Public Attributes | |
static constexpr unsigned int | Dimension = VDimension |
![]() | |
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 | InitializeInternalLabelList () override |
void | InitializeLayers () override |
WhitakerSparseLevelSetImage () | |
~WhitakerSparseLevelSetImage () override=default | |
![]() | |
void | CopyInformation (const DataObject *data) override |
void | Initialize () override |
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 () |
Additional Inherited Members | |
![]() | |
using | ScalingType |
![]() | |
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 {} |
using itk::WhitakerSparseLevelSetImage< TOutput, VDimension >::ConstPointer = SmartPointer<const Self> |
Definition at line 48 of file itkWhitakerSparseLevelSetImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LabelMapConstPointer |
Definition at line 74 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LabelMapPointer |
Definition at line 73 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LabelMapType |
Definition at line 72 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LabelObjectLengthType |
Definition at line 69 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LabelObjectLineType |
Definition at line 70 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LabelObjectPointer |
Definition at line 68 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LabelObjectType |
Definition at line 67 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LayerConstIterator |
Definition at line 79 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LayerIdType |
Definition at line 64 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LayerIterator |
Definition at line 78 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LayerMapConstIterator |
Definition at line 83 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LayerMapIterator |
Definition at line 82 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LayerMapType |
Definition at line 81 of file itkLevelSetSparseImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::LayerType |
Definition at line 77 of file itkLevelSetSparseImage.h.
using itk::WhitakerSparseLevelSetImage< TOutput, VDimension >::Pointer = SmartPointer<Self> |
Definition at line 47 of file itkWhitakerSparseLevelSetImage.h.
using itk::LevelSetSparseImage< TOutput, VDimension >::RegionType |
Definition at line 75 of file itkLevelSetSparseImage.h.
using itk::WhitakerSparseLevelSetImage< TOutput, VDimension >::Self = WhitakerSparseLevelSetImage |
Definition at line 46 of file itkWhitakerSparseLevelSetImage.h.
using itk::WhitakerSparseLevelSetImage< TOutput, VDimension >::Superclass = LevelSetSparseImage<TOutput, VDimension> |
Definition at line 49 of file itkWhitakerSparseLevelSetImage.h.
|
protected |
|
overrideprotecteddefault |
|
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.
|
overridevirtual |
Returns the gradient of the level set function at a given location inputIndex
Implements itk::DiscreteLevelSetImage< TOutput, VDimension >.
|
inline |
Return the label object pointer with a given id
Definition at line 131 of file itkWhitakerSparseLevelSetImage.h.
|
overridevirtual |
Reimplemented from itk::LevelSetSparseImage< TOutput, VDimension >.
|
overrideprotectedvirtual |
Implements itk::LevelSetSparseImage< TOutput, VDimension >.
|
overrideprotectedvirtual |
Initialize the sparse field layers
Implements itk::LevelSetSparseImage< TOutput, VDimension >.
|
inlinestatic |
Definition at line 103 of file itkWhitakerSparseLevelSetImage.h.
|
inlinestatic |
Definition at line 93 of file itkWhitakerSparseLevelSetImage.h.
|
inlinestatic |
Definition at line 98 of file itkWhitakerSparseLevelSetImage.h.
|
static |
Method for creation through the object factory.
|
inlinestatic |
Definition at line 113 of file itkWhitakerSparseLevelSetImage.h.
|
inlinestatic |
Definition at line 123 of file itkWhitakerSparseLevelSetImage.h.
|
inlinestatic |
Definition at line 118 of file itkWhitakerSparseLevelSetImage.h.
|
inlinestatic |
Definition at line 108 of file itkWhitakerSparseLevelSetImage.h.
|
staticconstexpr |
Definition at line 57 of file itkWhitakerSparseLevelSetImage.h.