How to fit a polynomial surface to point cloud using any optimization method?
Afficher commentaires plus anciens
suppose the data points are given (point cloud:Q_r) , and i want to fit a polynomial surface to the given data points. Suppose the surface Bezier surface
where
, if m,n=3, then the bicubic surface in term of polynomial function become
The goal is to obtain the free-form polynomial Bezier surface
(bicubic for my case) that fits the data points better in the discrete least-squares sense. To do so, we have to compute the control points P_{𝑖,𝑗},𝑖=0,...,𝑚;𝑗=0,...,𝑛 of the approximating surface by minimizing the least-squares error, 𝐸, defined as the sum of squares of the residuals:
Is there any way we can apply MATLAB optimization technique, so that i will get the best coefficient (P_{i,j}) that fit the original data?
To find best (P_{i,j}) i need to find best u and v parameter vector that will give me best (P_{i,j}) using least square.
Any suggestions, recomendation, link to c.f is appreciated.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Linear and Nonlinear Regression dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!