ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkGPUGradientNDAnisotropicDiffusionFunction.h>
This class implements an N-dimensional version of the classic Perona-Malik anisotropic diffusion equation for scalar-valued images on the GPU. See itkAnisotropicDiffusionFunction for an overview of the anisotropic diffusion framework and equation.
.
Definition at line 59 of file itkGPUGradientNDAnisotropicDiffusionFunction.h.
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual const char * | GetNameOfClass () const |
virtual void | GPUComputeUpdate (const typename TImage::Pointer output, typename TImage::Pointer buffer, void *globalData) override |
void | InitializeIteration () override |
itkGetOpenCLSourceFromKernelMacro (GPUGradientNDAnisotropicDiffusionFunctionKernel) | |
Public Member Functions inherited from itk::GPUScalarAnisotropicDiffusionFunction< TImage > | |
void | GPUCalculateAverageGradientMagnitudeSquared (TImage *) override |
itkGetOpenCLSourceFromKernelMacro (GPUScalarAnisotropicDiffusionFunctionKernel) | |
Public Member Functions inherited from itk::GPUAnisotropicDiffusionFunction< TImage > | |
TimeStepType | ComputeGlobalTimeStep (void *) const override |
const double & | GetAverageGradientMagnitudeSquared () const |
const double & | GetConductanceParameter () const |
void * | GetGlobalDataPointer () const override |
const TimeStepType & | GetTimeStep () const |
virtual void | GPUCalculateAverageGradientMagnitudeSquared (ImageType *)=0 |
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::GPUFiniteDifferenceFunction< TImage > | |
virtual void | GPUAllocateMetricData (unsigned int) |
virtual void | GPUReleaseMetricData () |
virtual PixelType | ComputeUpdate (const NeighborhoodType &, void *, const FloatOffsetType &) override |
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 constexpr unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::GPUScalarAnisotropicDiffusionFunction< TImage > | |
static constexpr unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::GPUAnisotropicDiffusionFunction< TImage > | |
static constexpr unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::GPUFiniteDifferenceFunction< TImage > | |
static constexpr unsigned int | ImageDimension |
Static Public Attributes inherited from itk::FiniteDifferenceFunction< TImage > | |
static constexpr unsigned int | ImageDimension |
Static Protected Attributes | |
static double | m_MIN_NORM |
using itk::GPUGradientNDAnisotropicDiffusionFunction< TImage >::ConstPointer = SmartPointer< const Self > |
Definition at line 69 of file itkGPUGradientNDAnisotropicDiffusionFunction.h.
using itk::GPUGradientNDAnisotropicDiffusionFunction< TImage >::FloatOffsetType = typename Superclass::FloatOffsetType |
Definition at line 85 of file itkGPUGradientNDAnisotropicDiffusionFunction.h.
using itk::GPUGradientNDAnisotropicDiffusionFunction< TImage >::ImageType = typename Superclass::ImageType |
Inherit some parameters from the superclass type.
Definition at line 79 of file itkGPUGradientNDAnisotropicDiffusionFunction.h.
using itk::GPUGradientNDAnisotropicDiffusionFunction< TImage >::NeighborhoodSizeValueType = SizeValueType |
Definition at line 87 of file itkGPUGradientNDAnisotropicDiffusionFunction.h.
using itk::GPUGradientNDAnisotropicDiffusionFunction< TImage >::NeighborhoodType = typename Superclass::NeighborhoodType |
Definition at line 84 of file itkGPUGradientNDAnisotropicDiffusionFunction.h.
using itk::GPUGradientNDAnisotropicDiffusionFunction< TImage >::PixelRealType = typename Superclass::PixelRealType |
Definition at line 81 of file itkGPUGradientNDAnisotropicDiffusionFunction.h.
using itk::GPUGradientNDAnisotropicDiffusionFunction< TImage >::PixelType = typename Superclass::PixelType |
Definition at line 80 of file itkGPUGradientNDAnisotropicDiffusionFunction.h.
using itk::GPUGradientNDAnisotropicDiffusionFunction< TImage >::Pointer = SmartPointer< Self > |
Definition at line 68 of file itkGPUGradientNDAnisotropicDiffusionFunction.h.
using itk::GPUGradientNDAnisotropicDiffusionFunction< TImage >::RadiusType = typename Superclass::RadiusType |
Definition at line 83 of file itkGPUGradientNDAnisotropicDiffusionFunction.h.
using itk::GPUGradientNDAnisotropicDiffusionFunction< TImage >::Self = GPUGradientNDAnisotropicDiffusionFunction |
Standard class type aliases.
Definition at line 66 of file itkGPUGradientNDAnisotropicDiffusionFunction.h.
using itk::GPUGradientNDAnisotropicDiffusionFunction< TImage >::Superclass = GPUScalarAnisotropicDiffusionFunction< TImage > |
Definition at line 67 of file itkGPUGradientNDAnisotropicDiffusionFunction.h.
using itk::GPUGradientNDAnisotropicDiffusionFunction< TImage >::TimeStepType = typename Superclass::TimeStepType |
Definition at line 82 of file itkGPUGradientNDAnisotropicDiffusionFunction.h.
|
protected |
|
inlineoverrideprotected |
Definition at line 108 of file itkGPUGradientNDAnisotropicDiffusionFunction.h.
|
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::GPUScalarAnisotropicDiffusionFunction< TImage >.
|
overridevirtual |
Compute the equation value.
Implements itk::GPUFiniteDifferenceFunction< TImage >.
|
inlineoverridevirtual |
This method is called prior to each iteration of the solver.
Reimplemented from itk::FiniteDifferenceFunction< TImage >.
Definition at line 100 of file itkGPUGradientNDAnisotropicDiffusionFunction.h.
itk::GPUGradientNDAnisotropicDiffusionFunction< TImage >::itkGetOpenCLSourceFromKernelMacro | ( | GPUGradientNDAnisotropicDiffusionFunctionKernel | ) |
Get OpenCL Kernel source as a string, creates a GetOpenCLSource method
|
static |
Method for creation through the object factory.
|
static |
Inherit some parameters from the superclass type.
Definition at line 90 of file itkGPUGradientNDAnisotropicDiffusionFunction.h.
|
protected |
Definition at line 124 of file itkGPUGradientNDAnisotropicDiffusionFunction.h.
|
protected |
Derivative operator.
Definition at line 119 of file itkGPUGradientNDAnisotropicDiffusionFunction.h.
|
protected |
Inner product function.
Definition at line 111 of file itkGPUGradientNDAnisotropicDiffusionFunction.h.
|
protected |
Modified global average gradient magnitude term.
Definition at line 122 of file itkGPUGradientNDAnisotropicDiffusionFunction.h.
|
staticprotected |
Definition at line 127 of file itkGPUGradientNDAnisotropicDiffusionFunction.h.
|
protected |
Definition at line 125 of file itkGPUGradientNDAnisotropicDiffusionFunction.h.
|
protected |
Slices for the ND neighborhood.
Definition at line 114 of file itkGPUGradientNDAnisotropicDiffusionFunction.h.
|
protected |
Definition at line 115 of file itkGPUGradientNDAnisotropicDiffusionFunction.h.
|
protected |
Definition at line 116 of file itkGPUGradientNDAnisotropicDiffusionFunction.h.