#include <itkSegmentationLevelSetFunction.h>
Definition at line 47 of file itkSegmentationLevelSetFunction.h.
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = Superclass::ImageDimension |
![]() | |
static constexpr unsigned int | ImageDimension = Superclass::ImageDimension |
![]() | |
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 | |
![]() | |
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 () |
Protected Attributes | |
VectorImageType::Pointer | m_AdvectionImage {} |
FeatureImageType::ConstPointer | m_FeatureImage {} |
InterpolatorType::Pointer | m_Interpolator {} |
ImageType::Pointer | m_SpeedImage {} |
VectorInterpolatorType::Pointer | m_VectorInterpolator {} |
![]() | |
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] |
![]() | |
RadiusType | m_Radius {} |
PixelRealType | m_ScaleCoefficients [ImageDimension] {} |
![]() | |
std::atomic< int > | m_ReferenceCount {} |
Additional Inherited Members | |
![]() | |
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 VectorType | InitializeZeroVectorConstant () |
![]() | |
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::FiniteDifferenceFunction< TImageType >::FloatOffsetType |
A floating point offset from an image grid location. Used for interpolation among grid values in a neighborhood.
Definition at line 91 of file itkFiniteDifferenceFunction.h.
using itk::FiniteDifferenceFunction< TImageType >::ImageType |
Extract some parameters from the image type
Definition at line 84 of file itkFiniteDifferenceFunction.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::FiniteDifferenceFunction< TImageType >::NeighborhoodType |
The type of data structure that is passed to this function object to evaluate at a pixel that does not lie on a data set boundary.
Definition at line 89 of file itkFiniteDifferenceFunction.h.
using itk::FiniteDifferenceFunction< TImageType >::PixelRealType |
Definition at line 87 of file itkFiniteDifferenceFunction.h.
using itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::Pointer = SmartPointer<Self> |
Definition at line 55 of file itkSegmentationLevelSetFunction.h.
using itk::FiniteDifferenceFunction< TImageType >::RadiusType |
Neighborhood radius type
Definition at line 88 of file itkFiniteDifferenceFunction.h.
using itk::LevelSetFunction< TImageType >::ScalarValueType |
Definition at line 86 of file itkLevelSetFunction.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.
using itk::LevelSetFunction< TImageType >::VectorType |
The vector type that will be used in the calculations.
Definition at line 95 of file itkLevelSetFunction.h.
|
overrideprotecteddefault |
|
inlineprotected |
Definition at line 186 of file itkSegmentationLevelSetFunction.h.
|
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::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::CannySegmentationLevelSetFunction< OutputImageType, FeatureImageType >, itk::CannySegmentationLevelSetFunction< OutputImageType, FeatureImageType >, itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, itk::CurvesLevelSetFunction< OutputImageType, FeatureImageType >, itk::CurvesLevelSetFunction< OutputImageType, FeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< OutputImageType, FeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< OutputImageType, FeatureImageType >, itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourShapePriorLevelSetFunction< OutputImageType, FeatureImageType >, and itk::GeodesicActiveContourShapePriorLevelSetFunction< OutputImageType, FeatureImageType >.
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::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::CannySegmentationLevelSetFunction< OutputImageType, FeatureImageType >, itk::CannySegmentationLevelSetFunction< OutputImageType, FeatureImageType >, itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, itk::CurvesLevelSetFunction< OutputImageType, FeatureImageType >, itk::CurvesLevelSetFunction< OutputImageType, FeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< OutputImageType, FeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< OutputImageType, FeatureImageType >, itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourShapePriorLevelSetFunction< OutputImageType, FeatureImageType >, itk::GeodesicActiveContourShapePriorLevelSetFunction< OutputImageType, FeatureImageType >, itk::LaplacianSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::LaplacianSegmentationLevelSetFunction< OutputImageType, FeatureImageType >, itk::LaplacianSegmentationLevelSetFunction< OutputImageType, FeatureImageType >, itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapeDetectionLevelSetFunction< OutputImageType, FeatureImageType >, itk::ShapeDetectionLevelSetFunction< OutputImageType, FeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< OutputImageType, FeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< OutputImageType, FeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< OutputImageType, FeatureImageType >, and itk::VectorThresholdSegmentationLevelSetFunction< OutputImageType, FeatureImageType >.
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::ShapeDetectionLevelSetFunction< OutputImageType, FeatureImageType >, itk::ShapeDetectionLevelSetFunction< OutputImageType, FeatureImageType >, itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapePriorSegmentationLevelSetFunction< OutputImageType, FeatureImageType >, itk::ShapePriorSegmentationLevelSetFunction< OutputImageType, FeatureImageType >, itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapePriorSegmentationLevelSetFunction< TImageType, TImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< OutputImageType, FeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< OutputImageType, FeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< OutputImageType, FeatureImageType >, and itk::VectorThresholdSegmentationLevelSetFunction< OutputImageType, FeatureImageType >.
|
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::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapeDetectionLevelSetFunction< OutputImageType, FeatureImageType >, itk::ShapeDetectionLevelSetFunction< OutputImageType, FeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< OutputImageType, FeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< OutputImageType, FeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< OutputImageType, FeatureImageType >, and itk::VectorThresholdSegmentationLevelSetFunction< OutputImageType, FeatureImageType >.
|
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.