I’m doing medical image processing and would like to apply neighborhood-based operations to a 3D image. I’ve got a 3D volume that I would like to access using linear indices (that is computed in a higher level language). In my algorithm, the voxel values are frequently used and so I would to access them using textures. At first, I allocated the image using a one-dimensional texture but was forced to abandon this approach due to tex1D size limits. I can’t really use tex3D because it doesn’t handle linear indices. I imagine I’m not the only one facing this problem. Could anyone advice me on possible solutions? What have you worked out to overcome this?