You are here: Start » AVL.NET » AVL.DistanceTransform(AvlNet.Image, int, float, float, float, AvlNet.Image)
AVL.DistanceTransform(AvlNet.Image, int, float, float, float, AvlNet.Image)
Computes an image in which the pixel values denote the estimated distances to the nearest bright pixel in the input image.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void DistanceTransform( AvlNet.Image inImage, int inThreshold, float inStraightDistance, float inDiagonalDistance, float inMaxDistance, out AvlNet.Image outImage )
Parameters
- inImage
- Type: AvlNet.Image
Input image - inThreshold
- Type: System.Int32
Minimal brightness above which pixels are called bright - inStraightDistance
- Type: System.Single
Distance between two neighboring in a row or a column pixels - inDiagonalDistance
- Type: System.Single
Distance between two pixels connected by vertices - inMaxDistance
- Type: System.Single
Maximum value of the calculated distance - outImage
- Type: AvlNet.Image
Output distance image
