Scalar Gradient

EasyImage::GradientScalar .NET Python computes the (scalar) gradient image derived from a given source image.

  • The scalar value derived from the gradient depends on the preset lookup table image.

  • The gradient of a grayscale image corresponds to a vector, the components of which are the partial derivatives of the gray-level signal in the horizontal and vertical direction. A vector can be characterized by a direction and a length, corresponding to the gradient orientation, and the gradient magnitude.

This function generates a gradient direction or gradient magnitude map (gray-level image) from a given gray-level image.

See Also

Code Snippets

Easy to understand, ready to copy code snippets.

Scalar Gradient
Canny Edge Detector

Detect edges using gradient magnitudes and hysteresis thresholding.

Canny Edge Detector