Back to Adaptive Vision Library websiteYou are here:
Start »
Function Reference »
Image Analysis »
DetectLinePeak
Finds line peaks on an image.
Syntax
C++
C#
void avl::DetectLinePeak
(
const avl::Image& inImage,
avl::LinePeakDetectionMethod::Type inDetectionMethod,
const float inThreshold,
atl::Array<atl::Conditional<avl::Point2D> >& outLinePeakPoints,
avl::Profile& diagLinePeakProfile
)
void DetectLinePeak
(
Image inImage,
LinePeakDetectionMethod inDetectionMethod,
float inThreshold,
out Point2D?[] outLinePeakPoints,
out Profile diagLinePeakProfile
)
Parameters
|
Name |
Type |
Range |
Default |
Description |
|
inImage |
const Image& |
|
|
Input image |
|
inDetectionMethod |
LinePeakDetectionMethod::Type |
|
MaximalPixel |
Method used to determine exact line peak position |
|
inThreshold |
const float |
0.0 - |
128.0f |
Minimal value of a bright pixel |
|
outLinePeakPoints |
Array<Conditional<Point2D> >& |
|
|
Line peak positions |
|
diagLinePeakProfile |
Profile& |
|
|
Profile of line peak positions |
Errors
Error type |
Description |
DomainError |
Unknown input detection method in DetectLinePeak. |