From: Ian T. <ijt...@gm...> - 2010-12-21 18:27:52
|
On Tue, Dec 21, 2010 at 12:56 PM, Andrea Aime <and...@ge...> wrote: > On Tue, Dec 21, 2010 at 4:29 PM, Ian Turton <ijt...@gm...> wrote: >> >> >> That's the sort of thing I was trying, is there a way to do this with >> world x,y coords instead of image coords? > > I think that is normally called interpolation :-) > Look for Inverse Distance Weighted, tensioned splines, or Kriging > (I don't think we have an implementation of any, IDW is trivial to > implement though, at least a low performance version of it): > http://en.wikipedia.org/wiki/Inverse_distance_weighting I'm doing my own kernel estimation to convert my circles to a raster representation but I've been working in world coords (as that seemed easier) and was looking for a setDataValue(double x, double y, double value) method that would save me from having to worry about which way the Y axis ran and where the edges where for the raster etc. But it seems not to be there? Ian |