Hello,<div><br></div><div>I was reading a post from February 2010 titled &quot;<span class="Apple-style-span" style="font-weight: bold; font-family: &#39;Times New Roman&#39;; font-size: medium; ">apply transformation to landmarkers &amp; command file&quot;</span><span class="Apple-style-span" style="font-family: &#39;Times New Roman&#39;; font-size: medium; "> and wanted to ask one more question about it.  The poster is asking how to apply the Kimap outside of DiffeoMap, mainly Matlab.  Can someone please explain to me the format of the Kimap and Hmap Transformations?  What do you guys mean when you say Vector (x, y, z) x X-di</span>mension x Y-dimension x Z-dimension?  When I loaded up my Kimap into matlab as a binary file, the first six values after the header were:</div>

<div><br></div><div><div>  1.0e+031 *</div><div><br></div><div>   7.800029524490799</div><div>   0.000000000022612</div><div>   0.000001498922010</div><div>   0.000000000000000</div><div>   0.000001839432419</div><div>   0.000000000000000</div>

</div><div><br></div><div>My image was 181 x 217 x 181.  Thank you very much,</div><div>Jeff Sadino</div><div><br></div><div>The original post is below:</div><div><br></div><div><div>1.<span class="Apple-tab-span" style="white-space:pre">        </span>One thing I need to note is that the transformation matrix I have is</div>

<div>a &quot;final&quot; combined matrix of AIR rigid, AIR affine, and LDDMM K map (so it</div><div>should be in the raw data format). Can I extract the &quot;vector&quot; information at</div><div>the specified location in this transformation matrix? And how?</div>

<div><br></div><div>Hello Yi,</div><div><br></div><div>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.</div>

</div><div><br></div>