#include <itkUpdateShiSparseLevelSet.h>
Base class for updating the Shi representation of level-set function.
VDimension | Dimension of the input space |
TEquationContainer | Container of the system of levelset equations |
Definition at line 42 of file itkUpdateShiSparseLevelSet.h.
Public Member Functions | |
virtual::itk::LightObject::Pointer | CreateAnother () const |
virtual LevelSetType * | GetModifiableOutputLevelSet () |
const char * | GetNameOfClass () const override |
virtual const LevelSetType * | GetOutputLevelSet () const |
virtual LevelSetOutputRealType | GetRMSChangeAccumulator () |
void | Update () |
virtual void | SetInputLevelSet (LevelSetType *_arg) |
virtual LevelSetType * | GetModifiableInputLevelSet () |
virtual const LevelSetType * | GetInputLevelSet () const |
virtual void | SetEquationContainer (EquationContainerType *_arg) |
virtual EquationContainerType * | GetModifiableEquationContainer () |
virtual const EquationContainerType * | GetEquationContainer () const |
virtual void | SetCurrentLevelSetId (IdentifierType _arg) |
virtual IdentifierType | GetCurrentLevelSetId () |
![]() | |
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 Pointer | New () |
![]() | |
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 | ImageDimension = VDimension |
Protected Types | |
using | LabelImagePointer = typename LabelImageType::Pointer |
using | LabelImageType = Image<int8_t, ImageDimension> |
using | NeighborhoodIteratorType = ShapedNeighborhoodIterator<LabelImageType> |
Protected Member Functions | |
bool | Con (const LevelSetInputType &idx, const LevelSetOutputType ¤tStatus, const LevelSetOutputRealType ¤tUpdate) const |
void | UpdateLayerMinusOne () |
void | UpdateLayerPlusOne () |
UpdateShiSparseLevelSet () | |
~UpdateShiSparseLevelSet () override=default | |
![]() | |
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 | |
IdentifierType | m_CurrentLevelSetId {} |
EquationContainerPointer | m_EquationContainer {} |
LabelImagePointer | m_InternalImage {} |
LevelSetPointer | m_OutputLevelSet {} |
LevelSetOutputRealType | m_RMSChangeAccumulator {} |
![]() | |
std::atomic< int > | m_ReferenceCount {} |
Private Types | |
using | NodePairType = std::pair<LevelSetInputType, LevelSetOutputType> |
Private Attributes | |
LevelSetPointer | m_InputLevelSet {} |
LevelSetOffsetType | m_Offset {} |
using itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::ConstPointer = SmartPointer<const Self> |
Definition at line 49 of file itkUpdateShiSparseLevelSet.h.
using itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::EquationContainerPointer = typename EquationContainerType::Pointer |
Definition at line 84 of file itkUpdateShiSparseLevelSet.h.
using itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::EquationContainerType = TEquationContainer |
Definition at line 83 of file itkUpdateShiSparseLevelSet.h.
|
protected |
Definition at line 123 of file itkUpdateShiSparseLevelSet.h.
|
protected |
Definition at line 122 of file itkUpdateShiSparseLevelSet.h.
using itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::LevelSetInputType = typename LevelSetType::InputType |
Definition at line 62 of file itkUpdateShiSparseLevelSet.h.
using itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::LevelSetLabelMapPointer = typename LevelSetType::LabelMapPointer |
Definition at line 67 of file itkUpdateShiSparseLevelSet.h.
using itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::LevelSetLabelMapType = typename LevelSetType::LabelMapType |
Definition at line 66 of file itkUpdateShiSparseLevelSet.h.
using itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::LevelSetLabelObjectLengthType = typename LevelSetType::LabelObjectLengthType |
Definition at line 71 of file itkUpdateShiSparseLevelSet.h.
using itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::LevelSetLabelObjectLineType = typename LevelSetType::LabelObjectLineType |
Definition at line 72 of file itkUpdateShiSparseLevelSet.h.
using itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::LevelSetLabelObjectPointer = typename LevelSetType::LabelObjectPointer |
Definition at line 70 of file itkUpdateShiSparseLevelSet.h.
using itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::LevelSetLabelObjectType = typename LevelSetType::LabelObjectType |
Definition at line 69 of file itkUpdateShiSparseLevelSet.h.
using itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::LevelSetLayerConstIterator = typename LevelSetType::LayerConstIterator |
Definition at line 76 of file itkUpdateShiSparseLevelSet.h.
using itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::LevelSetLayerIterator = typename LevelSetType::LayerIterator |
Definition at line 75 of file itkUpdateShiSparseLevelSet.h.
using itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::LevelSetLayerMapConstIterator = typename LevelSetType::LayerMapConstIterator |
Definition at line 81 of file itkUpdateShiSparseLevelSet.h.
using itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::LevelSetLayerMapIterator = typename LevelSetType::LayerMapIterator |
Definition at line 80 of file itkUpdateShiSparseLevelSet.h.
using itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::LevelSetLayerMapType = typename LevelSetType::LayerMapType |
Definition at line 79 of file itkUpdateShiSparseLevelSet.h.
using itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::LevelSetLayerType = typename LevelSetType::LayerType |
Definition at line 74 of file itkUpdateShiSparseLevelSet.h.
using itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::LevelSetOffsetType = typename LevelSetType::OffsetType |
Definition at line 64 of file itkUpdateShiSparseLevelSet.h.
using itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::LevelSetOutputRealType = typename LevelSetType::OutputRealType |
Definition at line 77 of file itkUpdateShiSparseLevelSet.h.
using itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::LevelSetOutputType = typename LevelSetType::OutputType |
Definition at line 63 of file itkUpdateShiSparseLevelSet.h.
using itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::LevelSetPointer = typename LevelSetType::Pointer |
Definition at line 61 of file itkUpdateShiSparseLevelSet.h.
using itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::LevelSetType = ShiSparseLevelSetImage<ImageDimension> |
Definition at line 60 of file itkUpdateShiSparseLevelSet.h.
|
protected |
Definition at line 127 of file itkUpdateShiSparseLevelSet.h.
|
private |
Definition at line 151 of file itkUpdateShiSparseLevelSet.h.
using itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::Pointer = SmartPointer<Self> |
Definition at line 48 of file itkUpdateShiSparseLevelSet.h.
using itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::Self = UpdateShiSparseLevelSet |
Definition at line 47 of file itkUpdateShiSparseLevelSet.h.
using itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::Superclass = Object |
Definition at line 50 of file itkUpdateShiSparseLevelSet.h.
using itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::TermContainerPointer = typename EquationContainerType::TermContainerPointer |
Definition at line 85 of file itkUpdateShiSparseLevelSet.h.
|
protected |
|
overrideprotecteddefault |
|
protected |
Return true if there is a pixel from the opposite layer (+1 or -1) moving in the same direction
|
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.
|
virtual |
Set/Get the current level set id
|
virtual |
Set/Get the Equation container for computing the update
|
virtual |
Set/Get the sparse level set image
|
virtual |
Set/Get the Equation container for computing the update
|
virtual |
Set/Get the sparse level set image
|
virtual |
|
overridevirtual |
Reimplemented from itk::Object.
|
virtual |
|
virtual |
Set/Get the RMS change for the update
|
static |
Method for creation through object factory
|
virtual |
Set/Get the current level set id
|
virtual |
Set/Get the Equation container for computing the update
|
virtual |
Set/Get the sparse level set image
void itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::Update | ( | ) |
Update function for initializing and computing the output level set
|
protected |
Update -1 level set layers by checking the direction of the movement towards +1
|
protected |
Update +1 level set layers by checking the direction of the movement towards -1
|
staticconstexpr |
Definition at line 58 of file itkUpdateShiSparseLevelSet.h.
|
protected |
Definition at line 118 of file itkUpdateShiSparseLevelSet.h.
|
protected |
Definition at line 120 of file itkUpdateShiSparseLevelSet.h.
|
private |
Definition at line 148 of file itkUpdateShiSparseLevelSet.h.
|
protected |
Definition at line 125 of file itkUpdateShiSparseLevelSet.h.
|
private |
Definition at line 149 of file itkUpdateShiSparseLevelSet.h.
|
protected |
Definition at line 116 of file itkUpdateShiSparseLevelSet.h.
|
protected |
Definition at line 119 of file itkUpdateShiSparseLevelSet.h.