<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi,<div><br></div><div>I am new to ITK. I have a question about the 3D image orientation. ITK suppose a lot of common image format. I want to rearrange the 3D image to the consistent orientation like "RAI" or "LPS" for common image format, like nrrd, meta, analysis, gipl and so on. I found there is a itkOrientImageFilter build in ITK. From the doxygen help page, it has two methods, one is deprecated and using SetGivenCoordinateOrientation, the other one is using the direction of cosines of image and don't need to set the given original orientation. The second method doesn't work for gipl image. I have already tested that if I know the given orientation of original image, and by using <span style="font-size: 10pt; ">SetGivenCoordinateOrientation and </span><span style="font-size: 10pt; ">SetDesiredCoordinateOrientation,</span><span style="font-size: 10pt; "> I could transform it to desired orientation. But my question is that, how could I get the original orientation information of 3D images by using ITK currently existed IO? Or is there other good way to achieve the goal that keep the </span><span style="font-size: 10pt; ">consistent orientation for all 3D images?</span></div><div><span style="font-size: 10pt; "><br></span></div><div><span style="font-size: 10pt; ">Any help is appreciated and best wishes,</span></div><div><span style="font-size: 10pt; ">Yang</span></div>                                            </div></body>
</html>