i3d::GradientMagnitudeEstimator< VOXEL > Class Template Reference
[Image preprocessing filters]
This class implements simple Estimator of the gradient magnitude. The Gradient is estimated by simple central differences in the direction of each axe. The Magnitude is computed as the square root of the sum of individual derivatives.
More...
#include <LevelSet.h>
Inheritance diagram for i3d::GradientMagnitudeEstimator< VOXEL >:

Public Member Functions | |
virtual VOXEL | ComputeUpdate (size_t *neighbors, size_t center) |
Compute the gradient magnitude. | |
virtual void | UpdateTimeStep (size_t *neighbors, size_t index, VOXEL tempTimeStep) |
Udates the Globaltime step from the value returned by ComputeUpdate() method. | |
virtual void | ApplySqrt () |
Apply the square root on the sum of squares of the derivatives? | |
virtual void | CopyToImage (Image3d< VOXEL > &Img) |
Copy the results to some other image. |
Detailed Description
template<class VOXEL>
class i3d::GradientMagnitudeEstimator< VOXEL >
This class implements simple Estimator of the gradient magnitude. The Gradient is estimated by simple central differences in the direction of each axe. The Magnitude is computed as the square root of the sum of individual derivatives.
The gradient magnitude is computed in a following way.
The derivatives are discretised by simple central differences. The pixel on boundary are served in the sense of zero flux neumann boundary conditions. The Magnitude is estimated by calling the ComputeUpdateData() method.
The example of use in the program:
............. Image3d<float> Img; GradientMagnitudeEstimator<float> GME(Img); GME->ComputeUpdateData(); .............
- Date:
- 2005
The documentation for this class was generated from the following files:
- LevelSet.h
- LevelSet.cc