#include <itkUpwindDerivativeImageFunction.h>
Inheritance diagram for itk::UpwindDerivativeImageFunction:
Public Types | |
typedef UpwindDerivativeImageFunction | Self |
typedef ImageFunction< TInputImage, double, TCoordRep > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage | InputImageType |
typedef Superclass::IndexType | IndexType |
typedef Superclass::ContinuousIndexType | ContinuousIndexType |
typedef Superclass::PointType | PointType |
Public Methods | |
virtual const char * | GetClassName () const |
itkStaticConstMacro (ImageDimension, unsigned int, InputImageType::ImageDimension) | |
virtual void | SetInputImage (const InputImageType *ptr) |
virtual void | SetSpeed (double value) |
virtual double | GetSpeed () const |
virtual double | EvaluateAtIndex (const IndexType &index) const |
virtual double | EvaluateNthDerivativeAtIndex (const IndexType &index, unsigned int dim=0) const |
virtual double | GetDerivative () const |
virtual double | Evaluate (const PointType &point) const |
virtual double | EvaluateAtContinuousIndex (const ContinuousIndexType &cindex) const |
Static Public Methods | |
Pointer | New () |
Protected Methods | |
UpwindDerivativeImageFunction () | |
~UpwindDerivativeImageFunction () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
Protected Attributes | |
double | m_Speed |
double | m_Derivative |
UpwindDerivativeImageFunction calculates a derivative using only upwind neighbors. The flow direction can be specified by the sign of the speed value set via the SetSpeed() method.
If the speed is positive, the backward difference operator is used. If speed is negative, the forward difference operator is used.
This class is templated over the input image type and the coordinate representation type (e.g. float or double).
Reference: "Level Set Methods and Fast Marching Methods", J.A. Sethian, Cambridge Press, Chapter 6, Second edition, 1999.
Possible improvements:
Definition at line 49 of file itkUpwindDerivativeImageFunction.h.
|
Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >. Definition at line 57 of file itkUpwindDerivativeImageFunction.h. |
|
ContinuousIndex typedef support. Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >. Definition at line 76 of file itkUpwindDerivativeImageFunction.h. |
|
Index typedef support. Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >. Definition at line 73 of file itkUpwindDerivativeImageFunction.h. |
|
InputImageType typedef support. Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >. Definition at line 66 of file itkUpwindDerivativeImageFunction.h. |
|
Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >. Definition at line 56 of file itkUpwindDerivativeImageFunction.h. |
|
Point typedef support. Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >. Definition at line 79 of file itkUpwindDerivativeImageFunction.h. |
|
Standard class typedefs. Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >. Definition at line 54 of file itkUpwindDerivativeImageFunction.h. |
|
Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >. Definition at line 55 of file itkUpwindDerivativeImageFunction.h. |
|
Definition at line 121 of file itkUpwindDerivativeImageFunction.h. |
|
Definition at line 122 of file itkUpwindDerivativeImageFunction.h. References HardConnectedComponentImageFilter::PrintSelf(). |
|
Evaluate the function at non-integer positions. Implements itk::ImageFunction< TInputImage, double, TCoordRep >. Definition at line 97 of file itkUpwindDerivativeImageFunction.h. References HardConnectedComponentImageFilter::IndexType. |
|
Evaluate the function at non-integer positions. Implements itk::ImageFunction< TInputImage, double, TCoordRep >. Definition at line 103 of file itkUpwindDerivativeImageFunction.h. References HardConnectedComponentImageFilter::IndexType. |
|
Evalulate the function at specified index. Implements itk::ImageFunction< TInputImage, double, TCoordRep >. Definition at line 93 of file itkUpwindDerivativeImageFunction.h. References HardConnectedComponentImageFilter::IndexType. |
|
Evalulate the Nth derivative at specified index. |
|
Run-time type information (and related methods). Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >. |
|
Get the derivative from last evaluation Definition at line 117 of file itkUpwindDerivativeImageFunction.h. |
|
Get the speed parameter. Definition at line 89 of file itkUpwindDerivativeImageFunction.h. |
|
Dimension of the underlying image. |
|
Method for creation through the object factory. Reimplemented from itk::Object. |
|
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::ImageFunction< TInputImage, double, TCoordRep >. |
|
Set the input image. Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >. |
|
Set the speed parameter. Definition at line 85 of file itkUpwindDerivativeImageFunction.h. |
|
Definition at line 126 of file itkUpwindDerivativeImageFunction.h. |
|
Definition at line 125 of file itkUpwindDerivativeImageFunction.h. |