Hello<br>When reading an Analyze file (hdr+img) that I just wrote a few second before, I jump into a &quot;segmentation fault&quot;.<br>My image is an RGB image with an unsigned short pixel type.<br>ITK documentation tells me that an 
Analyze image file : <br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">containing usually uncompressed voxel data for the images in one of the several possible voxel formats:<ul>
<li>24 bit RGB, 8 bits per channel</li></ul></blockquote>Ok, so I imagine that my RGB-16bits-pixel will not be accepted for the Analyze format.<br>Question is, why does it write the RGB-16bits-pixel without problem or warning, but cannot read it ?<br>
I think it would be more logical to be able to read/write or nothing.<br>Or perhaps I&#39;missing something...<br><br>For info, I&#39;ve no problem with the same data using a raw image file (mdh+raw).<br>I could forward some code if necessary...<br>
<br>Thanks<br>David Lambiel<br clear="all"><br>-----------------------------------------------------------------<br>Swiss Federal Institute of Technology Lausanne (EPFL)<br>Signal Processing Laboratory 5<br>Station 11<br>
ELD 225 (Bātiment ELD)<br>1015 Lausanne<br>Switzerland