[Insight-users] 答复: [Insight-users] How to transpose 3 Dimage?

zhao yong qiang zhao-yq at cs.sjtu.edu.cn
Mon, 8 Mar 2004 13:58:03 +0800


Thank you for your help!!!
This filter is so useful.

-----邮件原件-----
发件人: Vincent A. Magnotta [mailto:vincent-magnotta at uiowa.edu] 
发送时间: 2004年3月4日 22:14
收件人: zhao yong qiang
抄送: insight-users at itk.org
主题: Re: [Insight-users] How to transpose 3Dimage?

Zhoa,

You want to use the itkPermuteAxesImageFilter. The filter takes in an
array that will swap axes using the SetOrder method. Look at this page
for a full description:

http://www.itk.org/Doxygen/html/classitk_1_1PermuteAxesImageFilter.html

Vince


On Thu, 2004-03-04 at 07:04, zhao yong qiang wrote:
> Hi all,
> 
>     I have a 3d series, such as 128*128*13, I want to transpose it to
> 128*13*128. Can someone give me a hand?
> 
>  
> 
> Regards, 
>                           Zhao Yongqiang
>                           Dept. of Computer Science & Engineering
>                          Shanghai JiaoTong University
>                          Shanghai, China
>                           zhao-yq at cs.sjtu.edu.cn
> 
>  
-- 
Assistant Professor
Department of Radiology
0437 JCP
E-mail: vincent-magnotta at uiowa.edu
Phone: 319-356-8255
Fax: 319-353-6275
Website: http://www.radiology.uiowa.edu