<br>Hi Rahil,<br><br><br>Please read the documentation of the class at:<br><a href="http://public.kitware.com/Insight/Doxygen/html/classitk_1_1FlipImageFilter.html">http://public.kitware.com/Insight/Doxygen/html/classitk_1_1FlipImageFilter.html</a><br>
<br> "The image is flipped across axes for which array[i] is true."<br><br><a href="http://public.kitware.com/Insight/Doxygen/html/classitk_1_1PermuteAxesImageFilter.html">http://public.kitware.com/Insight/Doxygen/html/classitk_1_1PermuteAxesImageFilter.html</a><br>
<br> "The elements of the array must be a rearrangement <br> of the numbers from 0
to ImageDimension - 1.
<p> "The i-th axis of the output image corresponds with <br> the order[i]-th
axis of the input image."</p><br>If you pass [0 1 2] as parameter, then the output image will be identical<br>to the input image. If you pass [1 0 2] then the output image will use as<br>X axis, what used to be the Y axis of the input image, and will use as <br>
Y axis, what used to be the X axis of the input image.<br><br><br>Note that in general, you should NOT use the flip / permute<br>filters. Particularly not if you are using medical data.<br><br><br> Regards,<br><br><br>
Luis<br><br><br>-------------------------------------------------------------------------<br><div class="gmail_quote">On Mon, Jun 14, 2010 at 8:12 AM, raheleh m <span dir="ltr"><<a href="mailto:meshgolok@yahoo.com">meshgolok@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div><i>Greetings!<br>
</i></div>
<div>I am using ITK Registration. I would be really grateful if you could please let me know the meaning of permute order and flip axes arrays. I mean when permute order is [0 1 2] what is the order of axes? what about [2 0 1]?</div>
<div>Does the first array mean (x,y,z) and the second (z,x,y)? I have the same question about flip axes.</div>
<div> </div>
<div>Thanks in advance</div>
<div>Rahil Meshgolok</div></div><br>
</div></blockquote></div><br>