#include <itkCurvesLevelSetFunction.h>
This function is used in CurvesLevelSetImageFilter to segment structures in images based on user supplied edge potential map.
\[ g(I) = 1 / ( 1 + | (\nabla * G)(I)| ) \]
\[ g(I) = \exp^{-|(\nabla * G)(I)|} \]
where \( I \) is image intensity and \( (\nabla * G) \) is the derivative of Gaussian operator.
Definition at line 60 of file itkCurvesLevelSetFunction.h.
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static double | GetMaximumCurvatureTimeStep () |
static double | GetMaximumPropagationTimeStep () |
static Pointer | New () |
static void | SetMaximumCurvatureTimeStep (double n) |
static void | SetMaximumPropagationTimeStep (double n) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = Superclass::ImageDimension |
![]() | |
static constexpr unsigned int | ImageDimension |
![]() | |
static constexpr unsigned int | ImageDimension = Superclass::ImageDimension |
![]() | |
static constexpr unsigned int | ImageDimension = ImageType::ImageDimension |
Protected Member Functions | |
CurvesLevelSetFunction () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~CurvesLevelSetFunction () 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 () | |
~FiniteDifferenceFunction () override=default | |
![]() | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Attributes | |
OffsetValueType | m_Center { 0 } |
double | m_DerivativeSigma { 1.0 } |
OffsetValueType | m_xStride [ImageDimension] {} |
std::slice | x_slice [ImageDimension] |
using itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >::ConstPointer = SmartPointer<const Self> |
Definition at line 70 of file itkCurvesLevelSetFunction.h.
using itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >::FeatureImageType = TFeatureImageType |
Definition at line 71 of file itkCurvesLevelSetFunction.h.
using itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::FeatureScalarType |
Definition at line 69 of file itkSegmentationLevelSetFunction.h.
using itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >::FloatOffsetType = typename SuperSuperclass::FloatOffsetType |
Definition at line 86 of file itkCurvesLevelSetFunction.h.
using itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >::GlobalDataStruct = typename SuperSuperclass::GlobalDataStruct |
Definition at line 87 of file itkCurvesLevelSetFunction.h.
using itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >::PixelType = typename SuperSuperclass::PixelType |
Extract some parameters from the superclass.
Definition at line 80 of file itkCurvesLevelSetFunction.h.
using itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >::Pointer = SmartPointer<Self> |
Definition at line 69 of file itkCurvesLevelSetFunction.h.
using itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >::Self = CurvesLevelSetFunction |
Standard class type aliases.
Definition at line 66 of file itkCurvesLevelSetFunction.h.
using itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >::Superclass = SegmentationLevelSetFunction<TImageType, TFeatureImageType> |
Definition at line 67 of file itkCurvesLevelSetFunction.h.
using itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >::SuperSuperclass = LevelSetFunction<TImageType> |
Definition at line 68 of file itkCurvesLevelSetFunction.h.
using itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::VectorImageType |
Define an image type for the advection field.
Definition at line 78 of file itkSegmentationLevelSetFunction.h.
|
inlineprotected |
Definition at line 128 of file itkCurvesLevelSetFunction.h.
|
overrideprotecteddefault |
|
overridevirtual |
Compute the advection field from feature image.
Reimplemented from itk::SegmentationLevelSetFunction< TImageType, TImageType >.
|
overridevirtual |
Compute speed image from feature image.
Reimplemented from itk::SegmentationLevelSetFunction< TImageType, TImageType >.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::LightObject.
|
inlineoverridevirtual |
The curvature speed is same as the propagation speed.
Reimplemented from itk::LevelSetFunction< TImageType >.
Definition at line 103 of file itkCurvesLevelSetFunction.h.
|
inline |
Set/Get the sigma for the Gaussian kernel used to compute the gradient of the feature image needed for the advection term of the equation.
Definition at line 118 of file itkCurvesLevelSetFunction.h.
|
overridevirtual |
Reimplemented from itk::LightObject.
|
overridevirtual |
This method creates the appropriate member variable operators for the level-set calculations. The argument to this function is a the radius necessary for performing the level-set calculations.
Reimplemented from itk::LevelSetFunction< TImageType >.
|
static |
Method for creation through the object factory.
|
inlineoverrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::LightObject.
Definition at line 141 of file itkCurvesLevelSetFunction.h.
|
inline |
Set/Get the sigma for the Gaussian kernel used to compute the gradient of the feature image needed for the advection term of the equation.
Definition at line 113 of file itkCurvesLevelSetFunction.h.
|
staticconstexpr |
Extract some parameters from the superclass.
Definition at line 91 of file itkCurvesLevelSetFunction.h.
|
private |
The offset of the center pixel in the neighborhood.
Definition at line 152 of file itkCurvesLevelSetFunction.h.
|
private |
Definition at line 157 of file itkCurvesLevelSetFunction.h.
|
private |
Stride length along the y-dimension.
Definition at line 155 of file itkCurvesLevelSetFunction.h.
|
private |
Slices for the ND neighborhood.
Definition at line 149 of file itkCurvesLevelSetFunction.h.