You are here: Start » AVL.NET » Function Reference » Image » Image Local Transforms » 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 | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inEdgeTransition | AvlNet.EdgeTransition | Defines what is considered as an edge in the image. | |||
inDiffMethod | AvlNet.DifferentiationMethod | Defines which finite difference approach to use. | |||
inGradientOrientation | AvlNet.GradientOrientation | Defines which gradient orientation to compute. | |||
inSigned | bool | False | Defines whether or not to output a signed result (true) or just a positive result (false). Default value: False. | ||
outImage | AvlNet.Image | Output 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. |