<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16484"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=703115008-23052013><FONT color=#0000ff
size=2 face=宋体>If your 3D coordinate points only in one plane, that might be
useful.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=703115008-23052013><FONT color=#0000ff
size=2 face=宋体>If they are not in one plane, the transformation for you might be
useless. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=703115008-23052013><FONT color=#0000ff
size=2 face=宋体>Did I understand correctly?</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV dir=ltr lang=zh-cn class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> Andrick Rampun
[mailto:andrik.traveller@gmail.com] <BR><B>Sent:</B> Thursday, May 23, 2013
3:20 PM<BR><B>To:</B> Hongsongyang<BR><B>Cc:</B>
vtkusers@vtk.org<BR><B>Subject:</B> Re: [vtkusers] Convert VTK 3D world
coordinates to 3D DICOMcoordinate<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr>Yes....exactly...but how can i do that mathematically? without
looking at the VTK code.
<DIV>I would like an explanation in a mathematical way so i can write my own
code in MatLab. </DIV>
<DIV><FONT color=#0000ff size=2 face=宋体></FONT><BR></DIV>
<DIV>Thanks,</DIV>
<DIV>Eric</DIV></DIV>
<DIV class=gmail_extra><FONT color=#0000ff size=2 face=宋体></FONT><BR><BR>
<DIV class=gmail_quote>On Thu, May 23, 2013 at 11:00 AM, Hongsongyang <SPAN
dir=ltr><<A href="mailto:hongsongyang@163.com"
target=_blank>hongsongyang@163.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>Could I understand as that you want to convert world
coordinates into screen<BR>coordinates?<BR>
<DIV class="im HOEnZb"><FONT color=#0000ff size=2 face=宋体></FONT><BR>>
-----Original Message-----<BR>> From: <A
href="mailto:vtkusers-bounces@vtk.org">vtkusers-bounces@vtk.org</A><BR>>
[mailto:<A
href="mailto:vtkusers-bounces@vtk.org">vtkusers-bounces@vtk.org</A>] On
Behalf Of ericphd<BR></DIV>
<DIV class="im HOEnZb">> Sent: Thursday, May 23, 2013 12:51 AM<BR>>
To: <A href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</A><BR>> Subject:
Re: [vtkusers] Convert VTK 3D world coordinates to<BR>> 3D
DICOMcoordinate<BR>><BR></DIV>
<DIV class=HOEnZb>
<DIV class=h5>> Thanks for your reply hongsongyang,<BR>><BR>>
Okay..maybe I should explain more here.<BR>> The coordinates/annotations
generated by the tool (ITK/VTK) I<BR>> presume in World
coordinate?<BR>><BR>> If they are in world coordinate then what I want
to do is to<BR>> write a MatLab code to convert all those world
coordinates<BR>> into 2D with top left corner starts from (0,0).
Basically I<BR>> want to convert those world coordinate into 2D image
plane as<BR>> we viewing image on our computer screen.<BR>><BR>> *
Maybe ignore the 3D dicom coordinate here. I just want to<BR>> convert
from world coordinate into 2D image plane coordinate.<BR>> For example
something like this<BR>><BR>> In world coordinate generated from VTK
(-2.23,6.95,17.5) and into 2D<BR>> (209,264)<BR>><BR>> But don't
worry about the matlab code because i can write it.<BR>> I just want to
know the mathematical formula to do the conversion.<BR>><BR>>
Thanks,<BR>> Eric<BR>><BR>><BR>><BR>> --<BR>> View this
message in context:<BR>> <A
href="http://vtk.1045678.n5.nabble.com/Convert-VTK-3D-world-coordina"
target=_blank>http://vtk.1045678.n5.nabble.com/Convert-VTK-3D-world-coordina</A><BR>>
tes-to-3D-DICOM-coordinate-tp5720854p5720886.html<BR>> Sent from the VTK
- Users mailing list archive at Nabble.com.<BR>>
_______________________________________________<BR>> Powered by <A
href="http://www.kitware.com"
target=_blank>www.kitware.com</A><BR>><BR>> Visit other Kitware
open-source projects at<BR>> <A
href="http://www.kitware.com/opensource/opensource.html"
target=_blank>http://www.kitware.com/opensource/opensource.html</A><BR>><BR>>
Please keep messages on-topic and check the VTK FAQ at:<BR>> <A
href="http://www.vtk.org/Wiki/VTK_FAQ"
target=_blank>http://www.vtk.org/Wiki/VTK_FAQ</A><BR>><BR>> Follow
this link to subscribe/unsubscribe:<BR>> <A
href="http://www.vtk.org/mailman/listinfo/vtkusers"
target=_blank>http://www.vtk.org/mailman/listinfo/vtkusers</A><BR><BR><BR></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE></BODY></HTML>