#include <itkEntropyPreservingGradientMagnitudeImageFunction.h>
Inheritance diagram for itk::EntropyPreservingGradientMagnitudeImageFunction:
Public Types | |
typedef EntropyPreservingGradientMagnitudeImageFunction | Self |
typedef ImageFunction< TInputImage, double, TCoordRep > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage | InputImageType |
typedef InputImageType::ConstPointer | InputImageConstPointer |
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) |
void | SetSpeed (double value) |
double | GetSpeed () const |
virtual double | EvaluateAtIndex (const IndexType &index) const |
double | GetMagnitude () const |
virtual double | Evaluate (const PointType &point) const |
virtual double | EvaluateAtContinuousIndex (const ContinuousIndexType &cindex) const |
Static Public Methods | |
Pointer | New () |
Protected Methods | |
EntropyPreservingGradientMagnitudeImageFunction () | |
~EntropyPreservingGradientMagnitudeImageFunction () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
EntropyPreservingGradientMagnitudeImageFunction calculates an entropy satisfying image gradient magnitude. This is class is templated over the input image type and the coordinate representation type (e.g. float or double).
In level set methods, the propagating front can form corners as it evolves. At these singularities, the front is no longer differentiable and a weak solution must be constructed to continue the solution.
Viscosity or entropy solution can be formed by using upwind finite differencing. Depending on the flow direction, either a forward or backward differencing scheme is used. This is to ensure that only grid points upstream in the flow is used to update the current point.
In this function, the flow direction can be specified by the sign of the speed value set via the SetSpeed() method.
Reference: "Level Set Methods and Fast Marching Methods", J.A. Sethian, Cambridge Press, Chapter 6, Second edition, 1999.
Possible improvements:
Definition at line 56 of file itkEntropyPreservingGradientMagnitudeImageFunction.h.
|
Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >. Definition at line 64 of file itkEntropyPreservingGradientMagnitudeImageFunction.h. |
|
ContinuousIndex typedef support. Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >. Definition at line 84 of file itkEntropyPreservingGradientMagnitudeImageFunction.h. |
|
Index typedef support. Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >. Definition at line 81 of file itkEntropyPreservingGradientMagnitudeImageFunction.h. |
|
Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >. Definition at line 74 of file itkEntropyPreservingGradientMagnitudeImageFunction.h. |
|
InputImageType typedef support. Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >. Definition at line 73 of file itkEntropyPreservingGradientMagnitudeImageFunction.h. |
|
Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >. Definition at line 63 of file itkEntropyPreservingGradientMagnitudeImageFunction.h. |
|
Point typedef support. Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >. Definition at line 87 of file itkEntropyPreservingGradientMagnitudeImageFunction.h. |
|
Standard class typedefs. Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >. Definition at line 61 of file itkEntropyPreservingGradientMagnitudeImageFunction.h. |
|
Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >. Definition at line 62 of file itkEntropyPreservingGradientMagnitudeImageFunction.h. |
|
Definition at line 127 of file itkEntropyPreservingGradientMagnitudeImageFunction.h. References HardConnectedComponentImageFilter::PrintSelf(). |
|
Definition at line 128 of file itkEntropyPreservingGradientMagnitudeImageFunction.h. References HardConnectedComponentImageFilter::IndexType. |
|
Evaluate the function at non-integer positions. Implements itk::ImageFunction< TInputImage, double, TCoordRep >. Definition at line 104 of file itkEntropyPreservingGradientMagnitudeImageFunction.h. References HardConnectedComponentImageFilter::IndexType. |
|
Evaluate the function at continuous positions. Implements itk::ImageFunction< TInputImage, double, TCoordRep >. Definition at line 113 of file itkEntropyPreservingGradientMagnitudeImageFunction.h. References HardConnectedComponentImageFilter::IndexType. |
|
Evalulate the function at specified index Implements itk::ImageFunction< TInputImage, double, TCoordRep >. |
|
Run-time type information (and related methods). Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >. |
|
Get the magnitude from last evaluation Definition at line 123 of file itkEntropyPreservingGradientMagnitudeImageFunction.h. |
|
Get the speed parameter. Definition at line 97 of file itkEntropyPreservingGradientMagnitudeImageFunction.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 93 of file itkEntropyPreservingGradientMagnitudeImageFunction.h. |