Hi,<br><br>I&#39;m current having a problem trying to open nifti images I&#39;ve created without a header. This image is a &quot;mask&quot; I created using mipav, and i need to open it though it has no header. any suggestion?<br>
<br>Regards,<br>Marco<br><br>The traceback is this:<br><br><span style="color: rgb(255, 0, 0);">** ERROR (nifti_image_read): cannot create nifti image from header &#39;mask.nii&#39;</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">Traceback (most recent call last):</span><br><span style="text-decoration: underline; color: rgb(51, 51, 255);">&nbsp; File &quot;/home/marcozanger/workspace/MRISegment/src/MRI/ParseOptimized.py&quot;, line 333, in &lt;module&gt;</span><br>
ERROR, UNEXPECTED EXCEPTION<br>Error while opening nifti header.<br><span style="color: rgb(204, 0, 0);">&nbsp;&nbsp;&nbsp; main()</span><br><span style="color: rgb(51, 51, 255); text-decoration: underline;">&nbsp; File &quot;/home/marcozanger/workspace/MRISegment/src/MRI/ParseOptimized.py&quot;, line 269, in main</span><br>
<span style="color: rgb(204, 0, 0);">&nbsp;&nbsp;&nbsp; mask = NiftiImage(&#39;mask&#39;)</span><br><span style="color: rgb(51, 51, 255); text-decoration: underline;">&nbsp; File &quot;/usr/lib/python2.5/site-packages/nifti/niftiimage.py&quot;, line 322, in __init__</span><br>
<span style="color: rgb(204, 0, 0);">&nbsp;&nbsp;&nbsp; self.__newFromFile( source, load )</span><br><span style="color: rgb(51, 51, 255); text-decoration: underline;">&nbsp; File &quot;/usr/lib/python2.5/site-packages/nifti/niftiimage.py&quot;, line 417, in __newFromFile</span><br>
<span style="color: rgb(204, 0, 0);">&nbsp;&nbsp;&nbsp; raise RuntimeError, &quot;Error while opening nifti header.&quot;</span><br><span style="color: rgb(204, 0, 0);">RuntimeError: Error while opening nifti header.</span><br>