#include <itkVectorGradientMagnitudeImageFilter.h>
Inheritance diagram for itk::VectorGradientMagnitudeImageFilter< TInputImage, TRealType, TOutputImage >:
The second mode is computationally much faster than the first and has the advantage that it is automatically multi-threaded (some vnl functions used in the first mode are not thread-safe). The first mode, however, tends to give intuitively better results with less (or no) parameter tuning.
The third template parameter is the output image type. The third parameter will be automatically constructed from the first and second parameters, so it is not necessary (or advisable) to set this parameter explicitly. Given an M-channel input image with dimensionality N, and a numerical type specified as TRealType, the output image will be of type itk::Image<itk::Vector<TRealType, M>, N>.
Weights can be applied to the derivatives directly using the SetDerivativeWeights method. Note that if UseImageSpacing is set to TRUE (ON), then these weights will be overridden by weights derived from the image spacing when the filter is updated. The argument to this method is a C array of TRealValue type.
Weights can be applied to each vector component of the image when the component derivative values are summed during computation. Specify these weights using the SetComponentWeights method. The argument to this method is a C array of TRealValue type.
Definition at line 138 of file itkVectorGradientMagnitudeImageFilter.h.
|
Type of the iterator that will be used to move through the image. Also the type which will be passed to the evaluate function Definition at line 181 of file itkVectorGradientMagnitudeImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 146 of file itkVectorGradientMagnitudeImageFilter.h. |
|
Definition at line 273 of file itkVectorGradientMagnitudeImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 162 of file itkVectorGradientMagnitudeImageFilter.h. |
|
Image typedef support Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 160 of file itkVectorGradientMagnitudeImageFilter.h. |
|
Definition at line 157 of file itkVectorGradientMagnitudeImageFilter.h. |
|
Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 163 of file itkVectorGradientMagnitudeImageFilter.h. |
|
Superclass typedefs. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 185 of file itkVectorGradientMagnitudeImageFilter.h. |
|
Some convenient typedefs. Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 161 of file itkVectorGradientMagnitudeImageFilter.h. |
|
Extract some information from the image types. Dimensionality of the two images is assumed to be the same. Definition at line 156 of file itkVectorGradientMagnitudeImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 145 of file itkVectorGradientMagnitudeImageFilter.h. |
|
Definition at line 182 of file itkVectorGradientMagnitudeImageFilter.h. |
|
Define the data type and the vector of data type used in calculations. Definition at line 174 of file itkVectorGradientMagnitudeImageFilter.h. |
|
Definition at line 176 of file itkVectorGradientMagnitudeImageFilter.h. |
|
Definition at line 175 of file itkVectorGradientMagnitudeImageFilter.h. |
|
Standard class typedefs. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 143 of file itkVectorGradientMagnitudeImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 144 of file itkVectorGradientMagnitudeImageFilter.h. |
|
|
|
Definition at line 250 of file itkVectorGradientMagnitudeImageFilter.h. |
|
Do any necessary casting/copying of the input data. Input pixel types whose value types are not real number types must be cast to real number types. Reimplemented from itk::ImageSource< TOutputImage >. |
|
A specialized solver for finding the roots of a cubic polynomial. Necessary to multi-thread the 3D case |
|
Definition at line 402 of file itkVectorGradientMagnitudeImageFilter.h. |
|
Definition at line 303 of file itkVectorGradientMagnitudeImageFilter.h. |
|
VectorGradientMagnitudeImageFilter needs a larger input requested region than the output requested region (larger by the kernel size to calculate derivatives). As such, VectorGradientMagnitudeImageFilter needs to provide an implementation for GenerateInputRequestedRegion() in order to inform the pipeline execution model.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Set/Get the array of weightings for the different components of the vector. Default values are 1.0. |
|
Directly Set/Get the array of weights used in the gradient calculations. Note that calling UseImageSpacingOn will clobber these values. |
|
Run-time type information (and related methods) Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Get/Set the neighborhood radius used for gradient computation |
|
Get access to the input image casted as real pixel values |
|
Set/Get whether or not the filter will use the spacing of the input image in its calculations |
|
Set/Get principle components calculation mode. When this is set to TRUE/ON, the gradient calculation will involve a priniciple component analysis of the partial derivatives of the color components. When this value is set to FALSE/OFF, the calculation is done as a square root of weighted sum of the derivatives squared. Default is UsePrincipleComponents = true. |
|
Length of the vector pixel type of the input image. |
|
The dimensionality of the input and output images. |
|
Method for creation through the object factory. Reimplemented from itk::Object. |
|
Definition at line 284 of file itkVectorGradientMagnitudeImageFilter.h. References itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetNext(), and itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetPrevious(). |
|
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::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Set/Get the array of weightings for the different components of the vector. Default values are 1.0. |
|
Directly Set/Get the array of weights used in the gradient calculations. Note that calling UseImageSpacingOn will clobber these values. |
|
Get/Set the neighborhood radius used for gradient computation |
|
Set/Get whether or not the filter will use the spacing of the input image in its calculations |
|
Reset the derivative weights to ignore image spacing. Use this option if you want to calculate the gradient in the image space. Default is ImageSpacingOff. Definition at line 206 of file itkVectorGradientMagnitudeImageFilter.h. |
|
Set the derivative weights according to the spacing of the input image (1/spacing). Use this option if you want to calculate the gradient in the space in which the data was acquired. Definition at line 200 of file itkVectorGradientMagnitudeImageFilter.h. |
|
Set/Get principle components calculation mode. When this is set to TRUE/ON, the gradient calculation will involve a priniciple component analysis of the partial derivatives of the color components. When this value is set to FALSE/OFF, the calculation is done as a square root of weighted sum of the derivatives squared. Default is UsePrincipleComponents = true. |
|
Set/Get principle components calculation mode. When this is set to TRUE/ON, the gradient calculation will involve a priniciple component analysis of the partial derivatives of the color components. When this value is set to FALSE/OFF, the calculation is done as a square root of weighted sum of the derivatives squared. Default is UsePrincipleComponents = true. Definition at line 238 of file itkVectorGradientMagnitudeImageFilter.h. |
|
Set/Get principle components calculation mode. When this is set to TRUE/ON, the gradient calculation will involve a priniciple component analysis of the partial derivatives of the color components. When this value is set to FALSE/OFF, the calculation is done as a square root of weighted sum of the derivatives squared. Default is UsePrincipleComponents = true. Definition at line 234 of file itkVectorGradientMagnitudeImageFilter.h. |
|
VectorGradientMagnitudeImageFilter 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"
Reimplemented from itk::ImageSource< TOutputImage >. |
|
These weights are used to scale vector component values when they are combined to produce a scalar. The square roon Definition at line 441 of file itkVectorGradientMagnitudeImageFilter.h. |
|
The weights used to scale derivatives during processing Definition at line 436 of file itkVectorGradientMagnitudeImageFilter.h. |
|
Definition at line 442 of file itkVectorGradientMagnitudeImageFilter.h. |