[Insight-users] How to transpose 3Dimage?

Vincent A. Magnotta vincent-magnotta at uiowa.edu
Thu, 04 Mar 2004 08:14:18 -0600


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