You are here: Start » AVL.NET » AVL.AdjustPathArrayToEdges Method
AVL.AdjustPathArrayToEdges Method
Translates, rotates and scales the given contour set to the edges of the input image.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void AdjustPathArrayToEdges( AvlNet.Image inImage, AvlNet.Path[] inPaths, float inAttractionRadius, int inIterationCount, float inBaseGradient, bool inRobust, float inDensity, out AvlNet.Path[] outAdjustedPaths, out AvlNet.Vector2D outTranslation, out float outRotation, out float outScale, out AvlNet.Segment2D[] outAttractionVectors )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inPaths | AvlNet.Path | ||||
inAttractionRadius | float | <0.1f, INF> | 2.0f | Default value: 2.0f. | |
inIterationCount | int | <0, 100> | 10 | Default value: 10. | |
inBaseGradient | float | <1.0f, INF> | 1.0f | Default value: 1.0f. | |
inRobust | bool | ||||
inDensity | float | <0.0f, 1.0f> | 1.0f | Default value: 1.0f. | |
outAdjustedPaths | AvlNet.Path | ||||
outTranslation | AvlNet.Vector2D | ||||
outRotation | float | ||||
outScale | float | ||||
outAttractionVectors | AvlNet.Segment2D |