ITK
4.8.0
Insight Segmentation and Registration Toolkit
|
#include <itkNormalVectorDiffusionFunction.h>
This class defines all the necessary functionality for performing isotropic and anisotropic diffusion operations on vector neighborhoods from a sparse image.
Definition at line 60 of file itkNormalVectorDiffusionFunction.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::NormalVectorFunctionBase< TSparseImageType > | |
static const unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::FiniteDifferenceSparseImageFunction< TSparseImageType > | |
static const unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::FiniteDifferenceFunction< TSparseImageType > | |
static const unsigned int | ImageDimension |
Protected Member Functions | |
NormalVectorDiffusionFunction () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~NormalVectorDiffusionFunction () | |
NodeValueType | FluxStopFunction (const NodeValueType v) const |
Protected Member Functions inherited from itk::NormalVectorFunctionBase< TSparseImageType > | |
NormalVectorFunctionBase () | |
~NormalVectorFunctionBase () | |
Protected Member Functions inherited from itk::FiniteDifferenceSparseImageFunction< TSparseImageType > | |
FiniteDifferenceSparseImageFunction () | |
~FiniteDifferenceSparseImageFunction () | |
Protected Member Functions inherited from itk::FiniteDifferenceFunction< TSparseImageType > | |
FiniteDifferenceFunction () | |
~FiniteDifferenceFunction () | |
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 () |
Private Member Functions | |
NormalVectorDiffusionFunction (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
NodeValueType | m_ConductanceParameter |
NodeValueType | m_FluxStopConstant |
int | m_NormalProcessType |
Additional Inherited Members | |
Protected Attributes inherited from itk::FiniteDifferenceFunction< TSparseImageType > | |
RadiusType | m_Radius |
PixelRealType | m_ScaleCoefficients [ImageDimension] |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer< const Self > itk::NormalVectorDiffusionFunction< TSparseImageType >::ConstPointer |
Definition at line 68 of file itkNormalVectorDiffusionFunction.h.
typedef Superclass::FloatOffsetType itk::NormalVectorDiffusionFunction< TSparseImageType >::FloatOffsetType |
Definition at line 84 of file itkNormalVectorDiffusionFunction.h.
typedef Superclass::IndexType itk::NormalVectorDiffusionFunction< TSparseImageType >::IndexType |
Definition at line 85 of file itkNormalVectorDiffusionFunction.h.
typedef Superclass::NeighborhoodScalesType itk::NormalVectorDiffusionFunction< TSparseImageType >::NeighborhoodScalesType |
Definition at line 83 of file itkNormalVectorDiffusionFunction.h.
typedef Superclass::NeighborhoodType itk::NormalVectorDiffusionFunction< TSparseImageType >::NeighborhoodType |
Definition at line 82 of file itkNormalVectorDiffusionFunction.h.
typedef Superclass::NodeType itk::NormalVectorDiffusionFunction< TSparseImageType >::NodeType |
Definition at line 87 of file itkNormalVectorDiffusionFunction.h.
typedef Superclass::NodeValueType itk::NormalVectorDiffusionFunction< TSparseImageType >::NodeValueType |
Definition at line 88 of file itkNormalVectorDiffusionFunction.h.
typedef Superclass::NormalVectorType itk::NormalVectorDiffusionFunction< TSparseImageType >::NormalVectorType |
Definition at line 89 of file itkNormalVectorDiffusionFunction.h.
typedef SmartPointer< Self > itk::NormalVectorDiffusionFunction< TSparseImageType >::Pointer |
Definition at line 67 of file itkNormalVectorDiffusionFunction.h.
typedef Superclass::RadiusType itk::NormalVectorDiffusionFunction< TSparseImageType >::RadiusType |
Definition at line 81 of file itkNormalVectorDiffusionFunction.h.
typedef NormalVectorDiffusionFunction itk::NormalVectorDiffusionFunction< TSparseImageType >::Self |
Standard class typedef.
Definition at line 65 of file itkNormalVectorDiffusionFunction.h.
typedef Superclass::SparseImageType itk::NormalVectorDiffusionFunction< TSparseImageType >::SparseImageType |
Definition at line 86 of file itkNormalVectorDiffusionFunction.h.
typedef NormalVectorFunctionBase< TSparseImageType > itk::NormalVectorDiffusionFunction< TSparseImageType >::Superclass |
Definition at line 66 of file itkNormalVectorDiffusionFunction.h.
typedef Superclass::TimeStepType itk::NormalVectorDiffusionFunction< TSparseImageType >::TimeStepType |
Typedefs from the superclass.
Definition at line 77 of file itkNormalVectorDiffusionFunction.h.
|
protected |
|
inlineprotected |
Definition at line 138 of file itkNormalVectorDiffusionFunction.h.
|
private |
|
overridevirtual |
The actual update rule for the normal vectors.
Implements itk::FiniteDifferenceSparseImageFunction< TSparseImageType >.
|
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.
|
inlineprotected |
The method called in anisotropic diffusion to inhibit diffusion across areas with large curvature.
Definition at line 143 of file itkNormalVectorDiffusionFunction.h.
References itk::NormalVectorDiffusionFunction< TSparseImageType >::m_FluxStopConstant, and itk::NumericTraits< T >::OneValue().
|
inline |
This method returns the conductance parameter.
Definition at line 118 of file itkNormalVectorDiffusionFunction.h.
References itk::NormalVectorDiffusionFunction< TSparseImageType >::m_ConductanceParameter.
|
inline |
This method returns the internal variable FluxStopConstant.
Definition at line 122 of file itkNormalVectorDiffusionFunction.h.
References itk::NormalVectorDiffusionFunction< TSparseImageType >::m_FluxStopConstant.
|
virtual |
Run-time type information (and related methods)
Reimplemented from itk::NormalVectorFunctionBase< TSparseImageType >.
|
inline |
This method returns the isotropic/anisotropic filtering parameter.
Definition at line 99 of file itkNormalVectorDiffusionFunction.h.
References itk::NormalVectorDiffusionFunction< TSparseImageType >::m_NormalProcessType.
|
static |
Standard New macro.
|
private |
|
overridevirtual |
This function is called from LevelSetNormalImageFilter for all of the nodes to compute and store the flux vectors (first derivatives of the normal vectors. ComputeUpdateNormal then takes derivatives of the flux vectors. This way we avoid repeating the same flux computations.
Reimplemented from itk::FiniteDifferenceSparseImageFunction< TSparseImageType >.
|
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::NormalVectorFunctionBase< TSparseImageType >.
|
inline |
This method sets the conductance parameter used in anisotropic filtering. Useful values for processing 2D and 3D shapes are between 0.1 and 0.25. Lower values preserve more shape features, higher values smooth more. As the conductance parameter large, the processing becomes isotropic. Default is 0.
Definition at line 107 of file itkNormalVectorDiffusionFunction.h.
References itk::NormalVectorDiffusionFunction< TSparseImageType >::m_ConductanceParameter, and itk::NormalVectorDiffusionFunction< TSparseImageType >::m_FluxStopConstant.
|
inline |
This method is used to choose between isotropic/anisotropic filtering. A parameter value of 0 indicates isotropic diffusion and is the default. Parameter value 1 is anisotropic diffusion. When using anisotropic diffusion the conductance parameter should also be set.
Definition at line 95 of file itkNormalVectorDiffusionFunction.h.
References itk::NormalVectorDiffusionFunction< TSparseImageType >::m_NormalProcessType.
|
static |
Image dimension derived from the superclass.
Definition at line 74 of file itkNormalVectorDiffusionFunction.h.
|
private |
The conductance parameter used for anisotropic diffusion.
Definition at line 153 of file itkNormalVectorDiffusionFunction.h.
Referenced by itk::NormalVectorDiffusionFunction< TSparseImageType >::GetConductanceParameter(), and itk::NormalVectorDiffusionFunction< TSparseImageType >::SetConductanceParameter().
|
private |
The internal variable used in the FluxStopFunction. It is computed from ConductanceParameter.
Definition at line 157 of file itkNormalVectorDiffusionFunction.h.
Referenced by itk::NormalVectorDiffusionFunction< TSparseImageType >::FluxStopFunction(), itk::NormalVectorDiffusionFunction< TSparseImageType >::GetFluxStopConstant(), and itk::NormalVectorDiffusionFunction< TSparseImageType >::SetConductanceParameter().
|
private |
The isotropic/anisotropic filtering choice parameter.
Definition at line 160 of file itkNormalVectorDiffusionFunction.h.
Referenced by itk::NormalVectorDiffusionFunction< TSparseImageType >::GetNormalProcessType(), and itk::NormalVectorDiffusionFunction< TSparseImageType >::SetNormalProcessType().