Hole filling by interpolation method?

I have already implemented the following code to slice a 3D face in matlab which is shown below:-
[x y z v]=flow(100);
slice(v,x1,y1,z1);
%%Output:- Gives a sliced view of the Three dimensional face
Now i want to interpolate the 3D data to fill holes in the face.But interp3,griddata3 is giving me errors.
Can anybody tell me how to use interp3 in matlab to interpolate the 3D data?
Thanks in advance.
With regards,
Ampi.

1 Commento

Can you show how you're calling interp3/griddata3? What is the _full_ content of the error message?

Accedi per commentare.

Risposte (1)

Andrew Newell
Andrew Newell il 5 Mar 2012

0 voti

If your data are irregularly spaced, you could try using triscatteredinterp.

Categorie

Scopri di più su Interpolation in Centro assistenza e File Exchange

Tag

Richiesto:

il 5 Mar 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by