Sparse data in surface plots

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Thomas Klingler
Advanced
Posts: 103
Joined: Tue Mar 02, 2004 5:00 am
Location: Bad Wurzach
Contact:

Sparse data in surface plots

Post by Thomas Klingler » Tue Feb 07, 2006 5:36 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Feb 08, 2006 10:49 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Thomas Klingler
Advanced
Posts: 103
Joined: Tue Mar 02, 2004 5:00 am
Location: Bad Wurzach
Contact:

Post by Thomas Klingler » Wed Feb 08, 2006 8:41 pm

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

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Feb 13, 2006 3:13 pm

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.

Thomas Klingler
Advanced
Posts: 103
Joined: Tue Mar 02, 2004 5:00 am
Location: Bad Wurzach
Contact:

Post by Thomas Klingler » Wed Feb 15, 2006 4:11 pm

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

leaf
Newbie
Newbie
Posts: 37
Joined: Fri Nov 15, 2002 12:00 am

Post by leaf » Sat Mar 04, 2006 2:50 pm

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.

Post Reply