How did you know that vertex coordinates can be transformed into voxel space (i,j,k) simply by dividing by the voxel size? I simply divided by the voxel size, but compared to the original image, the image seems to have moved a little in each of the x, y and z directions.
I would like to know if there is a file containing information on mesh transformation.
The mesh is relative to the voxel coordinates. We don’t have a file for the mesh transform, but its coordinates are all relative to the voxel grid of the input image.
The units for the surface are in mm, and we use voxel-centered coordinates.
How large of a shift are you seeing?
Anand is one of the developers of the software, as am I.