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 | 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 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 |
|
bool | GetUseMinimalCurvature () const |
|
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 |
|