Hole filling by interpolation method?

2 次查看(过去 30 天)
Ampi
Ampi 2012-3-5
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 个评论
Sean de Wolski
Sean de Wolski 2012-3-5
Can you show how you're calling interp3/griddata3? What is the _full_ content of the error message?

请先登录,再进行评论。

回答(1 个)

Andrew Newell
Andrew Newell 2012-3-5
If your data are irregularly spaced, you could try using triscatteredinterp.

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by