Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Path Features » PathTurnAngleLocalMaxima

PathTurnAngleLocalMaxima


Finds the local maxima of the profile of turn angles of a path.

Name Type Range Description
inPath Path Input path
inAllowedTurnDirection TurnAngleDirection Allows to detect only left-turns, only right-turns or both
inResultPrecision TurnAnglePrecision Switches between pixel-precise or subpixel-precise detection of the found maxima
inMinTurnAngle Real 0.0 - 180.0 Minimal value of a relevant angle
inMinDistance Real 0.0 - Minimal distance on the path between two local maxima assuming each path segment has unit length
inSmoothingStdDev Real 0.0 - Standard deviation of the gaussian smoothing applied to the input path
outTurnAngleMaximaIndices RealArray Indices of found local maxima
outTurnAngleMaximaPoints Point2DArray Found local maxima of turn angle profile of the smoothed input path
outTurnAngleMaximaAngles RealArray Turn angles of found local maxima
diagSmoothedPath Path Input path smoothed with gaussian kernel
diagTurnAngleProfile Profile Profile of turn angles at characteristic points of the smoothed input path

Applications

Detection of feature points related to object corners.

Description

The operation computes the profile of turn angles of a path and finds the local maxima of the profile having value at least inMinTurnAngle. The inAllowedTurnDirection parameter restricts kind of turns taken into consideration (left-turns only, right-turns only or both), while inResultPrecision determines the precision of the resulting maxima points. Found maxima have to be at least inMinDistance from each other (the distance is measured along the input path assuming each path segment has unit length).

Examples

PathTurnAngleLocalMaxima run on the sample path with inAllowedTurnDirection = Right

Complexity Level

This filter is available on Advanced Complexity Level.

See Also