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.
For efficiency, a precomputed lookup table is used to define the desired transformation.
The look-up table submitted as input must be initialized using
EasyImage::ArgumentImage.NET Python orEasyImage::ModulusImage.NET Python once before callingEasyImage::GradientScalar.NET Python.
See Also¶
Easy to understand, ready to copy code snippets.
Detect edges using gradient magnitudes and hysteresis thresholding.