Matlabs scatteredInterpolant for julia?

71 views
Skip to first unread message

Markus F.

unread,
Oct 26, 2016, 1:43:43 PM10/26/16
to julia-users
Hi,
i use matlab at the moment, but want to chance to julia (opensource...).

In one of my programms i have to grid and interpolate scattered data (x,y-coordinates and internisity data of an image) to a regular grid.
In matlab my code looks like:

[x,y]=meshgrid(xmin:stepy:xmax,ymin:stepy:ymax);
 F=scatteredInterpolant(pc.xdata, pc.ydata, pc.idata,'natural');
interp_image=F(x,y);

Is there any nice and easy way to do that in julia?

thanks and best regards,
Markus

Steven G. Johnson

unread,
Oct 26, 2016, 9:12:24 PM10/26/16
to julia-users
The https://github.com/kbarbary/Dierckx.jl package can interpolate from unstructured sets of points.
Reply all
Reply to author
Forward
0 new messages