Back to Aurora Vision Library website
You are here: Start » Function Reference » Computer Vision » Image Analysis » DetectLinePeak
![](../../img/icon/LineLaser.png)
DetectLinePeak
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationPro |
Finds line peaks on an image.
Applications: Created for applications with laser line detection.
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 )
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 |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Unknown input detection method in DetectLinePeak. |