Moving least squares: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Igor Grešovnik
No edit summary
imported>Igor Grešovnik
No edit summary
Line 2: Line 2:


In [[computer graphics]], the moving least squares method is useful for reconstructing a surface from a set of points. Often it is used to create a 3D surface from a cloud of points through either [[downsampling]] or [[upsampling]].
In [[computer graphics]], the moving least squares method is useful for reconstructing a surface from a set of points. Often it is used to create a 3D surface from a cloud of points through either [[downsampling]] or [[upsampling]].
==Problem statement==
Consider the problem of adjusting a model function to best fit a given data set. The data set consist of ''n'' points
:<math>(y_i,\bold{x}_i), i = 1, 2,\dots, n .</math>
We define an approximation in a similar way as in the [[weighted least squares]], but in such a way that its adjustable coefficients depend on the independent variables:
:<math>y=f(\bold{x};\bold{a}(\bold{x})) ,</math>
where ''y'' is the dependent variable, '''x''' are the independent variables, and '''a'''('''x''') are the adjustable parameters of the model. In each point '''x''' when the approximation should be evaluated, we calculate the local values of these parameters such that the model best fits the data according to a defined error criterion. The parameters are obtained by [[Function minimization|minimization]] of the weighted sum of squares of errors,
:<math> S('''a'''('''x''')) = \sum_{i=1}^n  w_i (y_i - f(\bold{x}_i;\bold{a}(\bold{x})))^2 ,</math>
with respect to the adjustable parameters of the model '''a'''('''x''') in the point of evaluation of the approximation.





Revision as of 23:38, 23 November 2007

Moving least squares is a method of approximating a continuous functions from a set of eventually unorganized point samples via the calculation of a weighted least squares measure biased towards the region around the point at which the approximation value is requested.

In computer graphics, the moving least squares method is useful for reconstructing a surface from a set of points. Often it is used to create a 3D surface from a cloud of points through either downsampling or upsampling.

Problem statement

Consider the problem of adjusting a model function to best fit a given data set. The data set consist of n points

We define an approximation in a similar way as in the weighted least squares, but in such a way that its adjustable coefficients depend on the independent variables:

where y is the dependent variable, x are the independent variables, and a(x) are the adjustable parameters of the model. In each point x when the approximation should be evaluated, we calculate the local values of these parameters such that the model best fits the data according to a defined error criterion. The parameters are obtained by minimization of the weighted sum of squares of errors,

with respect to the adjustable parameters of the model a(x) in the point of evaluation of the approximation.


See also