![]() |
ITK
5.4.0
Insight Toolkit
|
#include <itkLevelSetEquationTermContainer.h>
Class for container holding the terms of a given level set update equation.
| TInputImage | Input image or speed image or feature image for segmentation |
| TLevelSetContainer | Container holding all the level set functions |
Definition at line 42 of file itkLevelSetEquationTermContainer.h.
Inheritance diagram for itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >:
Collaboration diagram for itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >:Classes | |
| class | ConstIterator |
| class | Iterator |
Public Types | |
| using | ConstPointer = SmartPointer< const Self > |
| using | InputImagePointer = typename InputImageType::Pointer |
| using | InputImageType = TInputImage |
| using | LevelSetContainerPointer = typename LevelSetContainerType::Pointer |
| using | LevelSetContainerType = TLevelSetContainer |
| using | LevelSetDataType = typename LevelSetContainerType::LevelSetDataType |
| using | LevelSetGradientType = typename LevelSetContainerType::GradientType |
| using | LevelSetHessianType = typename LevelSetContainerType::HessianType |
| using | LevelSetIdentifierType = typename LevelSetContainerType::LevelSetIdentifierType |
| using | LevelSetInputIndexType = typename LevelSetContainerType::InputIndexType |
| using | LevelSetOutputPixelType = typename LevelSetContainerType::OutputType |
| using | LevelSetOutputRealType = typename LevelSetContainerType::OutputRealType |
| using | LevelSetPointer = typename LevelSetContainerType::LevelSetPointer |
| using | LevelSetType = typename LevelSetContainerType::LevelSetType |
| using | Pointer = SmartPointer< Self > |
| using | Self = LevelSetEquationTermContainer |
| using | Superclass = Object |
| using | TermIdType = unsigned int |
| using | TermPointer = typename TermType::Pointer |
| using | TermType = LevelSetEquationTermBase< InputImageType, LevelSetContainerType > |
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 | |
| void | AddTerm (const TermIdType &iId, TermType *iTerm) |
| Iterator | Begin () |
| ConstIterator | Begin () const |
| LevelSetOutputRealType | ComputeCFLContribution () const |
| void | ComputeRequiredData (const LevelSetInputIndexType &iP, LevelSetDataType &ioData) |
| Iterator | End () |
| ConstIterator | End () const |
| LevelSetOutputRealType | Evaluate (const LevelSetInputIndexType &iP) |
| LevelSetOutputRealType | Evaluate (const LevelSetInputIndexType &iP, const LevelSetDataType &iData) |
| virtual LevelSetIdentifierType | GetCurrentLevelSetId () |
| virtual LevelSetContainerType * | GetModifiableLevelSetContainer () |
| const char * | GetNameOfClass () const override |
| TermType * | GetTerm (const std::string &iName) |
| TermType * | GetTerm (const TermIdType &iId) |
| void | Initialize (const LevelSetInputIndexType &iP) |
| void | InitializeParameters () |
| void | PushTerm (TermType *iTerm) |
| virtual void | SetCurrentLevelSetId (LevelSetIdentifierType _arg) |
| virtual void | SetLevelSetContainer (LevelSetContainerType *_arg) |
| void | Update () |
| void | UpdatePixel (const LevelSetInputIndexType &iP, const LevelSetOutputRealType &oldValue, const LevelSetOutputRealType &newValue) |
| virtual void | SetInput (InputImageType *_arg) |
| virtual InputImageType * | GetModifiableInput () |
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 |
| 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) |
| 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 Pointer | CreateAnother () const |
| virtual void | Delete () |
| virtual const char * | GetNameOfClass () const |
| virtual int | GetReferenceCount () const |
| void | Print (std::ostream &os, Indent indent=0) const |
| virtual void | Register () const |
| virtual void | SetReferenceCount (int) |
| virtual void | UnRegister () const noexcept |
Static Public Member Functions | |
| static Pointer | New () |
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 () |
Protected Types | |
| using | HashMapStringTermContainerType = std::unordered_map< std::string, TermPointer > |
| using | MapCFLContainerConstIterator = typename MapCFLContainerType::const_iterator |
| using | MapCFLContainerIterator = typename MapCFLContainerType::iterator |
| using | MapCFLContainerType = std::map< TermIdType, std::atomic< LevelSetOutputRealType > > |
| using | MapTermContainerConstIteratorType = typename MapTermContainerType::const_iterator |
| using | MapTermContainerIteratorType = typename MapTermContainerType::iterator |
| using | MapTermContainerType = std::map< TermIdType, TermPointer > |
| using | RequiredDataType = typename TermType::RequiredDataType |
Protected Member Functions | |
| LevelSetEquationTermContainer () | |
| ~LevelSetEquationTermContainer () override=default | |
Protected Member Functions inherited from itk::Object | |
| 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 | |
Protected Member Functions inherited from itk::LightObject | |
| virtual LightObject::Pointer | InternalClone () const |
| LightObject () | |
| virtual void | PrintHeader (std::ostream &os, Indent indent) const |
| virtual void | PrintSelf (std::ostream &os, Indent indent) const |
| virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
| virtual | ~LightObject () |
Protected Attributes | |
| MapTermContainerType | m_Container {} |
| LevelSetIdentifierType | m_CurrentLevelSetId {} |
| InputImagePointer | m_Input {} |
| LevelSetContainerPointer | m_LevelSetContainer {} |
| HashMapStringTermContainerType | m_NameContainer {} |
| RequiredDataType | m_RequiredData {} |
| MapCFLContainerType | m_TermContribution {} |
Protected Attributes inherited from itk::LightObject | |
| std::atomic< int > | m_ReferenceCount {} |
Friends | |
| class | Iterator |
| using itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::ConstPointer = SmartPointer<const Self> |
Definition at line 49 of file itkLevelSetEquationTermContainer.h.
|
protected |
Definition at line 315 of file itkLevelSetEquationTermContainer.h.
| using itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::InputImagePointer = typename InputImageType::Pointer |
Definition at line 61 of file itkLevelSetEquationTermContainer.h.
| using itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::InputImageType = TInputImage |
Definition at line 60 of file itkLevelSetEquationTermContainer.h.
| using itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::LevelSetContainerPointer = typename LevelSetContainerType::Pointer |
Definition at line 64 of file itkLevelSetEquationTermContainer.h.
| using itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::LevelSetContainerType = TLevelSetContainer |
Definition at line 63 of file itkLevelSetEquationTermContainer.h.
| using itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::LevelSetDataType = typename LevelSetContainerType::LevelSetDataType |
Definition at line 72 of file itkLevelSetEquationTermContainer.h.
| using itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::LevelSetGradientType = typename LevelSetContainerType::GradientType |
Definition at line 74 of file itkLevelSetEquationTermContainer.h.
| using itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::LevelSetHessianType = typename LevelSetContainerType::HessianType |
Definition at line 75 of file itkLevelSetEquationTermContainer.h.
| using itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::LevelSetIdentifierType = typename LevelSetContainerType::LevelSetIdentifierType |
Definition at line 69 of file itkLevelSetEquationTermContainer.h.
| using itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::LevelSetInputIndexType = typename LevelSetContainerType::InputIndexType |
Definition at line 73 of file itkLevelSetEquationTermContainer.h.
| using itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::LevelSetOutputPixelType = typename LevelSetContainerType::OutputType |
Definition at line 70 of file itkLevelSetEquationTermContainer.h.
| using itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::LevelSetOutputRealType = typename LevelSetContainerType::OutputRealType |
Definition at line 71 of file itkLevelSetEquationTermContainer.h.
| using itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::LevelSetPointer = typename LevelSetContainerType::LevelSetPointer |
Definition at line 67 of file itkLevelSetEquationTermContainer.h.
| using itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::LevelSetType = typename LevelSetContainerType::LevelSetType |
Definition at line 66 of file itkLevelSetEquationTermContainer.h.
|
protected |
Definition at line 326 of file itkLevelSetEquationTermContainer.h.
|
protected |
Definition at line 325 of file itkLevelSetEquationTermContainer.h.
|
protected |
Definition at line 324 of file itkLevelSetEquationTermContainer.h.
|
protected |
Definition at line 142 of file itkLevelSetEquationTermContainer.h.
|
protected |
Definition at line 141 of file itkLevelSetEquationTermContainer.h.
|
protected |
Definition at line 140 of file itkLevelSetEquationTermContainer.h.
| using itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::Pointer = SmartPointer<Self> |
Definition at line 48 of file itkLevelSetEquationTermContainer.h.
|
protected |
Definition at line 319 of file itkLevelSetEquationTermContainer.h.
| using itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::Self = LevelSetEquationTermContainer |
Definition at line 47 of file itkLevelSetEquationTermContainer.h.
| using itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::Superclass = Object |
Definition at line 50 of file itkLevelSetEquationTermContainer.h.
| using itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::TermIdType = unsigned int |
Definition at line 58 of file itkLevelSetEquationTermContainer.h.
| using itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::TermPointer = typename TermType::Pointer |
Definition at line 78 of file itkLevelSetEquationTermContainer.h.
| using itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::TermType = LevelSetEquationTermBase<InputImageType, LevelSetContainerType> |
Definition at line 77 of file itkLevelSetEquationTermContainer.h.
|
protected |
|
overrideprotecteddefault |
| void itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::AddTerm | ( | const TermIdType & | iId, |
| TermType * | iTerm | ||
| ) |
Replace the pointer to the term with the given id
| Iterator itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::Begin | ( | ) |
| ConstIterator itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::Begin | ( | ) | const |
| LevelSetOutputRealType itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::ComputeCFLContribution | ( | ) | const |
Return the CFL contribution of the current term
| void itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::ComputeRequiredData | ( | const LevelSetInputIndexType & | iP, |
| LevelSetDataType & | ioData | ||
| ) |
| Iterator itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::End | ( | ) |
| ConstIterator itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::End | ( | ) | const |
| LevelSetOutputRealType itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::Evaluate | ( | const LevelSetInputIndexType & | iP | ) |
Evaluate the term at a given pixel location
| LevelSetOutputRealType itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::Evaluate | ( | const LevelSetInputIndexType & | iP, |
| const LevelSetDataType & | iData | ||
| ) |
|
virtual |
|
virtual |
Set/Get the input image to be segmented.
|
virtual |
|
overridevirtual |
Reimplemented from itk::Object.
| TermType * itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::GetTerm | ( | const std::string & | iName | ) |
Get the term with the given name
| TermType * itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::GetTerm | ( | const TermIdType & | iId | ) |
Get the term with the given id
| void itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::Initialize | ( | const LevelSetInputIndexType & | iP | ) |
| void itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::InitializeParameters | ( | ) |
Initialize the term parameters prior to the start of an iteration
|
static |
Method for creation through object factory
| void itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::PushTerm | ( | TermType * | iTerm | ) |
Add a term to the end of the container
|
virtual |
|
virtual |
Set/Get the input image to be segmented.
|
virtual |
| void itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::Update | ( | ) |
Update the term parameters at end of iteration
| void itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::UpdatePixel | ( | const LevelSetInputIndexType & | iP, |
| const LevelSetOutputRealType & | oldValue, | ||
| const LevelSetOutputRealType & | newValue | ||
| ) |
Supply the update at a given pixel location to update the term parameters
|
friend |
Definition at line 146 of file itkLevelSetEquationTermContainer.h.
|
protected |
Definition at line 322 of file itkLevelSetEquationTermContainer.h.
|
protected |
Definition at line 310 of file itkLevelSetEquationTermContainer.h.
|
protected |
Definition at line 313 of file itkLevelSetEquationTermContainer.h.
|
protected |
Definition at line 311 of file itkLevelSetEquationTermContainer.h.
|
protected |
Definition at line 317 of file itkLevelSetEquationTermContainer.h.
|
protected |
Definition at line 320 of file itkLevelSetEquationTermContainer.h.
|
protected |
Definition at line 328 of file itkLevelSetEquationTermContainer.h.
1.9.3