Back to Adaptive Vision Library website

You are here: Start » Function Reference » Shape Adjustment » AdjustPathArrayToEdges

AdjustPathArrayToEdges


Translates, rotates and scales the given contour set to the edges of the input image.

Syntax

C++
C#
 
void avl::AdjustPathArrayToEdges
(
	const avl::Image& inImage,
	const atl::Array< avl::Path >& inPaths,
	atl::real inAttractionRadius,
	int inIterationCount,
	atl::real inBaseGradient,
	bool inRobust,
	atl::real inDensity,
	atl::Array< avl::Path >& outAdjustedPaths,
	avl::Vector2D& outTranslation,
	atl::real& outRotation,
	atl::real& outScale,
	atl::Array< avl::Segment2D >& outAttractionVectors
)

Parameters

Name Type Range Default Description
inImage const Image& Input image
inPaths const ArrayPath >&
inAttractionRadius real 0.1 - 2.0f
inIterationCount int 0 - 100 10
inBaseGradient real 1.0 - 1.0f
inRobust bool
inDensity real 0.0 - 1.0 1.0f
outAdjustedPaths ArrayPath >&
outTranslation Vector2D&
outRotation real&
outScale real&
outAttractionVectors ArraySegment2D >&