.vtk & .ply files

Oct 9, 2015 at 7:34 PM

I'm able to read both dose.vtk and structure.ply file.

My question is, they have different coordinate system. Does anyone have a file that will relate the two?
Oct 9, 2015 at 7:46 PM
To clarify, say the dose.vtk file gives:

DIMENSIONS 183 116 201
ORIGIN -227.1151951 -152.1811594 -209.25
SPACING 2.5 2.5 2.5

Assuming origin is at bottom left corner (?) If I create a grid using meshgrid(-227.1151951+2.5*183,.....)

Does this mean I can input the structure coordinate returned from the .ply file and look it up in the grid to find the dose value?