You are here: Start » AVL.NET » AVL.GradientImage(AvlNet.Image, AvlNet.Region, AvlNet.GradientOperator, float, float?, AvlNet.Image, AvlNet.Image)
AVL.GradientImage(AvlNet.Image, AvlNet.Region, AvlNet.GradientOperator, float, float?, AvlNet.Image, AvlNet.Image)
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.Region inRoi, AvlNet.GradientOperator inOperator, float inStdDevX, float? inStdDevY, out AvlNet.Image outGradientImage, out AvlNet.Image diagGradientDirections )
Parameters
- inImage
- Type: AvlNet.Image
Input image - inRoi
- Type: AvlNet.Region
Range of outGradientImage pixels to be computed, or null. - inOperator
- Type: AvlNet.GradientOperator
Defines how the gradient is computed - inStdDevX
- Type: System.Single
Horizontal smoothing standard deviation - inStdDevY
- Type: System.Nullable<System.Single>
Vertical smoothing standard deviation, or null. - outGradientImage
- Type: AvlNet.Image
Gradients of the image - diagGradientDirections
- Type: 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.
