Fast interpolation of regularly sampled 3D data with different intervals in x,y, and z

后端 未结 3 1840
既然无缘
既然无缘 2020-12-14 18:14

I have some volumetric imaging data consisting of values sampled on a regular grid in x,y,z, but with a non-cubic voxel shape (the space between adjacent points in z is grea

3条回答
  •  有刺的猬
    2020-12-14 18:28

    I created the regulargrid package (https://pypi.python.org/pypi/regulargrid/, source at https://github.com/JohannesBuchner/regulargrid)

    It provides support for n-dimensional Cartesian grids (as needed here) via the very fast scipy.ndimage.map_coordinates for arbitrary coordinate scales.

    Also see this answer: Fast interpolation of grid data

提交回复
热议问题