Back to Adaptive Vision Library website
You are here: Start » Function Reference » Profile Features Deprecated » ProfileLinearRegression_Deprecated
ProfileLinearRegression_Deprecated
Returns coefficients of linear function (in form y = Ax + B) that illustrates the trend of profile. Uses ordinary least squares method.
Syntax
C++
C#
void avl::ProfileLinearRegression_Deprecated ( const avl::Profile& inProfile, atl::real& outA, atl::real& outB )
Parameters
Errors
| Error type | Description |
|---|---|
| DomainError | inProfile is empty in ProfileLinearRegression |


