Dear Maite,<br>if you are dealing with MetaImage files you should set the *.mhd or header file as the input argument for the reader.<br>If you haven&#39;t done so yet, you may want to have a look at the examples in the ITK wiki:<br>
<a href="http://www.itk.org/Wiki/ITK/Examples#Input.2FOutput_.28IO.29">http://www.itk.org/Wiki/ITK/Examples#Input.2FOutput_.28IO.29</a><br clear="all"><br>HTH.<br><br>
Kind regards,<br>JON HAITZ<br><br><div class="gmail_quote">On 13 March 2012 10:57, MRUIZ <span dir="ltr">&lt;<a href="mailto:maiteruizyaniz@gmail.com">maiteruizyaniz@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hi,<br>
<br>
I have a special image format that contains a normal raw image but with 18<br>
lines of header. My goal is to change this image type to DICOM. I tried with<br>
ImageReadCastWrite.cxx but of course, it does not read my file as it is not<br>
common. What should I change in order to arrive to read my file??<br>
<br>
Thnx in advance!<br>
<br>
M.<br>
--<br>
View this message in context: <a href="http://old.nabble.com/Read-special-image-files-tp33493194p33493194.html" target="_blank">http://old.nabble.com/Read-special-image-files-tp33493194p33493194.html</a><br>
Sent from the ITK - Users mailing list archive at Nabble.com.<br>
<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" 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" 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" 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" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</blockquote></div><br>