<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hello, Bill: </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; At this moment I retrieve the dicom voume from the MR and CT machines and the images are in AVS field format due to internal reasons. Then I use ITK to register the MR and CT volume. I display both of voulme and find the orientation is different. I manually adjust the orientation and get good registration. </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If I understand what you said correctly, if both volume are read in dicom format, the registration should take care the difference of orientation automatically.&nbsp;If so, It will be necessary to retrieve the voume in dicom format. </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; But I still do not understand how ITK can deal with issue automatically. Does it mean only the volume in DICOM will work in this way. If the volumes are saved in other format, such as VTK, AVS etc, the application should deal with the orientation transformation. </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; More explanation will be appreciated. Thanks !&nbsp;Since&nbsp; I am using python instead of C++ to&nbsp;programm, I do not know whether &nbsp;print command will work in the same way. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Calvin </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </DIV>
<DIV>&nbsp; </DIV>
<DIV><BR><BR>--- On <B>Thu, 10/1/09, Bill Lorensen <I>&lt;bill.lorensen@gmail.com&gt;</I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>From: Bill Lorensen &lt;bill.lorensen@gmail.com&gt;<BR>Subject: Re: [Insight-users] conversion of scan transofmration matrix between different modality<BR>To: "kevin cavin" &lt;beibeiwen2003@yahoo.com&gt;<BR>Cc: insight-users@itk.org<BR>Date: Thursday, October 1, 2009, 9:11 PM<BR><BR>
<DIV id=yiv1852098129>Calvin,<BR><BR>As I said, the orientation difference should be taken care of during the registration process. Is the data being read as DICOM? If not, how are you reading it?<BR><BR>Please -&gt;Print(std::cout) the fixed and moving images after you read them and post the results of the Print.<BR><BR>Bill<BR><BR>
<DIV class=gmail_quote>On Thu, Oct 1, 2009 at 8:31 AM, kevin cavin <SPAN dir=ltr>&lt;<A href="http://us.mc1120.mail.yahoo.com/mc/compose?to=beibeiwen2003@yahoo.com" target=_blank rel=nofollow ymailto="mailto:beibeiwen2003@yahoo.com">beibeiwen2003@yahoo.com</A>&gt;</SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD style="FONT-FAMILY: inherit; font-size-adjust: inherit; font-stretch: inherit" vAlign=top>
<DIV>Hello, Bill : </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp; Thanks for&nbsp; your reply.&nbsp; What I hve found with the orginal volume is the orientation for CT and MRI scan is different. If I directly register these&nbsp; two volume, I will get wrong registration result.&nbsp; I assume the transformtion of orientation for one scan is necessary. but how can I do that with available ITK ? </DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp; I am using ITK version 3.12. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Kind regards </DIV>
<DIV>&nbsp;</DIV>
<DIV>Calvin </DIV>
<DIV><BR><BR>--- On <B>Wed, 9/30/09, Bill Lorensen <I>&lt;<A href="http://us.mc1120.mail.yahoo.com/mc/compose?to=bill.lorensen@gmail.com" target=_blank rel=nofollow ymailto="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</A>&gt;</I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>From: Bill Lorensen &lt;<A href="http://us.mc1120.mail.yahoo.com/mc/compose?to=bill.lorensen@gmail.com" target=_blank rel=nofollow ymailto="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</A>&gt;<BR>Subject: Re: [Insight-users] conversion of scan transofmration matrix between different modality<BR>To: "kevin cavin" &lt;<A href="http://us.mc1120.mail.yahoo.com/mc/compose?to=beibeiwen2003@yahoo.com" target=_blank rel=nofollow ymailto="mailto:beibeiwen2003@yahoo.com">beibeiwen2003@yahoo.com</A>&gt;<BR>Cc: <A href="http://us.mc1120.mail.yahoo.com/mc/compose?to=insight-users@itk.org" target=_blank rel=nofollow ymailto="mailto:insight-users@itk.org">insight-users@itk.org</A><BR>Date: Wednesday, September 30, 2009, 11:36 PM
<DIV>
<DIV></DIV>
<DIV class=h5><BR><BR>
<DIV>ITK should handle this. ITK uses the information stored in DICOM to compute an origin, spacing and direction. You should not have to convert the volume, assuming the patient scans are landmarked (in the scanner) at a similar location.<BR><BR>What version of ITK are you using? <BR><BR>
<DIV class=gmail_quote>On Wed, Sep 30, 2009 at 11:04 AM, kevin cavin <SPAN dir=ltr>&lt;<A href="http://us.mc1120.mail.yahoo.com/mc/compose?to=beibeiwen2003@yahoo.com" target=_blank rel=nofollow>beibeiwen2003@yahoo.com</A>&gt;</SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD style="FONT-FAMILY: inherit; font-size-adjust: inherit; font-stretch: inherit" vAlign=top>
<DIV><BR>Hi, Folks: </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; When I use ITK to register two dicom volume&nbsp; from different modalities.&nbsp; I have found that MR and CT scan often have different scan transformation matrixes. For example for CT scan the z direction is the y direction of MR scan. This will pose problem to register the two volumes with ITK. I am wondering whether in ITK the probelm can be solved soneway by using some function embedded. Do I need to write individual program to manula convert one of the volume.&nbsp; Thanks in advance ! </DIV>
<DIV>&nbsp;</DIV>
<DIV>Kind regards </DIV>
<DIV>&nbsp;</DIV>
<DIV>Calvin </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>&nbsp;</DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">
<DIV>&nbsp;</DIV></BLOCKQUOTE></TD></TR></TBODY></TABLE><BR><BR>_____________________________________<BR>Powered by <A href="http://www.kitware.com/" target=_blank rel=nofollow>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 rel=nofollow>http://www.kitware.com/opensource/opensource.html</A><BR><BR>Please keep messages on-topic and check the ITK FAQ at: <A href="http://www.itk.org/Wiki/ITK_FAQ" target=_blank rel=nofollow>http://www.itk.org/Wiki/ITK_FAQ</A><BR><BR>Follow this link to subscribe/unsubscribe:<BR><A href="http://www.itk.org/mailman/listinfo/insight-users" target=_blank rel=nofollow>http://www.itk.org/mailman/listinfo/insight-users</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV></BLOCKQUOTE></TD></TR></TBODY></TABLE><BR></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE></td></tr></table><br>