![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Modules demonstrating how to estimate line 2d parameters from a cloud of points. More...
Modules demonstrating how to estimate line 2d parameters from a cloud of points.
For more informations about parametric estimation features, please see Parametric estimation.
We start by importing all necessary libraries:
Searched 2d line is defined using polar coordinates :
and
.
We then define input data points as points on previous line with perturbated ordinate :
with :
a random centered normal noise with unit standard deviationWe then compute simple least square line estimation using following syntax :
At last we display estimation results
See the full source listing
1.8.14