Back to Aurora Vision Library website

You are here: Start » Function Reference » Computer Vision » Image Analysis » DetectLinePeak

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
Input value inImage const Image& Input image
Input value inDetectionMethod LinePeakDetectionMethod::Type MaximalPixel Method used to determine exact line peak position
Input value inThreshold const float 0.0 - 128.0f Minimal value of a bright pixel
Output value outLinePeakPoints Array<Conditional<Point2D> >& Line peak positions
Diagnostic input 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.