#include <itkLevelSetFunctionWithRefitTerm.h>
This class extends the LevelSetFunction class by adding a grow term based on a target curvature stored in a sparse image.
Definition at line 52 of file itkLevelSetFunctionWithRefitTerm.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 () |
Protected Attributes | |
ScalarValueType | m_OtherPropagationWeight {} |
ScalarValueType | m_RefitWeight {} |
![]() | |
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 {} |
Private Attributes | |
ScalarValueType | m_MinVectorNorm {} |
SparseImageType::Pointer | m_SparseTargetImage {} |
Static Private Attributes | |
static const ScalarValueType | m_DimConst |
static const NeighborhoodSizeValueType | m_NumVertex |
Additional Inherited Members | |
![]() | |
static constexpr unsigned int | ImageDimension = Superclass::ImageDimension |
![]() | |
static constexpr unsigned int | ImageDimension = ImageType::ImageDimension |
![]() | |
static VectorType | InitializeZeroVectorConstant () |
![]() | |
static double | m_DT |
static double | m_WaveDT |
static VectorType | m_ZeroVectorConstant |
using itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::ConstPointer = SmartPointer<const Self> |
Definition at line 61 of file itkLevelSetFunctionWithRefitTerm.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::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::IndexType = typename ImageType::IndexType |
Index type derived from the ImageType.
Definition at line 81 of file itkLevelSetFunctionWithRefitTerm.h.
using itk::FiniteDifferenceFunction< TImageType >::NeighborhoodScalesType |
The type of data structure that holds the scales with which the neighborhood is weighted to properly account for spacing and neighborhood radius.
Definition at line 90 of file itkFiniteDifferenceFunction.h.
using itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::NeighborhoodSizeValueType = typename NeighborhoodType::SizeValueType |
Definition at line 78 of file itkLevelSetFunctionWithRefitTerm.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::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::NodeType = typename SparseImageType::NodeType |
The node type of the sparse image.
Definition at line 87 of file itkLevelSetFunctionWithRefitTerm.h.
using itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::NormalVectorType = typename NodeType::NodeDataType |
The type for the normal vectors of the level set image.
Definition at line 90 of file itkLevelSetFunctionWithRefitTerm.h.
using itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::Pointer = SmartPointer<Self> |
Definition at line 60 of file itkLevelSetFunctionWithRefitTerm.h.
using itk::LevelSetFunction< TImageType >::ScalarValueType |
Definition at line 86 of file itkLevelSetFunction.h.
using itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::Self = LevelSetFunctionWithRefitTerm |
Standard class type aliases.
Definition at line 58 of file itkLevelSetFunctionWithRefitTerm.h.
using itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::SparseImageType = TSparseImageType |
The sparse image type used for the curvature target.
Definition at line 84 of file itkLevelSetFunctionWithRefitTerm.h.
using itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >::Superclass = LevelSetFunction<TImageType> |
Definition at line 59 of file itkLevelSetFunctionWithRefitTerm.h.
using itk::LevelSetFunction< TImageType >::TimeStepType |
Convenient type alias.
Definition at line 83 of file itkLevelSetFunction.h.
|
protected |
|
protected |
Computes the curvature of a level set neighborhood in a way that matches the curvature computation from normal vectors.
|
overridevirtual |
Computes the time step for an update given a global data structure. This calls the ComputeGlobalTimeStep method defined in LevelSetFunction and then imposes our own restrictions for the refitting term on the returned value.
Reimplemented from itk::LevelSetFunction< 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::LevelSetFunction< TImageType >.
|
overridevirtual |
Reimplemented from itk::LevelSetFunction< TImageType >.
|
inline |
Returns the sparse image.
Definition at line 117 of file itkLevelSetFunctionWithRefitTerm.h.
|
static |
Standard New macro.
|
inlineprotectedvirtual |
Called by PropagationSpeed and added on to the refitting term. Function classes derived from this class should define this method for their propagation speed, NOT the actual PropagationSpeed method.
Definition at line 156 of file itkLevelSetFunctionWithRefitTerm.h.
|
overrideprotectedvirtual |
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::LevelSetFunction< TImageType >.
|
overrideprotectedvirtual |
Defines the virtual function in LevelSetFunction to add the refitting term. This function also calls OtherPropagationSpeed to provide a mechanism for subclasses to define other propagation terms.
Reimplemented from itk::LevelSetFunction< TImageType >.
|
inline |
This is the weight for propagation terms (other than refitting) that can be defined by subclasses.
Definition at line 102 of file itkLevelSetFunctionWithRefitTerm.h.
|
inline |
Set the relative weight of the refitting term.
Definition at line 94 of file itkLevelSetFunctionWithRefitTerm.h.
|
inline |
Sets the sparse image which has nodes containing the member variable m_Curvature used in refitting.
Definition at line 110 of file itkLevelSetFunctionWithRefitTerm.h.
|
staticprivate |
Definition at line 170 of file itkLevelSetFunctionWithRefitTerm.h.
|
private |
The minimum vector norm parameter.
Definition at line 166 of file itkLevelSetFunctionWithRefitTerm.h.
|
staticprivate |
Constants used in computations.
Definition at line 169 of file itkLevelSetFunctionWithRefitTerm.h.
|
protected |
The weight for other scalar propagation terms that can be defined by classes derived from this class.
Definition at line 135 of file itkLevelSetFunctionWithRefitTerm.h.
|
protected |
The weight for the refitting term.
Definition at line 131 of file itkLevelSetFunctionWithRefitTerm.h.
|
private |
The sparse image that contains the target curvature information.
Definition at line 163 of file itkLevelSetFunctionWithRefitTerm.h.