Gradient Magnitude

Node Icon

An image gradient filter is a type of image derivative filter that calculates the gradient, or rate of change, of the intensity values in an image. It computes the magnitude and direction of the intensity change at each pixel in the image. The gradient filter outputs a map of gradient magnitudes, which highlight the edges and texture features in the image. The gradient filter is often used in image processing and computer vision tasks, such as edge detection, feature extraction, and image segmentation.

Computes the gradient magnitude of an image using directional derivatives. The directional derivative at each pixel location is computed by convolution with a first-order derivative operator, and the magnitude of the result is returned.

Inputs

Input

Input image(s).

Type: Image, List, Required, Single

Outputs

Output

Output image(s).

Type: Image, List

Settings

Displacement Unit Selection

Set the displacement unit. If set to pixels [px], the voxel size will be ignored.

Values: px, mm

See also

References

Keywords: