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

Hongsongyang hongsongyang at 163.com
Thu May 23 04:53:10 EDT 2013


If your 3D coordinate points only in one plane, that might be useful.
If they are not in one plane, the transformation for you might be useless. 
Did I understand correctly?


  _____  

From: Andrick Rampun [mailto:andrik.traveller at gmail.com] 
Sent: Thursday, May 23, 2013 3:20 PM
To: Hongsongyang
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] Convert VTK 3D world coordinates to 3D
DICOMcoordinate


Yes....exactly...but how can i do that mathematically? without looking at
the VTK code. 
I would like an explanation in a mathematical way so i can write my own code
in MatLab. 


Thanks,
Eric



On Thu, May 23, 2013 at 11:00 AM, Hongsongyang <hongsongyang at 163.com> wrote:


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





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130523/f36e157d/attachment.htm>


More information about the vtkusers mailing list