Back to FabImage Library website
You are here: Start » Function Reference » Profile Features » ProfileAverage

ProfileAverage
Header: | FIL.h |
---|---|
Namespace: | fil |
Computes the average value of a profile.
Syntax
C++
C#
void fil::ProfileAverage ( const fil::Profile& inProfile, float& outAverage )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inProfile | const Profile& | Input profile | |
![]() |
outAverage | float& |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty profile in ProfileAverage |