You are here: Start » AVL.NET » Function Reference » Image » Image Local Transforms » AVL.GradientMagnitudeImage_Signed

AVL.GradientMagnitudeImage_Signed

Computes an image of gradient for only selected direction.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void GradientMagnitudeImage_Signed
(
	AvlNet.Image inImage,
	AvlNet.EdgeTransition inEdgeTransition,
	AvlNet.DifferentiationMethod inDiffMethod,
	AvlNet.GradientOrientation inGradientOrientation,
	bool inSigned,
	AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inEdgeTransitionAvlNet.EdgeTransitionDefines what is considered as an edge in the image.
inDiffMethodAvlNet.DifferentiationMethodDefines which finite difference approach to use.
inGradientOrientationAvlNet.GradientOrientationDefines which gradient orientation to compute.
inSignedboolFalseDefines whether or not to output a signed result (true) or just a positive result (false). Default value: False.
outImageAvlNet.ImageOutput image.

Hardware Acceleration

This operation is optimized for SSE41 technology for pixels of type: UINT8.

This operation is optimized for AVX2 technology for pixels of type: UINT8.

This operation is optimized for NEON technology for pixels of type: UINT8.

This operation supports automatic parallelization for multicore and multiprocessor systems.

Hardware acceleration settings may be manipulated with Settings class.

Errors

List of possible exceptions:

Error type Description
DomainError Not supported inImage pixel format in GradientMagnitudeImage_Signed. Supported formats: 1xUInt8, 1xInt8, 1xUInt16, 1xInt16, 1xInt32, 1xReal.

See also