#include <itkShiSparseLevelSetImage.h>
Derived class for the shi representation of level-set function.
This representation is a "sparse" level-set function, where values could only be { -3, -1, +1, +3 } and organized into 2 layers { -1, +1 }.
VDimension | Dimension of the input space |
Definition at line 37 of file itkShiSparseLevelSetImage.h.
Public Member Functions | |
virtual::itk::LightObject::Pointer | CreateAnother () const |
OutputType | Evaluate (const InputType &inputIndex) 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 |
const char * | GetNameOfClass () const override |
![]() | |
LabelObject< TLabel, VDimension >::Pointer | GetAsLabelObject () |
LabelObject< TLabel, VDimension >::Pointer | GetAsLabelObject () |
LayerType & | GetLayer (LayerIdType value) |
LayerType & | GetLayer (LayerIdType value) |
const LayerType & | GetLayer (LayerIdType value) const |
const LayerType & | GetLayer (LayerIdType value) const |
void | Graft (const DataObject *data) override |
void | Graft (const DataObject *data) override |
void | SetLayer (LayerIdType value, const LayerType &layer) |
void | SetLayer (LayerIdType value, const LayerType &layer) |
virtual LayerIdType | Status (const InputType &inputIndex) const |
virtual LayerIdType | Status (const InputType &inputIndex) const |
virtual void | SetLabelMap (LabelMapType *labelMap) |
virtual LabelMapType * | GetModifiableLabelMap () |
virtual const LabelMapType * | GetLabelMap () 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 |
![]() | |
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 Pointer | New () |
static LayerIdType | PlusOneLayer () |
static LayerIdType | PlusThreeLayer () |
![]() | |
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 |
static constexpr unsigned int | 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 |
ShiSparseLevelSetImage () | |
~ShiSparseLevelSetImage () override=default | |
![]() | |
void | CopyInformation (const DataObject *data) override |
void | CopyInformation (const DataObject *data) override |
void | Initialize () override |
void | Initialize () override |
bool | IsInsideDomain (const InputType &inputIndex) const override |
bool | IsInsideDomain (const InputType &inputIndex) const override |
LevelSetSparseImage ()=default | |
LevelSetSparseImage ()=default | |
~LevelSetSparseImage () override=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 |
LayerIdListType | m_InternalLabelList |
LabelMapPointer | m_LabelMap |
LabelMapPointer | m_LabelMap |
LayerMapType | m_Layers |
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::ShiSparseLevelSetImage< VDimension >::ConstPointer = SmartPointer<const Self> |
Definition at line 44 of file itkShiSparseLevelSetImage.h.
using itk::ShiSparseLevelSetImage< VDimension >::Pointer = SmartPointer<Self> |
Definition at line 43 of file itkShiSparseLevelSetImage.h.
using itk::ShiSparseLevelSetImage< VDimension >::Self = ShiSparseLevelSetImage |
Definition at line 42 of file itkShiSparseLevelSetImage.h.
using itk::ShiSparseLevelSetImage< VDimension >::Superclass = LevelSetSparseImage<int8_t, VDimension> |
Definition at line 45 of file itkShiSparseLevelSetImage.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 >.
|
overridevirtual |
Returns the Hessian of the level set function at a given location inputIndex
Reimplemented from itk::DiscreteLevelSetImage< TOutput, VDimension >.
|
overridevirtual |
Returns the Hessian of the level set function at a given location inputIndex as part of the LevelSetDataType
Reimplemented from itk::DiscreteLevelSetImage< TOutput, VDimension >.
|
overridevirtual |
Returns the Laplacian of the level set function at a given location inputIndex
Reimplemented from itk::DiscreteLevelSetImage< TOutput, VDimension >.
|
overridevirtual |
Returns the Laplacian of the level set function at a given location inputIndex as part of the LevelSetDataType
Reimplemented from itk::DiscreteLevelSetImage< TOutput, VDimension >.
|
overridevirtual |
Returns the Laplacian of the level set function at a given location inputIndex
Reimplemented from itk::DiscreteLevelSetImage< TOutput, VDimension >.
|
overridevirtual |
Returns the Hessian of the level set function at a given location inputIndex as part of the LevelSetDataType
Reimplemented from itk::DiscreteLevelSetImage< TOutput, VDimension >.
|
overridevirtual |
Reimplemented from itk::LevelSetSparseImage< int8_t, VDimension >.
|
overrideprotectedvirtual |
Implements itk::LevelSetSparseImage< int8_t, VDimension >.
|
overrideprotectedvirtual |
Initialize the sparse field layers
Implements itk::LevelSetSparseImage< int8_t, VDimension >.
|
inlinestatic |
Definition at line 110 of file itkShiSparseLevelSetImage.h.
|
inlinestatic |
Definition at line 105 of file itkShiSparseLevelSetImage.h.
|
static |
Method for creation through the object factory.
|
inlinestatic |
Definition at line 115 of file itkShiSparseLevelSetImage.h.
|
inlinestatic |
Definition at line 120 of file itkShiSparseLevelSetImage.h.
|
staticconstexpr |
Definition at line 53 of file itkShiSparseLevelSetImage.h.