<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
You will have to use some 3rd party tool, like mricron's dcm2nii.
There is no VTK class that would write nifti image.<br>
If you are looking for an API to work with NIFTI images, I recommend
FSL (open-source) <a class="moz-txt-link-freetext" href="http://fsl.fmrib.ox.ac.uk/">http://fsl.fmrib.ox.ac.uk/</a> and their volume class
(libnewimage.a), but note that the license does not permit you to
use this in commercial product.<br>
HTH,<br>
Miro<br>
<br>
<br>
<div class="moz-cite-prefix">On 02/03/2014 12:49 PM, Sam Raby wrote:<br>
</div>
<blockquote
cite="mid:CAM5z2s2mDsdJnhSEzG51H4fmrcWXyQnX9G2iBJds_w0vP6sCRA@mail.gmail.com"
type="cite">
<div dir="ltr"><font color="#000000" face="Times New Roman"
size="3">
</font>
<p style="margin:0in 0in 0pt"><font color="#000000"
face="Calibri" size="3">Hello,</font></p>
<font color="#000000" face="Times New Roman" size="3">
</font>
<p style="margin:0in 0in 0pt"><font color="#000000"
face="Calibri" size="3"> </font></p>
<font color="#000000" face="Times New Roman" size="3">
</font>
<p style="margin:0in 0in 0pt"><font color="#000000"
face="Calibri" size="3">I am reading a series of DICOM image
in C++, and would like to save
it as a NIFITI file. Would you let me know<span>
</span>how I can do that?</font></p>
<font color="#000000" face="Times New Roman" size="3">
</font>
<p style="margin:0in 0in 0pt"><font color="#000000"
face="Calibri" size="3"> </font></p>
<font color="#000000" face="Times New Roman" size="3">
</font>
<div style="margin:0in 0in 0pt"><font color="#000000"
face="Calibri" size="3">Thanks </font></div>
<div style="margin:0in 0in 0pt"><font color="#000000"
face="Calibri" size="3">-S</font></div>
<font color="#000000" face="Times New Roman" size="3">
</font></div>
</blockquote>
<br>
</body>
</html>