Fitting a grid with surface and reconstructing it



Hello,

I have a grid with data points evenly spaced at (x,y), to each point there's a corresponding z. The grid is relatively dense. How can I fit a catmull-rom patch (or other surface function) to it which has a maximum degree of 3 or 4 if I give a maximum allowed error to the algorithm?
Basically the grid represents a set of terrain points. Since there are a lot of points I want to approximate them with some function which I could store instead of the huge amount of data required for the points. When evaluating the calculated spline patches afterwards they should give back the original terrain shape (up to some small error).
Can somebody give me a hint how I can approach this problem? Is this already researched and if yes, which name it have? This seems to be quite difficult to me, for example in flat terrain areas a single spline patch might fit a lot of data points while a single spline patch around a sharp peak will cover just a few points.


Thanks a lot for any help!

-Matthias
.



Relevant Pages

  • Re: Fitting a grid with surface and reconstructing it
    ... The grid is relatively dense. ... > Basically the grid represents a set of terrain points. ... Searching for "adaptive mesh refinement" should lead you to quite a few ... > might fit a lot of data points while a single spline patch around a sharp ...
    (sci.math.num-analysis)
  • Re: Fitting a grid with surface and reconstructing it
    ... The grid is relatively dense. ... >Basically the grid represents a set of terrain points. ... >might fit a lot of data points while a single spline patch around a sharp ... you could use a least squares approximation with a tensor product ...
    (sci.math.num-analysis)
  • Re: crossword project works
    ... It then put the first word on the list that will fit into the across position, ... This is fed into a search strategy called simulated annealing. ... The problem with the user-supplied grid idea is that you then need a big dictionary. ... When I was doing the biochemistry crossword, it was easy to think up some answers, like the names of the amino acids, but I was beginnning to run out of ideas after about fifty lines. ...
    (comp.programming)
  • Re: Expanation of datum/grid terms requested
    ... > grid and datum in my Magellan MeriPlat: ... Whilst WGS84 is a good average fit to the whole world it doesn't ... and is the only line where there is no distortion of the projected map. ... where this point is relative to the actually origin of the map projection. ...
    (sci.geo.satellite-nav)
  • simple polynomial fit problem, please help!
    ... I have the following grid and I know value of a function f at each discrete point. ... I used the following 2nd degree polynomial to fit the function f: ... B is a column matrix which contain function values and X is a column matrix which contains coefficients a0 to a5 to be determined. ... I cannot solve this equation as determinant of A is zero! ...
    (comp.soft-sys.matlab)