Hello all,

I am using marching cubes lewinar algorithm for surfaces reconstruction in 3d . I have data in the format of x,y,z coordinates. How to convert it into 3d volumetric data.

suppose i have

x=np.array([1,2,3])

y=np.array([4,5,6])

z=np.array([7,8,9])

Note: I have taken 3 points just for example purpose

marchine cubes algorithm requires data in 3d numpy array. plz help