forum.alglib.net
http://forum.alglib.net/

two-dimensional second order polynomial parameter estimation
http://forum.alglib.net/viewtopic.php?f=2&t=2227
Page 1 of 1

Author:  fdesmedt [ Thu Jan 22, 2015 9:50 am ]
Post subject:  two-dimensional second order polynomial parameter estimation

Hi,

I'm just beginning to work with ALGLIB and have some difficulties to implement a curve-fitting solution. I have a set of 3D point (X,Y,H), where X and Y are pixel coordinates and H is a value, and I want to fit a curve/plane so I can determine for each (X,Y) pair the H-value. Experience-based I know the function to describe this relation is f(x,y) = A + Bx + C y + D x^2 + Exy + F y^2. What I want to receive is the values of A,B,C,D,E and F (all constants).
Can anybody help to setup the code to perform such a task (if possible) with ALGLIB. I have looked into many examples and comments, but seem not capable of finding how to perform this.

Thanks in advance.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/