You are here: Start » AVL.NET » AVL.GradientImage Method
AVL.GradientImage Method
Computes a gradient image with smoothing operator of any size. The output pixels are signed.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void GradientImage( AvlNet.Image inImage, AvlNet.GradientOperator inOperator, float inStdDevX, out AvlNet.Image outGradientImage, out AvlNet.Image diagGradientDirections )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inOperator | AvlNet.GradientOperator | Defines how the gradient is computed. | |||
inStdDevX | float | <0.0f, INF> | 2.0f | Horizontal smoothing standard deviation. Default value: 2.0f. | |
outGradientImage | AvlNet.Image | Gradients of the image. | |||
diagGradientDirections | AvlNet.Image | Gradient directions presented in a human readable format. |
Remarks
Please note that about a half of the pixels will be negative and in the preview windows they will be displayed as black.
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.