template<typename TImageType, typename TFeatureImageType>
class itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >
This function is used in VectorThresholdSegmentationLevelSetImageFilter to segment structures in images based on the Mahalanobis distance.
- CREDITS
- This class was contributed to ITK by Stefan Lindenau https://www.itk.org/pipermail/insight-users/2003-December/005969.html
- SegmentationLevelSetFunction is a subclass of the generic LevelSetFunction.
- It useful for segmentations based on intensity values in an image. It works by constructing a speed term (feature image) with positive values inside an intensity window (between a low and high threshold) and negative values outside that intensity window. The evolving level set front will lock onto regions that are at the edges of the intensity window.
- Image \( f(x) \) is thresholded pixel by pixel using threshold \(T\) according to the following formula.
\[ f(x) = T - MahalanobisDistance(x) \]
- See also
- SegmentationLevelSetImageFunction
-
ThresholdSegmentationLevelSetImageFilter
-
MahalanobisDistanceMembershipFunction
Definition at line 58 of file itkVectorThresholdSegmentationLevelSetFunction.h.
|
void | CalculateSpeedImage () override |
|
const CovarianceMatrixType & | GetCovariance () const |
|
const char * | GetNameOfClass () const override |
|
ScalarValueType | GetThreshold () |
|
void | Initialize (const RadiusType &r) override |
|
void | SetCovariance (const CovarianceMatrixType &cov) |
|
void | SetThreshold (ScalarValueType thr) |
|
|
void | SetMean (const MeanVectorType &mean) |
|
const MeanVectorType & | GetMean () const |
|
virtual void | AllocateAdvectionImage () |
|
virtual void | AllocateSpeedImage () |
|
virtual void | CalculateAdvectionImage () |
|
virtual void | CalculateSpeedImage () |
|
const char * | GetNameOfClass () const override |
|
void | Initialize (const RadiusType &r) override |
|
virtual void | ReverseExpansionDirection () |
|
virtual const FeatureImageType * | GetFeatureImage () const |
|
virtual void | SetFeatureImage (const FeatureImageType *f) |
|
virtual ImageType * | GetSpeedImage () |
|
void | SetSpeedImage (ImageType *s) |
|
virtual VectorImageType * | GetAdvectionImage () const |
|
void | SetAdvectionImage (VectorImageType *s) |
|
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) |
|
TimeStepType | ComputeGlobalTimeStep (void *GlobalData) const override |
|
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 |
|
const char * | GetNameOfClass () const override |
|
bool | GetUseMinimalCurvature () const |
|
virtual void | Initialize (const RadiusType &r) |
|
virtual ScalarValueType | LaplacianSmoothingSpeed (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *=0) const |
|
virtual ScalarValueType | PropagationSpeed (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 |
|
virtual TimeStepType | ComputeGlobalTimeStep (void *GlobalData) const =0 |
|
const NeighborhoodScalesType | ComputeNeighborhoodScales () const |
|
virtual PixelType | ComputeUpdate (const NeighborhoodType &neighborhood, void *globalData, const FloatOffsetType &offset=FloatOffsetType(0.0))=0 |
|
virtual void * | GetGlobalDataPointer () const =0 |
|
const char * | GetNameOfClass () const override |
|
const RadiusType & | GetRadius () const |
|
void | GetScaleCoefficients (PixelRealType vals[ImageDimension]) const |
|
virtual void | InitializeIteration () |
|
virtual void | ReleaseGlobalDataPointer (void *GlobalData) const =0 |
|
void | SetRadius (const RadiusType &r) |
|
void | SetScaleCoefficients (const PixelRealType vals[ImageDimension]) |
|
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 |
|
|
void | PrintSelf (std::ostream &os, Indent indent) const override |
|
| VectorThresholdSegmentationLevelSetFunction () |
|
| ~VectorThresholdSegmentationLevelSetFunction () override=default |
|
VectorType | AdvectionField (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd) const override |
|
ScalarValueType | PropagationSpeed (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd) const override |
|
| SegmentationLevelSetFunction () |
|
| ~SegmentationLevelSetFunction () override=default |
|
| LevelSetFunction () |
|
void | PrintSelf (std::ostream &os, Indent indent) const override |
|
| ~LevelSetFunction () override=default |
|
| FiniteDifferenceFunction () |
|
void | PrintSelf (std::ostream &os, Indent indent) const override |
|
| ~FiniteDifferenceFunction () override=default |
|
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 () |
|