template<class TImageType, class TFeatureImageType = TImageType>
class itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >
This function is used in ThresholdSegmentationLevelSetImageFilter to segment structures in images based on intensity values.
- SegmentationLevelSetFunction is a subclass of the generic LevelSetFunction.
- It is 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.
You may optionally add a Laplacian calculation on the image to the threshold-based speed term by setting the EdgeWeight parameter to a non-zero value. The Laplacian term will cause the evolving surface to be more strongly attracted to image edges. Several parameters control a preprocessing FeatureImage smoothing stage applied only to the Laplacian calculation.
- Image is thresholded pixel by pixel using upper threshold and lower threshold according to the following formula.
- See Also
- SegmentationLevelSetImageFunction
-
ThresholdSegmentationLevelSetImageFilter
Definition at line 56 of file itkThresholdSegmentationLevelSetFunction.h.
|
virtual void | CalculateSpeedImage () |
|
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
|
ScalarValueType | GetEdgeWeight () const |
|
virtual const char * | GetNameOfClass () const |
|
ScalarValueType | GetSmoothingConductance () const |
|
int | GetSmoothingIterations () const |
|
ScalarValueType | GetSmoothingTimeStep () const |
|
virtual void | Initialize (const RadiusType &r) |
|
void | SetEdgeWeight (const ScalarValueType p) |
|
void | SetSmoothingConductance (const ScalarValueType p) |
|
void | SetSmoothingIterations (const int p) |
|
void | SetSmoothingTimeStep (const ScalarValueType i) |
|
|
void | SetUpperThreshold (FeatureScalarType f) |
|
FeatureScalarType | GetUpperThreshold () const |
|
void | SetLowerThreshold (FeatureScalarType f) |
|
FeatureScalarType | GetLowerThreshold () 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) |
|
virtual TimeStepType | ComputeGlobalTimeStep (void *GlobalData) const |
|
virtual ScalarValueType | ComputeMeanCurvature (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd=0) |
|
virtual ScalarValueType | ComputeMinimalCurvature (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd=0) |
|
virtual PixelType | ComputeUpdate (const NeighborhoodType &neighborhood, void *globalData, const FloatOffsetType &=FloatOffsetType(0.0)) |
|
virtual ScalarValueType | CurvatureSpeed (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *=0) const |
|
virtual void * | GetGlobalDataPointer () const |
|
bool | GetUseMinimalCurvature () const |
|
virtual ScalarValueType | LaplacianSmoothingSpeed (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *=0) const |
|
virtual void | ReleaseGlobalDataPointer (void *GlobalData) const |
|
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 (PixelRealType vals[ImageDimension]) |
|
virtual void | Delete () |
|
virtual int | GetReferenceCount () const |
|
| itkCloneMacro (Self) |
|
void | Print (std::ostream &os, Indent indent=0) const |
|
virtual void | Register () const |
|
virtual void | SetReferenceCount (int) |
|
virtual void | UnRegister () const |
|