Fiting a surface of best fit to a set of data points

Woland
Messages
18
Reaction score
0
Hello all,

I am trying to fit a surface to a 1920x1080 grid of evenly spaced data points. The values are supposed to be more or less uniform (its an image of a uniform white light source). So I would like to fit a plane to it (but maybe a paraboloid if it is not quiete uniform). What method should I use? A least squares approach? I can't seem to find much on google for this. Does anyone have an approach, or perhaps could recommend some literature which covers this?

Thanks!
 
Physics news on Phys.org
I was able to figure it out . The usual least squares method applies to this. I fit z = Ax + By + C by creating a matrix of sums etc etc. It worked out nicely for the 3D case, same as for the 2D.

Thank you,
 
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Back
Top