<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Ok, now it's clear.<br>
Thank you very much.<br>
Best regards.<br>
Paolo<br>
<br>
<br>
Il 25/01/2012 09:51, Dženan Zukić ha scritto:
<blockquote
cite="mid:CAPf2UMTmDKHh6b_1gZFKs2dRH3moDGBU3phyJdA3UzbQx1HYFQ@mail.gmail.com"
type="cite"><font><font face="verdana,sans-serif">ITK honers those
orientations. There is an example called ImageReadWrite, which
just converts between file formats. It is meant for 2D images,
so you need to change<br>
const unsigned int Dimension = 2; //put 3 here<br>
typedef short PixelType; //keep or put unsigned char or
whatever<br>
<br>
Compile the example in release mode, and you can use it a
command line conversion utility. It supports both MHA and
NII.GZ formats.<br>
</font></font><br>
<div class="gmail_quote">On Tue, Jan 24, 2012 at 19:39, Paolo
Zaffino <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:p.zaffino@yahoo.it">p.zaffino@yahoo.it</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear ITK experts,<br>
I need to convert an nii.gz file into a mha file (and
viceversa).<br>
I know that the nifti format set in a different way the voxel
coordinates (it includes the offset and the positive or
negative sign in order to set the<br>
positive direction).<br>
Does ITK consider these aspects? What function can I use to do
this?<br>
Thank you very much.<br>
Regards.<br>
Paolo<br>
_____________________________________<br>
Powered by <a moz-do-not-send="true"
href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a moz-do-not-send="true"
href="http://www.kitware.com/opensource/opensource.html"
target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information
visit:<br>
<a moz-do-not-send="true"
href="http://www.kitware.com/products/protraining.html"
target="_blank">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a moz-do-not-send="true"
href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a moz-do-not-send="true"
href="http://www.itk.org/mailman/listinfo/insight-users"
target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</blockquote>
</div>
<br>
</blockquote>
<br>
</body>
</html>