Back to Adaptive Vision Library websiteYou 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,
float& outA,
float& outB
)
void ProfileLinearRegression_Deprecated
(
Profile inProfile,
out float outA,
out float outB
)
Parameters
|
Name |
Type |
Default |
Description |
|
inProfile |
const Profile& |
|
Input profile |
|
outA |
float& |
|
|
|
outB |
float& |
|
|
Errors
Error type |
Description |
DomainError |
inProfile is empty in ProfileLinearRegression |