template<typename TInput, typename TLevelSetContainer>
class itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >
Class to represent the external energy Chan And Vese term.
\[ \delta_{\epsilon}\left( \phi_{k}\left( p \right) \right) \cdot \prod_{i = 1, i \neq k}^{N} \left( 1 - H_{\epsilon} \left( \phi_i\left( p \right) \right) \right) \cdot \left\| I(p) - \mu_{out} \right\|^2 \]
- \( \delta_{\epsilon} \) is a regularized dirac function,
- \( k \) is the current level-set id,
- \( I\left( p \right) \) is the pixel value at the given location \( p \),
- \( H_{\epsilon} \) is a regularized Heaviside function,
- \( \mu_{out} \) is the external mean intensity
- Template Parameters
-
TInput | Input Image Type |
TLevelSetContainer | Level set function container type |
- Examples
- SphinxExamples/src/Bridge/VtkGlue/VisualizeEvolvingDense2DLevelSetAsElevationMap/Code.cxx, and SphinxExamples/src/Bridge/VtkGlue/VisualizeEvolvingDense2DLevelSetZeroSet/Code.cxx.
Definition at line 50 of file itkLevelSetEquationChanAndVeseExternalTerm.h.
|
void | ComputeProduct (const LevelSetInputIndexType &iP, LevelSetOutputRealType &prod) override |
|
void | ComputeProductTerm (const LevelSetInputIndexType &iP, LevelSetOutputRealType &prod) override |
|
const char * | GetNameOfClass () const override |
|
void | UpdatePixel (const LevelSetInputIndexType &iP, const LevelSetOutputRealType &oldValue, const LevelSetOutputRealType &newValue) override |
|
Public Member Functions inherited from itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer > |
virtual InputPixelRealType | GetMean () |
|
const char * | GetNameOfClass () const override |
|
void | Initialize (const LevelSetInputIndexType &inputIndex) override |
|
void | InitializeParameters () override |
|
virtual void | SetMean (InputPixelRealType _arg) |
|
void | Update () override |
|
void | UpdatePixel (const LevelSetInputIndexType &inputIndex, const LevelSetOutputRealType &oldValue, const LevelSetOutputRealType &newValue) override |
|
virtual LevelSetOutputRealType | Evaluate (const LevelSetInputIndexType &iP) |
|
virtual LevelSetOutputRealType | Evaluate (const LevelSetInputIndexType &iP, const LevelSetDataType &iData) |
|
virtual LevelSetOutputRealType | GetCFLContribution () const |
|
virtual LevelSetOutputRealType | GetCoefficient () |
|
virtual LevelSetIdentifierType | GetCurrentLevelSetId () |
|
virtual LevelSetType * | GetModifiableCurrentLevelSetPointer () |
|
virtual LevelSetContainerType * | GetModifiableLevelSetContainer () |
|
const char * | GetNameOfClass () const override |
|
const RequiredDataType & | GetRequiredData () const |
|
virtual void | SetCoefficient (LevelSetOutputRealType _arg) |
|
virtual void | SetCurrentLevelSetId (LevelSetIdentifierType _arg) |
|
virtual void | SetLevelSetContainer (LevelSetContainerType *iContainer) |
|
virtual void | SetInput (InputImageType *_arg) |
|
virtual InputImageType * | GetModifiableInput () |
|
virtual void | SetTermName (const char *_arg) |
|
virtual const char * | GetTermName () 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 |
|
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 |
|