how to create 2D polynomial regression?
显示 更早的评论
hi I have a 22x34 image. how to create a function just like ax^2+by^2+cxy+dx+ey+f to fit this image
采纳的回答
更多回答(1 个)
Image Analyst
2015-12-30
1 个投票
You can use John D'Errico's polyfitn in the File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/34765-polyfitn.
Attached is an example of how I used it to correct (flatten) a background.
类别
在 帮助中心 和 File Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!