Hi,<div><br></div><div>I am having problems reading a .MHD file. I get the following error: </div><div><br></div><div>d:\programfiles\itk\include\itk-4.2\itkimagefilereader.hxx:143:</div><div> Could not create IO object for file C:\Users\trash001\Desktop\sphere.mhd</div>
<div>  Tried to create one of the following:</div><div>  You probably failed to set a file suffix, or</div><div>     set the suffix to an unsupported type.</div><div><br></div><div><br></div><div>My code is as follows:</div>
<div><br></div><div><div><span class="" style="white-space:pre">                </span>typedef itk::Image&lt;float, 3&gt; VolumeType;</div><div><span class="" style="white-space:pre">                </span>typedef itk::ImageFileReader&lt;VolumeType&gt; VolumeReaderType;</div>
<div> </div><div><span class="" style="white-space:pre">                </span>VolumeReaderType::Pointer reader = VolumeReaderType::New();</div><div><span class="" style="white-space:pre">                </span>reader-&gt;SetFileName(&quot;C:\\Users\\trash001\\Desktop\\sphere.mhd&quot;);</div>
<div><span class="" style="white-space:pre">                </span>reader-&gt;Update();</div><div><br></div><div><br></div><div>Thanks,</div>-- <br>Tanweer Rashid<br>MSVE Dept.<br><div>Old Dominion University</div><br>
</div>