Page 1 of 1

Sparse data in surface plots

Posted: Tue Feb 07, 2006 5:36 pm
by 8443014
I am using surface plots and sometimes have missing grid data points.
I'd like to interpolate or curve fit to fill in the missing points in the surface.
Any ideas on methods for doing this ?

Thanks,
Later,
Paul

Posted: Wed Feb 08, 2006 10:49 am
by narcis
Hi Paul,

You can find an example for that at the TeeChart features demo, available at its program group. The example can be found at What's New?\New in Series\Surface Speed\Surface Smoothing.

Posted: Wed Feb 08, 2006 8:41 pm
by 8443014
Thanks for the reply.

I don't really need to add more points, but want to fill in null values in the surface based on surrounding surface points. Now (in V7.01) undefined surface points show up as clear 'holes'.

Any support for that ?

Thanks,
Later,
Paul

Posted: Mon Feb 13, 2006 3:13 pm
by Pep
Hi Paul,

one thing you can do is to iterate through all the data added checking which are the missing points and then add them as extra data to the Series.

Posted: Wed Feb 15, 2006 4:11 pm
by 8443014
Yes, I'd love to add in the missing data, and that is what my basic question is about ... how to calculate / interpolate the missing data based on the known surface points around the missing data such that the surface appears smooth.

The surface is in fact the reconstruction of the retina of the human eye from stereo fundus images. Parts of the image surface can't be calulated due to realities of image quality and artifacts.

I know there are techniques called 'cubic b-spline' interpolation that can calculate missing 3d data from known control points.

So my questions is, does anyone have an implimentation of that or any other technique that works within the context of Tchart surface plots ?

Thanks in advance for any info.

Later,
Paul

Posted: Sat Mar 04, 2006 2:50 pm
by 8572663
There are many of these routines on the internet. I would suggest starting on the Numerical Recipes website. They have a few different interpolation routines.