Back to Aurora Vision Library website

You are here: Start » Function Reference » Profile » Profile Combinators » MaximumProfile

MaximumProfile


Header: AVL.h
Namespace: avl
Module: FoundationPro

Computes the maximum of two profiles point by point.

Syntax

C++
C#
 
void avl::MaximumProfile
(
	const avl::Profile& inProfile1,
	const avl::Profile& inProfile2,
	avl::Profile& outProfile
)

Parameters

Name Type Default Description
Input value inProfile1 const Profile& First input profile
Input value inProfile2 const Profile& Second input profile
Output value outProfile Profile& Output profile

In-place Processing

This function supports in-place data processing - you can pass the same reference to inProfile1 and outProfile, inProfile2 and outProfile

Read more about In-place Computation.

Errors

List of possible exceptions:

Error type Description
DomainError Input profiles have different lengths in MaximumProfile.
DomainError Input profiles have different X coordinates in MaximumProfile.