<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hello, Bill: </DIV>
<DIV> </DIV>
<DIV> 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> </DIV>
<DIV> 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. If so, It will be necessary to retrieve the voume in dicom format. </DIV>
<DIV> </DIV>
<DIV> 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> </DIV>
<DIV> More explanation will be appreciated. Thanks ! Since I am using python instead of C++ to programm, I do not know whether print command will work in the same way. </DIV>
<DIV> </DIV>
<DIV>Calvin </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><BR><BR>--- On <B>Thu, 10/1/09, Bill Lorensen <I><bill.lorensen@gmail.com></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 <bill.lorensen@gmail.com><BR>Subject: Re: [Insight-users] conversion of scan transofmration matrix between different modality<BR>To: "kevin cavin" <beibeiwen2003@yahoo.com><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 ->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><<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>></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> </DIV>
<DIV> Thanks for your reply. What I hve found with the orginal volume is the orientation for CT and MRI scan is different. If I directly register these two volume, I will get wrong registration result. I assume the transformtion of orientation for one scan is necessary. but how can I do that with available ITK ? </DIV>
<DIV> I am using ITK version 3.12. </DIV>
<DIV> </DIV>
<DIV>Kind regards </DIV>
<DIV> </DIV>
<DIV>Calvin </DIV>
<DIV><BR><BR>--- On <B>Wed, 9/30/09, Bill Lorensen <I><<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>></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 <<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>><BR>Subject: Re: [Insight-users] conversion of scan transofmration matrix between different modality<BR>To: "kevin cavin" <<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>><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><<A href="http://us.mc1120.mail.yahoo.com/mc/compose?to=beibeiwen2003@yahoo.com" target=_blank rel=nofollow>beibeiwen2003@yahoo.com</A>></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> </DIV>
<DIV> When I use ITK to register two dicom volume from different modalities. 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. Thanks in advance ! </DIV>
<DIV> </DIV>
<DIV>Kind regards </DIV>
<DIV> </DIV>
<DIV>Calvin </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><BR> </DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">
<DIV> </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>