ITK
4.9.0
Insight Segmentation and Registration Toolkit
|
#include <itkGradientNDAnisotropicDiffusionFunction.h>
This class implements an N-dimensional version of the classic Perona-Malik anisotropic diffusion equation for scalar-valued images. See itkAnisotropicDiffusionFunction for an overview of the anisotropic diffusion framework and equation.
.
Definition at line 61 of file itkGradientNDAnisotropicDiffusionFunction.h.
Public Member Functions | |
virtual PixelType | ComputeUpdate (const NeighborhoodType &neighborhood, void *globalData, const FloatOffsetType &offset=FloatOffsetType(0.0)) override |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual const char * | GetNameOfClass () const |
virtual void | InitializeIteration () override |
Public Member Functions inherited from itk::ScalarAnisotropicDiffusionFunction< TImage > | |
virtual void | CalculateAverageGradientMagnitudeSquared (TImage *) override |
Public Member Functions inherited from itk::AnisotropicDiffusionFunction< TImage > | |
virtual TimeStepType | ComputeGlobalTimeStep (void *) const override |
const double & | GetAverageGradientMagnitudeSquared () const |
const double & | GetConductanceParameter () const |
virtual void * | GetGlobalDataPointer () const override |
const TimeStepType & | GetTimeStep () const |
virtual void | ReleaseGlobalDataPointer (void *) const override |
void | SetAverageGradientMagnitudeSquared (const double &c) |
void | SetConductanceParameter (const double &c) |
void | SetTimeStep (const TimeStepType &t) |
Public Member Functions inherited from itk::FiniteDifferenceFunction< TImage > | |
const NeighborhoodScalesType | ComputeNeighborhoodScales () const |
const RadiusType & | GetRadius () const |
void | GetScaleCoefficients (PixelRealType vals[ImageDimension]) const |
void | SetRadius (const RadiusType &r) |
void | SetScaleCoefficients (PixelRealType vals[ImageDimension]) |
Public Member Functions inherited from itk::LightObject | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
virtual void | Register () const |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const noexcept |
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::ScalarAnisotropicDiffusionFunction< TImage > | |
static const unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::AnisotropicDiffusionFunction< TImage > | |
static const unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::FiniteDifferenceFunction< TImage > | |
static const unsigned int | ImageDimension |
Protected Member Functions | |
GradientNDAnisotropicDiffusionFunction () | |
~GradientNDAnisotropicDiffusionFunction () | |
Protected Member Functions inherited from itk::ScalarAnisotropicDiffusionFunction< TImage > | |
ScalarAnisotropicDiffusionFunction () | |
~ScalarAnisotropicDiffusionFunction () | |
Protected Member Functions inherited from itk::AnisotropicDiffusionFunction< TImage > | |
AnisotropicDiffusionFunction () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~AnisotropicDiffusionFunction () | |
Protected Member Functions inherited from itk::FiniteDifferenceFunction< TImage > | |
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 () |
Protected Attributes | |
DerivativeOperator< PixelType, itkGetStaticConstMacro(ImageDimension) > | dx_op |
NeighborhoodSizeValueType | m_Center |
NeighborhoodInnerProduct < ImageType > | m_InnerProduct |
PixelType | m_K |
NeighborhoodSizeValueType | m_Stride [ImageDimension] |
std::slice | x_slice [ImageDimension] |
std::slice | xa_slice [ImageDimension][ImageDimension] |
std::slice | xd_slice [ImageDimension][ImageDimension] |
Protected Attributes inherited from itk::FiniteDifferenceFunction< TImage > | |
RadiusType | m_Radius |
PixelRealType | m_ScaleCoefficients [ImageDimension] |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
Static Protected Attributes | |
static double | m_MIN_NORM |
Private Member Functions | |
GradientNDAnisotropicDiffusionFunction (const Self &) ITK_DELETE_FUNCTION | |
void | operator= (const Self &) ITK_DELETE_FUNCTION |
typedef SmartPointer< const Self > itk::GradientNDAnisotropicDiffusionFunction< TImage >::ConstPointer |
Definition at line 69 of file itkGradientNDAnisotropicDiffusionFunction.h.
typedef Superclass::FloatOffsetType itk::GradientNDAnisotropicDiffusionFunction< TImage >::FloatOffsetType |
Definition at line 85 of file itkGradientNDAnisotropicDiffusionFunction.h.
typedef Superclass::ImageType itk::GradientNDAnisotropicDiffusionFunction< TImage >::ImageType |
Inherit some parameters from the superclass type.
Definition at line 76 of file itkGradientNDAnisotropicDiffusionFunction.h.
typedef SizeValueType itk::GradientNDAnisotropicDiffusionFunction< TImage >::NeighborhoodSizeValueType |
Definition at line 87 of file itkGradientNDAnisotropicDiffusionFunction.h.
typedef Superclass::NeighborhoodType itk::GradientNDAnisotropicDiffusionFunction< TImage >::NeighborhoodType |
Definition at line 84 of file itkGradientNDAnisotropicDiffusionFunction.h.
typedef Superclass::PixelRealType itk::GradientNDAnisotropicDiffusionFunction< TImage >::PixelRealType |
Definition at line 81 of file itkGradientNDAnisotropicDiffusionFunction.h.
typedef Superclass::PixelType itk::GradientNDAnisotropicDiffusionFunction< TImage >::PixelType |
Definition at line 80 of file itkGradientNDAnisotropicDiffusionFunction.h.
typedef SmartPointer< Self > itk::GradientNDAnisotropicDiffusionFunction< TImage >::Pointer |
Definition at line 68 of file itkGradientNDAnisotropicDiffusionFunction.h.
typedef Superclass::RadiusType itk::GradientNDAnisotropicDiffusionFunction< TImage >::RadiusType |
Definition at line 83 of file itkGradientNDAnisotropicDiffusionFunction.h.
typedef GradientNDAnisotropicDiffusionFunction itk::GradientNDAnisotropicDiffusionFunction< TImage >::Self |
Standard class typedefs.
Definition at line 66 of file itkGradientNDAnisotropicDiffusionFunction.h.
typedef ScalarAnisotropicDiffusionFunction< TImage > itk::GradientNDAnisotropicDiffusionFunction< TImage >::Superclass |
Definition at line 67 of file itkGradientNDAnisotropicDiffusionFunction.h.
typedef Superclass::TimeStepType itk::GradientNDAnisotropicDiffusionFunction< TImage >::TimeStepType |
Definition at line 82 of file itkGradientNDAnisotropicDiffusionFunction.h.
|
protected |
|
inlineprotected |
Definition at line 107 of file itkGradientNDAnisotropicDiffusionFunction.h.
|
private |
|
overridevirtual |
Compute the equation value.
Implements itk::FiniteDifferenceFunction< TImage >.
|
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.
|
virtual |
Run-time type information (and related methods)
Reimplemented from itk::ScalarAnisotropicDiffusionFunction< TImage >.
|
inlineoverridevirtual |
This method is called prior to each iteration of the solver.
Reimplemented from itk::FiniteDifferenceFunction< TImage >.
Definition at line 99 of file itkGradientNDAnisotropicDiffusionFunction.h.
References itk::AnisotropicDiffusionFunction< TImage >::GetAverageGradientMagnitudeSquared(), itk::AnisotropicDiffusionFunction< TImage >::GetConductanceParameter(), and itk::GradientNDAnisotropicDiffusionFunction< TImage >::m_K.
|
static |
Method for creation through the object factory.
Referenced by itk::GradientAnisotropicDiffusionImageFilter< TInputImage, TOutputImage >::GradientAnisotropicDiffusionImageFilter().
|
private |
|
protected |
Derivative operator.
Definition at line 118 of file itkGradientNDAnisotropicDiffusionFunction.h.
|
static |
Inherit some parameters from the superclass type.
Definition at line 90 of file itkGradientNDAnisotropicDiffusionFunction.h.
|
protected |
Definition at line 123 of file itkGradientNDAnisotropicDiffusionFunction.h.
|
protected |
Inner product function.
Definition at line 110 of file itkGradientNDAnisotropicDiffusionFunction.h.
|
protected |
Modified global average gradient magnitude term.
Definition at line 121 of file itkGradientNDAnisotropicDiffusionFunction.h.
Referenced by itk::GradientNDAnisotropicDiffusionFunction< TImage >::InitializeIteration().
|
staticprotected |
Definition at line 126 of file itkGradientNDAnisotropicDiffusionFunction.h.
|
protected |
Definition at line 124 of file itkGradientNDAnisotropicDiffusionFunction.h.
|
protected |
Slices for the ND neighborhood.
Definition at line 113 of file itkGradientNDAnisotropicDiffusionFunction.h.
|
protected |
Definition at line 114 of file itkGradientNDAnisotropicDiffusionFunction.h.
|
protected |
Definition at line 115 of file itkGradientNDAnisotropicDiffusionFunction.h.