ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkCurvatureFlowFunction.h>
This class encapsulate the finite difference equation which drives a curvature flow denoising algorithm.
This class uses a zero flux Neumann boundary condition when computing derivatives near the data boundary.
This class operates as part of the finite difference solver hierarchy.
Definition at line 43 of file itkCurvatureFlowFunction.h.
typedef SmartPointer< const Self > itk::CurvatureFlowFunction< TImage >::ConstPointer |
Reimplemented from itk::FiniteDifferenceFunction< TImage >.
Reimplemented in itk::BinaryMinMaxCurvatureFlowFunction< TImage >, and itk::MinMaxCurvatureFlowFunction< TImage >.
Definition at line 51 of file itkCurvatureFlowFunction.h.
typedef Superclass::FloatOffsetType itk::CurvatureFlowFunction< TImage >::FloatOffsetType |
A floating point offset from an image grid location. Used for interpolation among grid values in a neighborhood.
Reimplemented from itk::FiniteDifferenceFunction< TImage >.
Reimplemented in itk::MinMaxCurvatureFlowFunction< TImage >, and itk::BinaryMinMaxCurvatureFlowFunction< TImage >.
Definition at line 68 of file itkCurvatureFlowFunction.h.
typedef Superclass::ImageType itk::CurvatureFlowFunction< TImage >::ImageType |
Inherit some parameters from the superclass type.
Reimplemented from itk::FiniteDifferenceFunction< TImage >.
Reimplemented in itk::BinaryMinMaxCurvatureFlowFunction< TImage >, and itk::MinMaxCurvatureFlowFunction< TImage >.
Definition at line 58 of file itkCurvatureFlowFunction.h.
typedef Superclass::NeighborhoodScalesType itk::CurvatureFlowFunction< TImage >::NeighborhoodScalesType |
The type of data structure that holds the scales with which the neighborhood is weighted to properly account for spacing and neighborhood radius.
Reimplemented from itk::FiniteDifferenceFunction< TImage >.
Definition at line 67 of file itkCurvatureFlowFunction.h.
typedef Superclass::NeighborhoodType itk::CurvatureFlowFunction< TImage >::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.
Reimplemented from itk::FiniteDifferenceFunction< TImage >.
Reimplemented in itk::MinMaxCurvatureFlowFunction< TImage >, and itk::BinaryMinMaxCurvatureFlowFunction< TImage >.
Definition at line 66 of file itkCurvatureFlowFunction.h.
typedef Superclass::PixelRealType itk::CurvatureFlowFunction< TImage >::PixelRealType |
Reimplemented from itk::FiniteDifferenceFunction< TImage >.
Definition at line 65 of file itkCurvatureFlowFunction.h.
typedef Superclass::PixelType itk::CurvatureFlowFunction< TImage >::PixelType |
Reimplemented from itk::FiniteDifferenceFunction< TImage >.
Reimplemented in itk::MinMaxCurvatureFlowFunction< TImage >, and itk::BinaryMinMaxCurvatureFlowFunction< TImage >.
Definition at line 62 of file itkCurvatureFlowFunction.h.
typedef SmartPointer< Self > itk::CurvatureFlowFunction< TImage >::Pointer |
Reimplemented from itk::FiniteDifferenceFunction< TImage >.
Reimplemented in itk::BinaryMinMaxCurvatureFlowFunction< TImage >, and itk::MinMaxCurvatureFlowFunction< TImage >.
Definition at line 50 of file itkCurvatureFlowFunction.h.
typedef Superclass::RadiusType itk::CurvatureFlowFunction< TImage >::RadiusType |
Neighborhood radius type
Reimplemented from itk::FiniteDifferenceFunction< TImage >.
Reimplemented in itk::MinMaxCurvatureFlowFunction< TImage >, and itk::BinaryMinMaxCurvatureFlowFunction< TImage >.
Definition at line 63 of file itkCurvatureFlowFunction.h.
typedef PixelType itk::CurvatureFlowFunction< TImage >::ScalarValueType |
Definition at line 64 of file itkCurvatureFlowFunction.h.
typedef CurvatureFlowFunction itk::CurvatureFlowFunction< TImage >::Self |
Standard class typedefs.
Reimplemented from itk::FiniteDifferenceFunction< TImage >.
Reimplemented in itk::BinaryMinMaxCurvatureFlowFunction< TImage >, and itk::MinMaxCurvatureFlowFunction< TImage >.
Definition at line 48 of file itkCurvatureFlowFunction.h.
typedef FiniteDifferenceFunction< TImage > itk::CurvatureFlowFunction< TImage >::Superclass |
Reimplemented from itk::FiniteDifferenceFunction< TImage >.
Reimplemented in itk::BinaryMinMaxCurvatureFlowFunction< TImage >, and itk::MinMaxCurvatureFlowFunction< TImage >.
Definition at line 49 of file itkCurvatureFlowFunction.h.
typedef Superclass::TimeStepType itk::CurvatureFlowFunction< TImage >::TimeStepType |
Define the TimeStepType to always be double.
Reimplemented from itk::FiniteDifferenceFunction< TImage >.
Definition at line 69 of file itkCurvatureFlowFunction.h.
itk::CurvatureFlowFunction< TImage >::CurvatureFlowFunction | ( | ) | [protected] |
itk::CurvatureFlowFunction< TImage >::~CurvatureFlowFunction | ( | ) | [inline, protected] |
Definition at line 140 of file itkCurvatureFlowFunction.h.
itk::CurvatureFlowFunction< TImage >::CurvatureFlowFunction | ( | const Self & | ) | [private] |
virtual TimeStepType itk::CurvatureFlowFunction< TImage >::ComputeGlobalTimeStep | ( | void * | GlobalData | ) | const [virtual] |
Computes the time step for an update given a global data structure. The data used in the computation may take different forms depending on the nature of the equations. This global data cannot be kept in the instance of the equation object itself since the equation object must remain stateless for thread safety. The global data is therefore managed for each thread by the finite difference solver filters.
Currently, this function returns the user specified constant time step.
Implements itk::FiniteDifferenceFunction< TImage >.
virtual PixelType itk::CurvatureFlowFunction< TImage >::ComputeUpdate | ( | const NeighborhoodType & | neighborhood, |
void * | globalData, | ||
const FloatOffsetType & | offset = FloatOffsetType(0.0) |
||
) | [virtual] |
This method computes the solution update for each pixel that does not lie on a the data set boundary.
Implements itk::FiniteDifferenceFunction< TImage >.
Reimplemented in itk::MinMaxCurvatureFlowFunction< TImage >, and itk::BinaryMinMaxCurvatureFlowFunction< TImage >.
virtual::itk::LightObject::Pointer itk::CurvatureFlowFunction< TImage >::CreateAnother | ( | void | ) | const [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.
Reimplemented in itk::BinaryMinMaxCurvatureFlowFunction< TImage >, and itk::MinMaxCurvatureFlowFunction< TImage >.
virtual void* itk::CurvatureFlowFunction< TImage >::GetGlobalDataPointer | ( | ) | const [inline, virtual] |
Returns a pointer to a global data structure that is passed to this object from the solver at each calculation. The idea is that the solver holds the state of any global values needed to calculate the time step, while the equation object performs the actual calculations. The global data should also be initialized in this method.
Implements itk::FiniteDifferenceFunction< TImage >.
Definition at line 91 of file itkCurvatureFlowFunction.h.
virtual const char* itk::CurvatureFlowFunction< TImage >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods)
Reimplemented from itk::FiniteDifferenceFunction< TImage >.
Reimplemented in itk::BinaryMinMaxCurvatureFlowFunction< TImage >, and itk::MinMaxCurvatureFlowFunction< TImage >.
const TimeStepType& itk::CurvatureFlowFunction< TImage >::GetTimeStep | ( | ) | const [inline] |
Get the time step parameter
Definition at line 111 of file itkCurvatureFlowFunction.h.
static Pointer itk::CurvatureFlowFunction< TImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::LightObject.
Reimplemented in itk::BinaryMinMaxCurvatureFlowFunction< TImage >, and itk::MinMaxCurvatureFlowFunction< TImage >.
void itk::CurvatureFlowFunction< TImage >::operator= | ( | const Self & | ) | [private] |
Mutex lock to protect modification to the reference count
Reimplemented from itk::FiniteDifferenceFunction< TImage >.
Reimplemented in itk::MinMaxCurvatureFlowFunction< TImage >, and itk::BinaryMinMaxCurvatureFlowFunction< TImage >.
virtual void itk::CurvatureFlowFunction< TImage >::ReleaseGlobalDataPointer | ( | void * | GlobalData | ) | const [inline, virtual] |
When the finite difference solver filter has finished using a global data pointer, it passes it to this method, which frees the memory. The solver cannot free the memory because it does not know the type to which the pointer points.
Implements itk::FiniteDifferenceFunction< TImage >.
Definition at line 103 of file itkCurvatureFlowFunction.h.
void itk::CurvatureFlowFunction< TImage >::SetTimeStep | ( | const TimeStepType & | t | ) | [inline] |
Set the time step parameter
Definition at line 107 of file itkCurvatureFlowFunction.h.
const unsigned int itk::CurvatureFlowFunction< TImage >::ImageDimension = Superclass::ImageDimension [static] |
Extract superclass dimension.
Reimplemented from itk::FiniteDifferenceFunction< TImage >.
Reimplemented in itk::MinMaxCurvatureFlowFunction< TImage >, and itk::BinaryMinMaxCurvatureFlowFunction< TImage >.
Definition at line 72 of file itkCurvatureFlowFunction.h.
TimeStepType itk::CurvatureFlowFunction< TImage >::m_TimeStep [private] |
Definition at line 145 of file itkCurvatureFlowFunction.h.