<div dir="ltr">You can do it pretty easily:<div><br></div><div>Read DICOM using SeriesFileReader and then connect output to a FileWriter with the file name of your choice (in this case, it would be "output.nii.gz").<br><div class="gmail_extra"><br><div class="gmail_quote">On 9 June 2016 at 11:06, Mohammad Varasteh <span dir="ltr"><<a href="mailto:varasteh@to.infn.it" target="_blank">varasteh@to.infn.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Marco,<br>
<br>
Actually I do not know how to do it in the ITK but for such cases (if it is<br>
few cases) I normally use "VV: the 4D slicer". You can find it in the<br>
following link:<br>
<br>
<a href="http://www.creatis.insa-lyon.fr/rio/vv" rel="noreferrer" target="_blank">http://www.creatis.insa-lyon.fr/rio/vv</a><br>
<br>
I hope this will be of some use.<br>
<br>
Varasteh<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Read-4D-CT-cardiac-dicom-series-and-save-it-as-a-single-4D-nifti-file-tp7588962p7588963.html" rel="noreferrer" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Read-4D-CT-cardiac-dicom-series-and-save-it-as-a-single-4D-nifti-file-tp7588962p7588963.html</a><br>
Sent from the ITK Insight Users mailing list archive at Nabble.com.<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
</blockquote></div><br></div></div></div>