#include <Sense_Gradient.h>
Inheritance diagram for mial::Sense_Gradient< DataType, TInputImage, TGradientImage, nDims >:
Public Types | |
typedef Sense_Gradient | Self |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::WeakPointer< const Self > | ConstWeakPointer |
typedef TInputImage | InputImageType |
typedef InputImageType::ConstPointer | InputImagePointer |
typedef itk::Image< DataType, nDims > | OutputImageType |
typedef OutputImageType::ConstPointer | OutputImagePointer |
typedef TGradientImage | GradientImageType |
typedef GradientImageType::Pointer | GradientImagePointer |
Public Member Functions | |
virtual void | run (typename Sensor::sensorIn *const i) |
Pure virtual public member function. New sensors operations are defined and run by implementing this method in a derived class. | |
Protected Member Functions | |
Sense_Gradient () | |
Classes | |
struct | sensorIn |
struct | sensorOut |
A derived class of the sensory ABC, this class calculates the gradient of the image and returns it in the form of TGradientImage. Calculations are performed using ITK's GradientMagnitudeRecursiveGaussianImageFilter, and GradientRecursiveGaussianImageFilter, the later of which provides the derivatives along each direction.
In order to run the sensor one must use its publicly defined sensorIn and sensorOut types to create the input arguments and receive the output. In this case the sensor takes a pointer to the input image and the standard deviation to be used for smoothing, and outputs a pointer to the gradient image.
Definition at line 28 of file Sense_Gradient.h.