ITK
6.0.0
Insight Toolkit
|
#include <itkSegmentationLevelSetFunction.h>
Definition at line 47 of file itkSegmentationLevelSetFunction.h.
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::LevelSetFunction< TImageType > | |
static constexpr unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::FiniteDifferenceFunction< TImageType > | |
static constexpr unsigned int | ImageDimension = ImageType::ImageDimension |
Protected Member Functions | |
VectorType | AdvectionField (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd) const override |
ScalarValueType | PropagationSpeed (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd) const override |
SegmentationLevelSetFunction () | |
~SegmentationLevelSetFunction () override=default | |
Protected Member Functions inherited from itk::LevelSetFunction< TImageType > | |
LevelSetFunction () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~LevelSetFunction () override=default | |
Protected Member Functions inherited from itk::FiniteDifferenceFunction< TImageType > | |
FiniteDifferenceFunction () | |
~FiniteDifferenceFunction () override=default | |
Protected Member Functions inherited from itk::LightObject | |
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 () |
Protected Attributes | |
VectorImageType::Pointer | m_AdvectionImage {} |
FeatureImageType::ConstPointer | m_FeatureImage {} |
InterpolatorType::Pointer | m_Interpolator {} |
ImageType::Pointer | m_SpeedImage {} |
VectorInterpolatorType::Pointer | m_VectorInterpolator {} |
Protected Attributes inherited from itk::LevelSetFunction< TImageType > | |
ScalarValueType | m_AdvectionWeight {} |
OffsetValueType | m_Center { 0 } |
ScalarValueType | m_CurvatureWeight {} |
ScalarValueType | m_EpsilonMagnitude {} |
ScalarValueType | m_LaplacianSmoothingWeight {} |
ScalarValueType | m_PropagationWeight {} |
bool | m_UseMinimalCurvature { false } |
OffsetValueType | m_xStride [Self::ImageDimension] {} |
std::slice | x_slice [Self::ImageDimension] |
Protected Attributes inherited from itk::FiniteDifferenceFunction< TImageType > | |
RadiusType | m_Radius {} |
PixelRealType | m_ScaleCoefficients [ImageDimension] {} |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount {} |
Additional Inherited Members | |
Static Public Member Functions inherited from itk::LevelSetFunction< TImageType > | |
static double | GetMaximumCurvatureTimeStep () |
static double | GetMaximumPropagationTimeStep () |
static Pointer | New () |
static void | SetMaximumCurvatureTimeStep (double n) |
static void | SetMaximumPropagationTimeStep (double n) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Protected Member Functions inherited from itk::LevelSetFunction< TImageType > | |
static VectorType | InitializeZeroVectorConstant () |
Static Protected Attributes inherited from itk::LevelSetFunction< TImageType > | |
static double | m_DT |
static double | m_WaveDT |
static VectorType | m_ZeroVectorConstant |
using itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::ConstPointer = SmartPointer<const Self> |
Definition at line 56 of file itkSegmentationLevelSetFunction.h.
using itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::ContinuousIndexType = typename InterpolatorType::ContinuousIndexType |
Continuous index type recognized by the interpolator
Definition at line 87 of file itkSegmentationLevelSetFunction.h.
using itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::FeatureImageType = TFeatureImageType |
Definition at line 65 of file itkSegmentationLevelSetFunction.h.
using itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::FeatureScalarType = typename FeatureImageType::PixelType |
Definition at line 69 of file itkSegmentationLevelSetFunction.h.
using itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::IndexType = typename ImageType::IndexType |
Definition at line 70 of file itkSegmentationLevelSetFunction.h.
using itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::InterpolatorType = LinearInterpolateImageFunction<ImageType> |
Define a scalar interpolator
Definition at line 81 of file itkSegmentationLevelSetFunction.h.
using itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::Pointer = SmartPointer<Self> |
Definition at line 55 of file itkSegmentationLevelSetFunction.h.
using itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::Self = SegmentationLevelSetFunction |
Standard class type aliases.
Definition at line 53 of file itkSegmentationLevelSetFunction.h.
using itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::Superclass = LevelSetFunction<TImageType> |
Definition at line 54 of file itkSegmentationLevelSetFunction.h.
using itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::VectorImageType = Image<VectorType, Self::ImageDimension> |
Define an image type for the advection field.
Definition at line 78 of file itkSegmentationLevelSetFunction.h.
using itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::VectorInterpolatorType = VectorLinearInterpolateImageFunction<VectorImageType> |
Define a vector interpolator
Definition at line 84 of file itkSegmentationLevelSetFunction.h.
|
overrideprotecteddefault |
|
inlineprotected |
Definition at line 186 of file itkSegmentationLevelSetFunction.h.
References New().
|
overrideprotectedvirtual |
Advection field. Returns a vector from the computed advection field.
Reimplemented from itk::LevelSetFunction< TImageType >.
|
virtual |
Allocates the image that will be used for the level set function's Advection field term. See LevelSetFunction for more information.
|
virtual |
Allocates the image that will be used for the level set function's Propagation Speed term. See LevelSetFunction for more information.
|
inlinevirtual |
This method must be defined in a subclass to implement a working function object. This method is called before the solver begins its work to produce the speed image used as the level set function's Advection field term. See LevelSetFunction for more information.
Reimplemented in itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, and itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >.
Definition at line 141 of file itkSegmentationLevelSetFunction.h.
|
inlinevirtual |
This method must be defined in a subclass to implement a working function object. This method is called before the solver begins its work to produce the speed image used as the level set function's Propagation speed term. See LevelSetFunction for more information.
Reimplemented in itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >, itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::LaplacianSegmentationLevelSetFunction< TImageType, TFeatureImageType >.
Definition at line 133 of file itkSegmentationLevelSetFunction.h.
|
inlinevirtual |
Get/Set the image used as the advection field in the level set equation
Definition at line 114 of file itkSegmentationLevelSetFunction.h.
|
inlinevirtual |
Set/Get the image which will be used to calculate the speed function.
Definition at line 91 of file itkSegmentationLevelSetFunction.h.
|
overridevirtual |
Reimplemented from itk::LevelSetFunction< TImageType >.
Reimplemented in itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >.
|
inlinevirtual |
Get/Set the image used as the speed function in the level set equation
Definition at line 104 of file itkSegmentationLevelSetFunction.h.
|
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 >.
Reimplemented in itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >, and itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >.
|
overrideprotectedvirtual |
Returns the propagation speed from the precalculated speed image.
Reimplemented from itk::LevelSetFunction< TImageType >.
|
virtual |
Determines whether Positive or Negative speed terms will cause surface expansion. This method flips the sign of all of the speed, advection, etc terms. By convention, filters should be written so that POSITIVE speed terms cause surface expansion. Calling this method will toggle between the standard POSITIVE EXPANSION convention and the nonstandard NEGATIVE EXPANSION convention.
IMPORTANT: When adding terms to the level-set equation through subclassing you may need to override this function so that your new terms will be properly adjusted.
void itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::SetAdvectionImage | ( | VectorImageType * | s | ) |
Get/Set the image used as the advection field in the level set equation
|
inlinevirtual |
Set/Get the image which will be used to calculate the speed function.
Definition at line 96 of file itkSegmentationLevelSetFunction.h.
void itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::SetSpeedImage | ( | ImageType * | s | ) |
Get/Set the image used as the speed function in the level set equation
|
staticconstexpr |
Extract some parameters from the superclass.
Definition at line 75 of file itkSegmentationLevelSetFunction.h.
|
protected |
The image holding the advection field for front propagation
Definition at line 175 of file itkSegmentationLevelSetFunction.h.
|
protected |
The image whose features will be used to create a speed image
Definition at line 169 of file itkSegmentationLevelSetFunction.h.
|
protected |
Definition at line 194 of file itkSegmentationLevelSetFunction.h.
|
protected |
The image holding the speed values for front propagation
Definition at line 172 of file itkSegmentationLevelSetFunction.h.
|
protected |
Definition at line 196 of file itkSegmentationLevelSetFunction.h.