[vtkusers] Convert VTK 3D world coordinates to 3D DICOMcoordinate

Hongsongyang hongsongyang at 163.com
Wed May 22 23:00:29 EDT 2013


Could I understand as that you want to convert world coordinates into screen
coordinates? 

> -----Original Message-----
> From: vtkusers-bounces at vtk.org 
> [mailto:vtkusers-bounces at vtk.org] On Behalf Of ericphd
> Sent: Thursday, May 23, 2013 12:51 AM
> To: vtkusers at vtk.org
> Subject: Re: [vtkusers] Convert VTK 3D world coordinates to 
> 3D DICOMcoordinate
> 
> Thanks for your reply hongsongyang,
> 
> Okay..maybe I should explain more here.
> The coordinates/annotations generated by the tool (ITK/VTK) I 
> presume in World coordinate?
> 
> If they are in world coordinate then what I want to do is to 
> write a MatLab code to convert all those world coordinates 
> into 2D with top left corner starts from (0,0). Basically I 
> want to convert those world coordinate into 2D image plane as 
> we viewing image on our computer screen.
> 
> * Maybe ignore the 3D dicom coordinate here. I just want to 
> convert from world coordinate into 2D image plane coordinate. 
> For example something like this
> 
> In world coordinate generated from VTK (-2.23,6.95,17.5) and into 2D
> (209,264) 
> 
> But don't worry about the matlab code because i can write it. 
> I just want to know the mathematical formula to do the conversion.
> 
> Thanks,
> Eric
> 
> 
> 
> --
> View this message in context: 
> http://vtk.1045678.n5.nabble.com/Convert-VTK-3D-world-coordina
> tes-to-3D-DICOM-coordinate-tp5720854p5720886.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the VTK FAQ at: 
> http://www.vtk.org/Wiki/VTK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers





More information about the vtkusers mailing list