[vtkusers] Convert VTK 3D world coordinates to 3D DICOM coordinate

ericphd andrik.traveller at gmail.com
Wed May 22 05:28:49 EDT 2013


Hello All,

* Sorry to re post this but i should have sent it VTK user instead of VTK
developer.

First of all, I don't use VTK/ITK tool at all. However, I have a set of 3D
annotations(coordinates) which are generated by ITK/VTK. The annotations are
saved in .txt file and each of the annotations are based on the prostate MRI
DICOM images. Previous developers developed the tool and radiologists used
it to make the annotations and the tool saved the annotations in .txt file.

So now I have the DICOM images and 3D annotations (coordinate points) for
each of the images. What I want to do is to convert those 3D annotations
into 3D DICOM coordinate. If i can get this solved then I will write my
MatLab script to convert the 3D DICOM coordinates into an image plane 2D
coordinate. I have the formula to convert from 3D DICOM coordinates into 2D
coordinates but I don't know how to convert from 3D world coordinate
(generated by VTK) into 3D DICOM coordinates.

For instance;
Given the following info:
0020,0032  Image Position (Patient): -88.985817\-139.832184\-17.698400

0020,0037  Image Orientation (Patient):
0.998675\0.045472\-0.024109\-0.045473\0.998965\0.000763

0028,0030  Pixel Spacing: 0.468749\0.468756

And the VTK world coordinates generated are (x, y, z)
-2.23475 6.95207 17.536
0.190571 5.62917 17.536

How can I convert/transform these coordinates into 3D DICOM coordinates?


Thanks a lot guys,
Eric 



--
View this message in context: http://vtk.1045678.n5.nabble.com/Convert-VTK-3D-world-coordinates-to-3D-DICOM-coordinate-tp5720854.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list