I talked with Xin and confirmed that the LDDMM-AIR combined transformation matrix has the same format as K/H maps. They are raw files of Vector x X x Y x Z. <br><br><div class="gmail_quote">On Mon, Feb 1, 2010 at 10:22 AM, Xin Li <span dir="ltr">&lt;<a href="mailto:xli16@jhmi.edu">xli16@jhmi.edu</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;">Hello Yi,<br>
<br>
As Susumu said, transformation matrices contain vectors at each coordinate, indicating where is the new location. The structure is Vector (x, y, z) x X-dimension x Y-dimension x Z-dimension. You may write matlab code to extract the vector information.<br>

<br>
<br>
Xin<br>
<div class="im"><br>
<br>
<br>
<br>
<br>
----- Original Message -----<br>
From: susumu mori &lt;<a href="mailto:susumu@mri.jhu.edu">susumu@mri.jhu.edu</a>&gt;<br>
Date: Saturday, January 30, 2010 8:29 am<br>
Subject: Re: [Mristudio-users] apply transformation to landmarkers &amp; command file<br>
</div><div class="im">To: Yi Jiang &lt;<a href="mailto:yj3@duke.edu">yj3@duke.edu</a>&gt;, &quot;DTI Studio, ROI Editor, Landmarker Questions/Support&quot; &lt;<a href="mailto:mristudio-users@mristudio.org">mristudio-users@mristudio.org</a>&gt;, Xin Li &lt;<a href="mailto:xli16@jhmi.edu">xli16@jhmi.edu</a>&gt;, Jiangyang Zhang &lt;<a href="mailto:jzhang3@jhmi.edu">jzhang3@jhmi.edu</a>&gt;<br>

<br>
<br>
&gt; Hi Yi,<br>
&gt;<br>
&gt;  On Fri, Jan 29, 2010 at 5:25 PM, Yi Jiang &lt;<a href="mailto:yj3@duke.edu">yj3@duke.edu</a>&gt; wrote:<br>
&gt;<br>
&gt;  &gt;  Hello, dear all,<br>
&gt;  &gt;<br>
&gt;  &gt;<br>
&gt;  &gt;<br>
&gt;  &gt; I have two questions and am wondering if someone can help.<br>
&gt;  &gt;<br>
&gt;  &gt;<br>
&gt;  &gt;<br>
</div>&gt;  &gt;    1. I have already had a transformation matrix to map the subject<br>
<div class="im">&gt; image<br>
&gt;  &gt;    onto the template image, which was generated by combining AIR<br>
&gt; rigid, AIR<br>
&gt;  &gt;    affine, and LDDMM matrix. I want to define some landmarkers on<br>
&gt; the subject<br>
&gt;  &gt;    image, and apply the transformation matrix to the landmarkers<br>
&gt; (to see their<br>
&gt;  &gt;    corresponding location on the template image). How can I do that?<br>
&gt;  &gt;<br>
&gt;  &gt;<br>
&gt;  I think this is exactly what the K and H maps are. I need<br>
&gt; confirmation from<br>
&gt;  Xin, but in my understanding, these transformation matrices contain vectors<br>
&gt;  at each coordinate, indicating where is the new location. If I&#39;m not<br>
&gt;  mistaken, it is Vector (x, y, z) x X-dimension x Y-dimension x Z-dimension.<br>
&gt;  There must be a way to extarct the &quot;Vector&quot; information at the specified<br>
&gt;  coordinate.<br>
&gt;<br>
&gt;  &gt;<br>
&gt;  &gt;<br>
</div>&gt;  &gt;    1. I would like to use the “load command file” function. I will<br>
<div><div></div><div class="h5">&gt; do AIR<br>
&gt;  &gt;    linear rigid transformation, AIR linear affine transformation,<br>
&gt; image format<br>
&gt;  &gt;    change to byte, automatic intensity correction by histogram, and<br>
&gt; 2-channel<br>
&gt;  &gt;    LDDMM. Is it possible to put all these into one command file? If<br>
&gt; yes, can<br>
&gt;  &gt;    anyone give me an example file?<br>
&gt;  &gt;<br>
&gt;  &gt; I believe the command file is only for the functions within the<br>
&gt; same box,<br>
&gt;  including byte-integer-float conversion, axial-sagittal-coronal conversion,<br>
&gt;  resampling, etc. They don&#39;t include transformation functions. We are<br>
&gt; working<br>
&gt;  on automation, which will take several months. Meanwhile, I believe<br>
&gt; it is<br>
&gt;  good idea to use the current way, which forces you to check the<br>
&gt; result after<br>
&gt;  each step. Transformation sometimes does silly things. Some images<br>
&gt; may have<br>
&gt;  quality problems. You may want compare different methods (e.g. Mutual<br>
&gt; Info<br>
&gt;  linear transformation vs AIR, intensity correction methods, contrast<br>
&gt; of<br>
&gt;  choice). I think it&#39;s very important to get a feel about your data<br>
&gt; and each<br>
&gt;  transformation step. Also, depending on pathology, the transformation<br>
&gt;  strategy may change. Some disease groups have severe intensity<br>
&gt; changes (e.g.<br>
&gt;  stroke), some have severely enlarged ventricles. You may find the same<br>
&gt;  methods may work for one but not the other. Automation is still a difficult<br>
&gt;  matter for transformation-based analysis.<br>
&gt;<br>
&gt;<br>
&gt;  &gt;<br>
&gt;  &gt;<br>
&gt;  &gt; Thank you very much!<br>
&gt;  &gt;<br>
&gt;  &gt;<br>
&gt;  &gt;<br>
&gt;  &gt; Have a nice weekend!<br>
&gt;  &gt;<br>
&gt;  &gt;<br>
&gt;  &gt;<br>
&gt;  &gt; Best<br>
&gt;  &gt;<br>
&gt;  &gt; Yi<br>
&gt;  &gt;<br>
&gt;  &gt;<br>
&gt;  &gt;<br>
&gt;  &gt;<br>
&gt;  &gt;<br>
&gt;  &gt; _______________________________________________<br>
&gt;  &gt; Mristudio-users mailing list<br>
&gt;  &gt; <a href="mailto:Mristudio-users@mristudio.org">Mristudio-users@mristudio.org</a><br>
&gt;  &gt;<br>
</div></div><div><div></div><div class="h5">&gt;  &gt; Unsubscribe, send a blank email to:<br>
&gt;  &gt; <a href="mailto:Mristudio-users-unsubscribe@mristudio.org">Mristudio-users-unsubscribe@mristudio.org</a><br>
&gt;  &gt;<br>
&gt;  &gt;<br>
<br>
</div></div></blockquote></div><br>