<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi all,<br>
</p>
<p><br>
</p>
<p>I don't know how to write "<span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">itk::SpatialOrientation::ITK_COORDINATE_ORIENTATION_RIP</span>" in the codes below using Python supported
ITK. Could someone provide me an example? Thanks in advance.<br>
</p>
<p><br>
</p>
<p></p>
<div>itk::OrientImageFilter<ImageType,ImageType>::Pointer orienter =</div>
<div>itk::OrientImageFilter<ImageType,ImageType>::New();</div>
<div>orienter->UseImageDirectionOn();</div>
<div>orienter->SetDesiredCoordinateOrientation(itk::SpatialOrientation::ITK_COORDINATE_ORIENTATION_RIP);</div>
<div>orienter->SetInput(rval);</div>
<div>orienter->Update();<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Regards,<br>
</div>
<div><br>
</div>
<div>Zhuangming Shen<br>
</div>
<p><br>
</p>
</body>
</html>