ITK
5.2.0
Insight Toolkit
|
#include <itkAnisotropicDiffusionFunction.h>
Public Member Functions | |
virtual void | CalculateAverageGradientMagnitudeSquared (ImageType *)=0 |
TimeStepType | ComputeGlobalTimeStep (void *) const override |
const double & | GetAverageGradientMagnitudeSquared () const |
const double & | GetConductanceParameter () const |
void * | GetGlobalDataPointer () const override |
virtual const char * | GetNameOfClass () const |
const TimeStepType & | GetTimeStep () const |
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 |
virtual PixelType | ComputeUpdate (const NeighborhoodType &neighborhood, void *globalData, const FloatOffsetType &offset=FloatOffsetType(0.0))=0 |
const RadiusType & | GetRadius () const |
void | GetScaleCoefficients (PixelRealType vals[ImageDimension]) const |
virtual void | InitializeIteration () |
void | SetRadius (const RadiusType &r) |
void | SetScaleCoefficients (const PixelRealType vals[ImageDimension]) |
Public Member Functions inherited from itk::LightObject | |
Pointer | Clone () const |
virtual Pointer | CreateAnother () const |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
virtual void | Register () const |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const noexcept |
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::FiniteDifferenceFunction< TImage > | |
static constexpr unsigned int | ImageDimension |
Protected Member Functions | |
AnisotropicDiffusionFunction () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~AnisotropicDiffusionFunction () override=default | |
Protected Member Functions inherited from itk::FiniteDifferenceFunction< TImage > | |
FiniteDifferenceFunction () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~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 () |
Private Attributes | |
double | m_AverageGradientMagnitudeSquared |
double | m_ConductanceParameter |
TimeStepType | m_TimeStep |
Additional Inherited Members | |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Protected Attributes inherited from itk::FiniteDifferenceFunction< TImage > | |
RadiusType | m_Radius |
PixelRealType | m_ScaleCoefficients [ImageDimension] |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
This class is a virtual base for anisotropic diffusion function objects. It is a component object in the finite difference solver hierarchy (see itkFiniteDifferenceImageFilter for an overview). AnisotropicDiffusionFunction objects are used by AnisotropicDiffusionImageFilter objects to perform non-linear diffusion on itk::Images.
Anisotropic diffusion methods are formulated to reduce noise (or unwanted detail) in images while preserving specific image features. For many applications, there is an assumption that light-dark transitions (edges) are interesting. Standard isotropic diffusion methods move and blur light-dark boundaries. Anisotropic diffusion methods are formulated to specifically preserve edges.
Anisotropic diffusion methods can be thought of as tools for calculating multi-scale descriptions of images. Embed an image in a higher dimensional function of derived images, . This higher dimensional function represents the solution of the heat diffusion equation,
.
Definition at line 139 of file itkAnisotropicDiffusionFunction.h.
using itk::AnisotropicDiffusionFunction< TImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 149 of file itkAnisotropicDiffusionFunction.h.
using itk::AnisotropicDiffusionFunction< TImage >::FloatOffsetType = typename Superclass::FloatOffsetType |
Definition at line 161 of file itkAnisotropicDiffusionFunction.h.
using itk::AnisotropicDiffusionFunction< TImage >::ImageType = typename Superclass::ImageType |
Inherit some parameters from the superclass type
Definition at line 155 of file itkAnisotropicDiffusionFunction.h.
using itk::AnisotropicDiffusionFunction< TImage >::NeighborhoodType = typename Superclass::NeighborhoodType |
Definition at line 159 of file itkAnisotropicDiffusionFunction.h.
using itk::AnisotropicDiffusionFunction< TImage >::PixelrealType = typename Superclass::PixelRealType |
Definition at line 157 of file itkAnisotropicDiffusionFunction.h.
using itk::AnisotropicDiffusionFunction< TImage >::PixelType = typename Superclass::PixelType |
Definition at line 156 of file itkAnisotropicDiffusionFunction.h.
using itk::AnisotropicDiffusionFunction< TImage >::Pointer = SmartPointer<Self> |
Definition at line 148 of file itkAnisotropicDiffusionFunction.h.
using itk::AnisotropicDiffusionFunction< TImage >::RadiusType = typename Superclass::RadiusType |
Definition at line 158 of file itkAnisotropicDiffusionFunction.h.
using itk::AnisotropicDiffusionFunction< TImage >::Self = AnisotropicDiffusionFunction |
Standard class type aliases.
Definition at line 146 of file itkAnisotropicDiffusionFunction.h.
using itk::AnisotropicDiffusionFunction< TImage >::Superclass = FiniteDifferenceFunction<TImage> |
Definition at line 147 of file itkAnisotropicDiffusionFunction.h.
using itk::AnisotropicDiffusionFunction< TImage >::TimeStepType = typename Superclass::TimeStepType |
Definition at line 160 of file itkAnisotropicDiffusionFunction.h.
|
inlineprotected |
Definition at line 239 of file itkAnisotropicDiffusionFunction.h.
|
overrideprotecteddefault |
|
pure virtual |
This method is called before each iteration. It calculates a scalar value that is the average of the gradient magnitude squared at each pixel in the output image (intermediate solution). The average gradient magnitude value is typically used in the anisotropic diffusion equations to calibrate the conductance term.
|
inlineoverridevirtual |
Returns the time step supplied by the user. We don't need to use the global data supplied since we are returning a fixed value.
Implements itk::FiniteDifferenceFunction< TImage >.
Definition at line 218 of file itkAnisotropicDiffusionFunction.h.
|
inline |
Set/Get the average gradient magnitude squared.
Definition at line 204 of file itkAnisotropicDiffusionFunction.h.
|
inline |
Definition at line 197 of file itkAnisotropicDiffusionFunction.h.
|
inlineoverridevirtual |
The anisotropic diffusion classes don't use this particular parameter so it's safe to return a null value.
Implements itk::FiniteDifferenceFunction< TImage >.
Definition at line 226 of file itkAnisotropicDiffusionFunction.h.
|
virtual |
Run-time type information (and related methods)
Reimplemented from itk::FiniteDifferenceFunction< TImage >.
Reimplemented in itk::CurvatureNDAnisotropicDiffusionFunction< TImage >, itk::GradientNDAnisotropicDiffusionFunction< TImage >, itk::VectorAnisotropicDiffusionFunction< TImage >, itk::ScalarAnisotropicDiffusionFunction< TImage >, itk::VectorCurvatureNDAnisotropicDiffusionFunction< TImage >, and itk::VectorGradientNDAnisotropicDiffusionFunction< TImage >.
|
inline |
Definition at line 184 of file itkAnisotropicDiffusionFunction.h.
|
inlineoverrideprotectedvirtual |
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::LightObject.
Reimplemented in itk::VectorCurvatureNDAnisotropicDiffusionFunction< TImage >, and itk::VectorAnisotropicDiffusionFunction< TImage >.
Definition at line 249 of file itkAnisotropicDiffusionFunction.h.
|
inlineoverridevirtual |
Does nothing. No global data is used in this class of equations.
Implements itk::FiniteDifferenceFunction< TImage >.
Definition at line 233 of file itkAnisotropicDiffusionFunction.h.
|
inline |
Definition at line 210 of file itkAnisotropicDiffusionFunction.h.
|
inline |
Set/Get the conductance parameter. The conductance parameter.
Definition at line 191 of file itkAnisotropicDiffusionFunction.h.
|
inline |
Set/Get the time step. For this class of anisotropic diffusion filters, the time-step is supplied by the user and remains fixed for all updates.
Definition at line 178 of file itkAnisotropicDiffusionFunction.h.
|
staticconstexpr |
Inherit some parameters from the superclass type
Definition at line 164 of file itkAnisotropicDiffusionFunction.h.
|
private |
Definition at line 257 of file itkAnisotropicDiffusionFunction.h.
|
private |
Definition at line 258 of file itkAnisotropicDiffusionFunction.h.
|
private |
Definition at line 259 of file itkAnisotropicDiffusionFunction.h.