Gradient Magnitude (GradientMagnitude)
Compute the magnitude of the gradient vectors for an image/volume.
The Gradient Magnitude filter computes the magnitude of the gradient vector at each point in an image or volume. This filter operates on uniform rectilinear (image) data and produces image data output.

PropertyDescriptionDefault Value(s)Restrictions
Dimensionality
(Dimensionality)
This property indicates whether to compute the gradient magnitude in two or three dimensions. If computing the gradient magnitude in 2D, the gradients in X and Y are used for computing the gradient magnitude. 3

The value must be one of the following: Two (2), Three (3).

 
Input
(Input)
This property specifies the input to the Gradient Magnitude filter.  

The selected object must be the result of the following: sources (includes readers), filters.

The dataset must contain a point array with 1 components.

The selected dataset must be one of the following types (or a subclass of one of them): vtkImageData.

 
Select Input Scalars
(SelectInputScalars)
This property lists the name of the scalar array to use in computing the gradient magnitude.  

An array of scalars is required.