how to create 2D polynomial regression?
Show older comments
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
Accepted Answer
More Answers (1)
Image Analyst
on 30 Dec 2015
1 vote
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.
Categories
Find more on Linear and Nonlinear Regression in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!