Back to Adaptive Vision Library website
You are here: Start » Function Reference » Profile Features » ProfileEdges
ProfileEdges
Finds the locations at which the profile values raise or fall quickly.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::ProfileEdges ( const avl::Profile& inProfile, bool inCyclic, const avl::EdgeScanParams& inEdgeScanParams, float inMinDistance, atl::Optional<float> inMaxDistance, atl::Optional<const avl::LocalBlindness&> inLocalBlindness, atl::Array<avl::ProfileEdge>& outEdges, atl::Optional<atl::Array<float>&> outDistances = atl::NIL, avl::Profile& diagResponseProfile = atl::Dummy<avl::Profile>() )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inProfile | const Profile& | Input profile | |||
inCyclic | bool | ||||
inEdgeScanParams | const EdgeScanParams& | EdgeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f MinMagnitude: 5.0f EdgeTransition: BrightToDark ) | Parameters controlling the edge extraction process | ||
inMinDistance | float | 0.0 - | 0.0f | Minimal distance between consecutive edges | |
inMaxDistance | Optional<float> | 0.0 - | NIL | Maximal distance between consecutive edges | |
inLocalBlindness | Optional<const LocalBlindness&> | NIL | Defines conditions in which weaker edges can be detected in the vicinity of stronger edges | ||
outEdges | Array<ProfileEdge>& | Found edges | |||
outDistances | Optional<Array<float>&> | NIL | Output distances between consecutive edges | ||
diagResponseProfile | Profile& | Profile of the edge (derivative) operator response |