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
inImageAvlNet.ImageInput image.
inPathsAvlNet.Path
inAttractionRadiusfloat<0.1f, INF>2.0fDefault value: 2.0f.
inIterationCountint<0, 100>10Default value: 10.
inBaseGradientfloat<1.0f, INF>1.0fDefault value: 1.0f.
inRobustbool
inDensityfloat<0.0f, 1.0f>1.0fDefault value: 1.0f.
outAdjustedPathsAvlNet.Path
outTranslationAvlNet.Vector2D
outRotationfloat
outScalefloat
outAttractionVectorsAvlNet.Segment2D

See also