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="mailto:beibeiwen2003@yahoo.com">beibeiwen2003@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: 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>&lt;<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>&gt;</i></b> wrote:<br></div>
<blockquote style="border-left: 2px solid rgb(16, 16, 255); padding-left: 5px; margin-left: 5px;"><br>From: Bill Lorensen &lt;<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>&gt;<br>Subject: Re: [Insight-users] conversion of scan transofmration matrix between different modality<br>
To: &quot;kevin cavin&quot; &lt;<a href="mailto:beibeiwen2003@yahoo.com" target="_blank">beibeiwen2003@yahoo.com</a>&gt;<br>Cc: <a href="mailto:insight-users@itk.org" target="_blank">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" rel="nofollow" target="_blank">beibeiwen2003@yahoo.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="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="border-left: 2px solid rgb(16, 16, 255); padding-left: 5px; margin-left: 5px;">
<div> </div></blockquote></td></tr></tbody></table><br><br>_____________________________________<br>Powered by <a href="http://www.kitware.com/" rel="nofollow" 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" rel="nofollow" target="_blank">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" rel="nofollow" target="_blank">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" rel="nofollow" target="_blank">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>