Back to Adaptive Vision Library website
You are here: Start » Function Reference » Profile Features » ProfileSections
ProfileSections
Finds subprofiles whose values fall into the specified range.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::ProfileSections ( const avl::Profile& inProfile, atl::Optional<float> inMinValue, atl::Optional<float> inMaxValue, const float inMinSectionWidth, atl::Optional<float> inMaxSectionWidth, float inMinGapWidth, atl::Optional<float> inMaxGapWidth, atl::Optional<float> inMaxInnerGapWidth, atl::Array<avl::ProfileSection>& outSections, atl::Conditional<avl::ProfileSection>& outBoundingSection )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inProfile | const Profile& | Input profile | |||
inMinValue | Optional<float> | 5.0f | Lower bound for profile values | ||
inMaxValue | Optional<float> | NIL | Upper bound for profile values | ||
inMinSectionWidth | const float | 0.0 - | 0.0f | Minimal width of the found section | |
inMaxSectionWidth | Optional<float> | 0.0 - | NIL | Maximal width of the found section | |
inMinGapWidth | float | 0.0 - | 0.0f | Minimal distance between consecutive sections | |
inMaxGapWidth | Optional<float> | 0.0 - | NIL | Maximal distance between consecutive sections | |
inMaxInnerGapWidth | Optional<float> | 0.0 - | 0.0f | Maximal possible gap width between two sections to join them into one | |
outSections | Array<ProfileSection>& | Output profile sections | |||
outBoundingSection | Conditional<ProfileSection>& | The smallest section that contains all outSections |