Back to FabImage Library website
You are here: Start » Function Reference » Computer Vision » Image Analysis » DetectLinePeak

DetectLinePeak
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationPro |
Finds line peaks on an image.
Applications: Created for applications with laser line detection.
Syntax
C++
C#
void fil::DetectLinePeak ( const fil::Image& inImage, fil::LinePeakDetectionMethod::Type inDetectionMethod, const float inThreshold, ftl::Array<ftl::Conditional<fil::Point2D> >& outLinePeakPoints, fil::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. |