热风枪变形
亚克力
rbfi_x = Rbf(corr_array[:,0], corr_array[:,1], init_array[:,0], function = 'cubic')
rbfi_y = Rbf(corr_array[:,0], corr_array[:,1], init_array[:,1], function = 'cubic')
x_index = rbfi_x(x_mesh, y_mesh).astype(int)
y_index = rbfi_y(x_mesh, y_mesh).astype(int)
x_index = np.clip(x_index, 0, n-1)
y_index = np.clip(y_index, 0, m-1)
return y_index, x_index
标签:function,index,rbfi,mini,mesh,corr,DTact,array
From: https://www.cnblogs.com/ieqefcr/p/17418519.html