Back to Adaptive Vision Library website

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

DivideProfiles


Divides two profiles value by value.

Syntax

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

Parameters

Name Type Default Description
inProfile1 const Profile& First input profile
inProfile2 const Profile& Second input profile
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

Errors

Error type Description
DomainError Input profiles have different lengths in DivideProfiles.
DomainError One of the second profile's values equals zero in DivideProfiles.