John Du
John Du

Reputation: 219

How do you find interpolated points on a sphere / hemisphere from data in spherical coordinates

How do you interpolate data on the sphere / hemisphere in C++?

I have a bunch of theta, phi spherical coordinates with a density value associated. [Theta | Phi | Density] for about 100 points.

If I sample a new data point, not captured in the data but on the sphere, How can I find what the interpolated density value should be from the data points?

Splines, RBFs, something else?

Upvotes: 3

Views: 765

Answers (1)

r3mainer
r3mainer

Reputation: 24557

You could use something like Voronoi tesselation to create a set of (preferably convex) facets from the existing points, and then interpolate within these facets based on proximity to each vertex.

This answer might offer some useful pointers:

Algorithm to compute a Voronoi diagram on a sphere?

Upvotes: 4

Related Questions