<br><br>Hi Stephen,<br><br>Since this mailing list is not focused on Matlab <br>we can&#39;t give you a precise answer to your question.<br><br>However, <br>you may find useful the following link that you get<br>when you Google for<br>
<br>                &quot;matlab read analyze file&quot;:<br><br><a href="http://www.mathworks.com/access/helpdesk/help/toolbox/images/analyze75info.html">http://www.mathworks.com/access/helpdesk/help/toolbox/images/analyze75info.html</a><br>
<br><br>    Good Luck !<br><br><br>          Luis<br><br><br>----------------------------------------------------------------------------------------------------------<br><div class="gmail_quote">On Mon, Apr 19, 2010 at 6:06 PM, Stephen Yip <span dir="ltr">&lt;<a href="mailto:stephen.fyip1@gmail.com">stephen.fyip1@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<div><br></div><div>I do not know if anyone had the similar problem before. So I used the <span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;">DicomSeriesReadImageWrite2.cxx to write my series of dicom slices into a single hdr file. I tried to open the hdr file using MatLab&#39;s image processing command (hdrread), I got the following explain. </span></div>

<div><span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;"><br></span></div><div><span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;"><div>
??? Error using ==&gt; hdrread&gt;readHeader at 63</div><div>Not a Radiance file.</div><div><br></div><div>Error in ==&gt; hdrread at 29</div><div>fileinfo = readHeader(fid);</div><div><br></div><div>What should I do to solve it?</div>

<div><br></div><div>Thanks,</div><div>Stephen</div></span></div><font color="#888888"><div><span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;"><br></span></div><div><span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;"><br>

</span></div>
</font><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.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 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>
<br></blockquote></div><br>