Back to Adaptive Vision Library websiteYou are here:
Start »
Function Reference »
Path Features »
PathAverageTurnAngle
Computes the average absolute turn angle of a path per unit of length.
Syntax
C++
C#
void avl::PathAverageTurnAngle
(
const avl::Path& inPath,
float& outAverageTurnAngle
)
void PathAverageTurnAngle
(
Path inPath,
out float outAverageTurnAngle
)
Parameters
|
Name |
Type |
Default |
Description |
|
inPath |
const Path& |
|
Input path |
|
outAverageTurnAngle |
float& |
|
|
Description
The operation measures acuteness of the path turn angles. It is computed as the sum of absolute values of path turn angles at path characteristic points divided by length of the path.
Examples
PathAverageTurnAngle of the sample path equals to 161.57.
|
PathAverageTurnAngle of the sample path equals to 81.16.
|
Errors
Error type |
Description |
DomainError |
Input path contains not enough points in PathAverageTurnAngle. |
See Also