template<typename TImageType, typename TSparseImageType>
class itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >
This class extends the LevelSetFunction class by adding a grow term based on a target curvature stored in a sparse image.
- We extend the LevelSetFunction class to add a refitting term. This refitting term forces the curvature of the level set interface to match a prescribed curvature. The prescribed curvature is provided in a sparse image format. The NodeType for the sparse image should contain the member variables m_Curvature and m_CurvatureFlag. The refitting term is defined as part of the propagation term of the original LevelSetFunction. To this purpose we defined the PropagationSpeed method which computes the refitting term and also adds to this term the value returned by the new virtual OtherPropagationSpeed. Therefore, classes derived from this class MUST NOT overwrite the PropagationSpeed method. Instead classes wishing to define a propagation term must define OtherPropagationSpeed.
- IMPORTANT
- Subclasses MUST NOT overwrite the PropagationSpeed method. Define OtherPropagationSpeed instead.
Definition at line 52 of file itkLevelSetFunctionWithRefitTerm.h.
|
TimeStepType | ComputeGlobalTimeStep (void *GlobalData) const override |
|
const char * | GetNameOfClass () const override |
|
SparseImageType * | GetSparseTargetImage () const |
|
void | SetOtherPropagationWeight (const ScalarValueType w) |
|
void | SetRefitWeight (const ScalarValueType w) |
|
void | SetSparseTargetImage (SparseImageType *im) |
|
virtual VectorType | AdvectionField (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *=0) const |
|
virtual ScalarValueType | Compute3DMinimalCurvature (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd=0) |
|
virtual ScalarValueType | ComputeCurvatureTerm (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd=0) |
|
virtual ScalarValueType | ComputeMeanCurvature (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd=0) |
|
virtual ScalarValueType | ComputeMinimalCurvature (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd=0) |
|
PixelType | ComputeUpdate (const NeighborhoodType &it, void *globalData, const FloatOffsetType &=FloatOffsetType(0.0)) override |
|
virtual ScalarValueType | CurvatureSpeed (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *=nullptr) const |
|
void * | GetGlobalDataPointer () const override |
|
bool | GetUseMinimalCurvature () const |
|
virtual void | Initialize (const RadiusType &r) |
|
virtual ScalarValueType | LaplacianSmoothingSpeed (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *=0) const |
|
void | ReleaseGlobalDataPointer (void *GlobalData) const override |
|
void | SetUseMinimalCurvature (bool b) |
|
void | UseMinimalCurvatureOff () |
|
void | UseMinimalCurvatureOn () |
|
virtual void | SetAdvectionWeight (const ScalarValueType a) |
|
ScalarValueType | GetAdvectionWeight () const |
|
virtual void | SetPropagationWeight (const ScalarValueType p) |
|
ScalarValueType | GetPropagationWeight () const |
|
virtual void | SetCurvatureWeight (const ScalarValueType c) |
|
ScalarValueType | GetCurvatureWeight () const |
|
void | SetLaplacianSmoothingWeight (const ScalarValueType c) |
|
ScalarValueType | GetLaplacianSmoothingWeight () const |
|
void | SetEpsilonMagnitude (const ScalarValueType e) |
|
ScalarValueType | GetEpsilonMagnitude () const |
|
const NeighborhoodScalesType | ComputeNeighborhoodScales () const |
|
const RadiusType & | GetRadius () const |
|
void | GetScaleCoefficients (PixelRealType vals[ImageDimension]) const |
|
virtual void | InitializeIteration () |
|
void | SetRadius (const RadiusType &r) |
|
void | SetScaleCoefficients (const PixelRealType vals[ImageDimension]) |
|
Pointer | Clone () const |
|
virtual Pointer | CreateAnother () const |
|
virtual void | Delete () |
|
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 |
|