#include <itkCurvatureFlowFunction.h>
Inheritance diagram for itk::CurvatureFlowFunction< TImage >:


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 41 of file itkCurvatureFlowFunction.h.
Public Types | |
| typedef SmartPointer< const Self > | ConstPointer |
| typedef ZeroFluxNeumannBoundaryCondition< ImageType > | DefaultBoundaryConditionType |
| typedef Superclass::FloatOffsetType | FloatOffsetType |
| typedef Superclass::ImageType | ImageType |
| typedef Superclass::NeighborhoodType | NeighborhoodType |
| typedef double | PixelRealType |
| typedef Superclass::PixelType | PixelType |
| typedef SmartPointer< Self > | Pointer |
| typedef Superclass::RadiusType | RadiusType |
| typedef PixelType | ScalarValueType |
| typedef CurvatureFlowFunction | Self |
| typedef FiniteDifferenceFunction< TImage > | Superclass |
| typedef Superclass::TimeStepType | TimeStepType |
Public Member Functions | |
| virtual TimeStepType | ComputeGlobalTimeStep (void *GlobalData) const |
| virtual PixelType | ComputeUpdate (const NeighborhoodType &neighborhood, void *globalData, const FloatOffsetType &offset=FloatOffsetType(0.0)) |
| virtual Pointer | CreateAnother () const |
| virtual void | Delete () |
| 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 *while the equation object performs the actual calculations The global *data should also be initialized in this method *virtual void * | GetGlobalDataPointer () const |
| virtual const char * | GetNameOfClass () const |
| const RadiusType & | GetRadius () const |
| virtual int | GetReferenceCount () const |
| const TimeStepType & | GetTimeStep () const |
| virtual void | InitializeIteration () |
| itkStaticConstMacro (ImageDimension, unsigned int, ImageType::ImageDimension) | |
| itkStaticConstMacro (ImageDimension, unsigned int, Superclass::ImageDimension) | |
| void | Print (std::ostream &os, Indent indent=0) const |
| virtual void | Register () const |
| virtual void | ReleaseGlobalDataPointer (void *GlobalData) const |
| void | SetRadius (const RadiusType &r) |
| virtual void | SetReferenceCount (int) |
| Set the ScaleCoefficients for the difference *operators The defaults a These can be set to take the image *spacing into account *void | SetScaleCoefficients (PixelRealType vals[ImageDimension]) |
| void | SetTimeStep (const TimeStepType &t) |
| virtual void | UnRegister () const |
Static Public Member Functions | |
| static void | BreakOnError () |
| static Pointer | New () |
Public Attributes | |
| 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 |
Protected Member Functions | |
| A global data type for this class of equations Used to store *values that are needed in calculating the time step * | CurvatureFlowFunction () |
| FiniteDifferenceFunction () | |
| void | PrintSelf (std::ostream &os, Indent indent) const |
| virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
| ~CurvatureFlowFunction () | |
Protected Attributes | |
| RadiusType | m_Radius |
| int | m_ReferenceCount |
| SimpleFastMutexLock | m_ReferenceCountLock |
| PixelRealType | m_ScaleCoefficients [ImageDimension] |
| Methods invoked by virtual 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.*/virtual void PrintSelf(std voi | PrintHeader )(std::ostream &os, Indent indent) const |
|
|||||
|
Reimplemented from itk::FiniteDifferenceFunction< TImage >. Reimplemented in itk::BinaryMinMaxCurvatureFlowFunction< TImage >, and itk::MinMaxCurvatureFlowFunction< TImage >. Definition at line 49 of file itkCurvatureFlowFunction.h. |
|
|
The default boundary condition for finite difference functions that is used unless overridden in the Evaluate() method. Definition at line 93 of file itkFiniteDifferenceFunction.h. |
|
|||||
|
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::BinaryMinMaxCurvatureFlowFunction< TImage >, and itk::MinMaxCurvatureFlowFunction< TImage >. Definition at line 64 of file itkCurvatureFlowFunction.h. |
|
|||||
|
Inherit some parameters from the superclass type. Reimplemented from itk::FiniteDifferenceFunction< TImage >. Reimplemented in itk::BinaryMinMaxCurvatureFlowFunction< TImage >, and itk::MinMaxCurvatureFlowFunction< TImage >. Definition at line 56 of file itkCurvatureFlowFunction.h. |
|
|||||
|
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::BinaryMinMaxCurvatureFlowFunction< TImage >, and itk::MinMaxCurvatureFlowFunction< TImage >. Definition at line 63 of file itkCurvatureFlowFunction.h. |
|
|
Definition at line 82 of file itkFiniteDifferenceFunction.h. |
|
|||||
|
Reimplemented from itk::FiniteDifferenceFunction< TImage >. Reimplemented in itk::BinaryMinMaxCurvatureFlowFunction< TImage >, and itk::MinMaxCurvatureFlowFunction< TImage >. Definition at line 60 of file itkCurvatureFlowFunction.h. |
|
|||||
|
Reimplemented from itk::FiniteDifferenceFunction< TImage >. Reimplemented in itk::BinaryMinMaxCurvatureFlowFunction< TImage >, and itk::MinMaxCurvatureFlowFunction< TImage >. Definition at line 48 of file itkCurvatureFlowFunction.h. |
|
|||||
|
Neighborhood radius type Reimplemented from itk::FiniteDifferenceFunction< TImage >. Reimplemented in itk::BinaryMinMaxCurvatureFlowFunction< TImage >, and itk::MinMaxCurvatureFlowFunction< TImage >. Definition at line 61 of file itkCurvatureFlowFunction.h. |
|
|||||
|
Definition at line 62 of file itkCurvatureFlowFunction.h. |
|
|||||
|
Standard class typedefs. Reimplemented from itk::FiniteDifferenceFunction< TImage >. Reimplemented in itk::BinaryMinMaxCurvatureFlowFunction< TImage >, and itk::MinMaxCurvatureFlowFunction< TImage >. Definition at line 46 of file itkCurvatureFlowFunction.h. |
|
|||||
|
Reimplemented from itk::FiniteDifferenceFunction< TImage >. Reimplemented in itk::BinaryMinMaxCurvatureFlowFunction< TImage >, and itk::MinMaxCurvatureFlowFunction< TImage >. Definition at line 47 of file itkCurvatureFlowFunction.h. |
|
|||||
|
Define the TimeStepType to always be double. Reimplemented from itk::FiniteDifferenceFunction< TImage >. Definition at line 65 of file itkCurvatureFlowFunction.h. |
|
|||||||||
|
|
|
|||||||||
|
Definition at line 135 of file itkCurvatureFlowFunction.h. |
|
|
This method is called when itkExceptionMacro executes. It allows the debugger to break on error. |
|
||||||||||
|
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 >. |
|
||||||||||||||||||||
|
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::BinaryMinMaxCurvatureFlowFunction< TImage >, and itk::MinMaxCurvatureFlowFunction< TImage >. |
|
|
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 in itk::Object. |
|
|
Delete an itk object. This method should always be used to delete an object when the new operator was used to create it. Using the C delete method will not work with reference counting. |
|
|
Definition at line 182 of file itkFiniteDifferenceFunction.h. |
|
|||||||||
|
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 87 of file itkCurvatureFlowFunction.h. |
|
|||||||||
|
Run-time type information (and related methods) Reimplemented from itk::FiniteDifferenceFunction< TImage >. Reimplemented in itk::BinaryMinMaxCurvatureFlowFunction< TImage >, and itk::MinMaxCurvatureFlowFunction< TImage >. |
|
|
Returns the radius of the neighborhood this FiniteDifferenceFunction needs to perform its calculations. Definition at line 142 of file itkFiniteDifferenceFunction.h. |
|
|
Gets the reference count on this object. Definition at line 98 of file itkLightObject.h. |
|
|||||||||
|
Get the time step parameter Definition at line 107 of file itkCurvatureFlowFunction.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::CurvatureNDAnisotropicDiffusionFunction< TImage >, itk::GradientNDAnisotropicDiffusionFunction< TImage >, itk::VectorCurvatureNDAnisotropicDiffusionFunction< TImage >, and itk::VectorGradientNDAnisotropicDiffusionFunction< TImage >. Definition at line 115 of file itkFiniteDifferenceFunction.h. |
|
||||||||||||||||
|
Save image dimension. |
|
||||||||||||||||||||
|
Extract superclass dimension. Reimplemented in itk::BinaryMinMaxCurvatureFlowFunction< TImage >, and itk::MinMaxCurvatureFlowFunction< TImage >. |
|
|||||||||
|
Method for creation through the object factory. Reimplemented from itk::LightObject. Reimplemented in itk::BinaryMinMaxCurvatureFlowFunction< TImage >, and itk::MinMaxCurvatureFlowFunction< TImage >. |
|
||||||||||||
|
Cause the object to print itself out. |
|
||||||||||||
|
||||||||||||
|
|
|
|
Increase the reference count (mark as used by another object). Reimplemented in itk::Object. |
|
||||||||||
|
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 99 of file itkCurvatureFlowFunction.h. |
|
|
Sets the radius of the neighborhood this FiniteDifferenceFunction needs to perform its calculations. Definition at line 137 of file itkFiniteDifferenceFunction.h. |
|
|
Sets the reference count on this object. This is a dangerous method, use it with care. Reimplemented in itk::Object. |
|
|
Definition at line 148 of file itkFiniteDifferenceFunction.h. |
|
||||||||||
|
Set the time step parameter Definition at line 103 of file itkCurvatureFlowFunction.h. |
|
|
Decrease the reference count (release by another object). Reimplemented in itk::Object. |
|
|
Definition at line 194 of file itkFiniteDifferenceFunction.h. |
|
|
Number of uses of this object by other objects. Definition at line 119 of file itkLightObject.h. |
|
|
Mutex lock to protect modification to the reference count Definition at line 122 of file itkLightObject.h. |
|
|
Definition at line 195 of file itkFiniteDifferenceFunction.h. |
|
|
|
|
|||||
|
Definition at line 84 of file itkCurvatureFlowFunction.h. |
1.4.2 written by Dimitri van Heesch,
© 1997-2000