#include <itkFiniteDifferenceFunction.h>
Inheritance diagram for itk::FiniteDifferenceFunction:


Public Types | |
| typedef FiniteDifferenceFunction | Self |
| typedef LightObject | Superclass |
| typedef SmartPointer< Self > | Pointer |
| typedef SmartPointer< const Self > | ConstPointer |
| typedef TImageType | ImageType |
| typedef ImageType::PixelType | PixelType |
| typedef double | TimeStepType |
| typedef ZeroFluxNeumannBoundaryCondition< ImageType > | DefaultBoundaryConditionType |
| typedef ConstNeighborhoodIterator< TImageType >::RadiusType | RadiusType |
| typedef ConstNeighborhoodIterator< TImageType, DefaultBoundaryConditionType > | NeighborhoodType |
| typedef Vector< float, itkGetStaticConstMacro(ImageDimension) | FloatOffsetType ) |
Public Methods | |
| virtual const char * | GetClassName () const |
| itkStaticConstMacro (ImageDimension, unsigned int, ImageType::ImageDimension) | |
| virtual void | InitializeIteration () |
| virtual PixelType | ComputeUpdate (const NeighborhoodType &neighborhood, void *globalData, const FloatOffsetType &offset=FloatOffsetType(0.0))=0 |
| void | SetRadius (const RadiusType &r) |
| const RadiusType & | GetRadius () const |
| virtual TimeStepType | ComputeGlobalTimeStep (void *GlobalData) const=0 |
| virtual void * | GetGlobalDataPointer () const=0 |
| virtual void | ReleaseGlobalDataPointer (void *GlobalData) const=0 |
Protected Methods | |
| FiniteDifferenceFunction () | |
| ~FiniteDifferenceFunction () | |
| void | PrintSelf (std::ostream &os, Indent indent) const |
Protected Attributes | |
| RadiusType | m_Radius |
These functions calculate the incremental change at a pixel in the solution image from one iteration of the p.d.e. solver to the next.
Subclasses of FiniteDifferenceImageFilter (solvers) call the ComputeUpdate() method of this class to compute
at each
. in
. Because the size of the time step for each iteration of the p.d.e. solution depends on the particular calculations done, this function object is also responsible for computing that time step (see ComputeGlobalTimeStep).
Definition at line 63 of file itkFiniteDifferenceFunction.h.
|
|||||
|
|||||
|
The default boundary condition for finite difference functions that is used unless overridden in the Evaluate() method. Definition at line 90 of file itkFiniteDifferenceFunction.h. |
|
|||||
|
|||||
|
|||||
|
|||||
|
|||||
|
|||||
|
|||||
|
|||||
|
|||||
|
|||||||||
|
Definition at line 167 of file itkFiniteDifferenceFunction.h. |
|
|||||||||
|
Definition at line 173 of file itkFiniteDifferenceFunction.h. |
|
||||||||||
|
||||||||||||||||||||
|
|||||||||
|
|||||||||
|
|||||||||
|
Returns the radius of the neighborhood this FiniteDifferenceFunction needs to perform its calculations. Definition at line 139 of file itkFiniteDifferenceFunction.h. |
|
|||||||||
|
This method allows the function to set its state before each iteration of the finite difference solver (image filter) that uses it. This is a thread-safe time to manipulate the object's state. An example of how this can be used: the Anisotropic diffusion class of FiniteDifferenceFunctions use this method to pre-calculate an average gradient magnitude across the entire image region. This value is set in the function object and used by the ComputeUpdate methods that are called at each pixel as a constant. Reimplemented in itk::DemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >, itk::MeanSquareRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >, itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >, itk::NCCRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >, itk::CurvatureNDAnisotropicDiffusionFunction< TImage >, itk::GradientNDAnisotropicDiffusionFunction< TImage >, itk::VectorCurvatureNDAnisotropicDiffusionFunction< TImage >, and itk::VectorGradientNDAnisotropicDiffusionFunction< TImage >. Definition at line 112 of file itkFiniteDifferenceFunction.h. |
|
||||||||||||||||||||
|
Save image dimension. |
|
||||||||||||||||
|
||||||||||
|
||||||||||
|
Sets the radius of the neighborhood this FiniteDifferenceFunction needs to perform its calculations. Definition at line 134 of file itkFiniteDifferenceFunction.h. |
|
|||||
|
Definition at line 176 of file itkFiniteDifferenceFunction.h. |
1.2.15 written by Dimitri van Heesch,
© 1997-2000