#include <itkGradientImageFilter.h>
Public Types | |
typedef GradientImageFilter | Self |
typedef TInputImage | InputImageType |
typedef InputImageType::Pointer | InputImagePointer |
typedef Image< CovariantVector< TOutputValueType, itkGetStaticConstMacro(OutputImageDimension)>, itkGetStaticConstMacro(OutputImageDimension) | OutputImageType ) |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef ImageToImageFilter< InputImageType, OutputImageType > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::PixelType | InputPixelType |
typedef TOperatorValueType | OperatorValueType |
typedef TOutputValueType | OutputValueType |
typedef CovariantVector< OutputValueType, itkGetStaticConstMacro(OutputImageDimension) | OutputPixelType ) |
typedef OutputImageType::RegionType | OutputImageRegionType |
Public Member Functions | |
virtual const char * | GetClassName () const |
virtual void | GenerateInputRequestedRegion () throw (InvalidRequestedRegionError) |
void | SetUseImageSpacingOn () |
void | SetUseImageSpacingOff () |
itkStaticConstMacro (InputImageDimension, unsigned int, TInputImage::ImageDimension) | |
itkStaticConstMacro (OutputImageDimension, unsigned int, TInputImage::ImageDimension) | |
virtual void | SetUseImageSpacing (bool _arg) |
virtual bool | GetUseImageSpacing () |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
GradientImageFilter () | |
virtual | ~GradientImageFilter () |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, int threadId) |
Computes the gradient of an image using directional derivatives. The directional derivative at each pixel location is computed by convolution with a first-order derivative operator.
The second template parameter defines the value type used in the derivative operator (defaults to float). The third template parameter defines the value type used for output image (defaults to float). The output image is defined as a covariant vector image whose value type is specified as this third template parameter.
Definition at line 48 of file itkGradientImageFilter.h.
|
Definition at line 72 of file itkGradientImageFilter.h. |
|
Definition at line 65 of file itkGradientImageFilter.h. |
|
Convenient typedefs for simplifying declarations. Definition at line 64 of file itkGradientImageFilter.h. |
|
Image typedef support. Definition at line 81 of file itkGradientImageFilter.h. |
|
Definition at line 82 of file itkGradientImageFilter.h. |
|
Definition at line 67 of file itkGradientImageFilter.h. |
|
Definition at line 85 of file itkGradientImageFilter.h. Referenced by itk::GradientImageFilter< TInputImage, TOperatorValueType, TOutputValueType >::~GradientImageFilter(). |
|
Definition at line 66 of file itkGradientImageFilter.h. |
|
Definition at line 84 of file itkGradientImageFilter.h. |
|
Definition at line 83 of file itkGradientImageFilter.h. |
|
Definition at line 71 of file itkGradientImageFilter.h. |
|
Standard class typedefs. Definition at line 61 of file itkGradientImageFilter.h. Referenced by itk::GradientImageFilter< TInputImage, TOperatorValueType, TOutputValueType >::~GradientImageFilter(). |
|
Standard class typedefs. Definition at line 70 of file itkGradientImageFilter.h. |
|
Definition at line 112 of file itkGradientImageFilter.h. |
|
|
GradientImageFilter needs a larger input requested region than the output requested region. As such, GradientImageFilter needs to provide an implementation for GenerateInputRequestedRegion() in order to inform the pipeline execution model.
|
|
Run-time type information (and related methods). |
|
Set/Get whether or not the filter will use the spacing of the input image in its calculations |
|
Extract dimension from input image. |
|
Extract dimension from input image. |
|
Method for creation through the object factory. |
|
|
|
Set/Get whether or not the filter will use the spacing of the input image in its calculations |
|
Ignore the image spacing. Use this option if you want derivatives in isotropic pixel space. Default is UseImageSpacingOn. Definition at line 102 of file itkGradientImageFilter.h. |
|
Use the image spacing information in calculations. Use this option if you want derivatives in physical space. Default is UseImageSpacingOn. Definition at line 97 of file itkGradientImageFilter.h. |
|
GradientImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a ThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling ThreadedGenerateData(). ThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread"
|