Hello,<br><br>I am trying to read Analyze 7.5 images using ITK, however I am getting segfault. Here is the relevant code:<br><br>            typedef unsigned char PixelType;<br>            const unsigned int Dimension = 3;<br>



            typedef itk::Image&lt; PixelType, Dimension &gt; ImageType;<br>            <br>            typedef itk::ImageSeriesReader&lt; ImageType &gt; ReaderType;<br>            <br>            ReaderType::Pointer reader = ReaderType::New();<br>



            <br>            typedef itk::NumericSeriesFileNames    NameGeneratorType;<br>            NameGeneratorType::Pointer nameGenerator = NameGeneratorType::New();<br><br>            nameGenerator-&gt;SetSeriesFormat( &quot;/root/Desktop/default_10-v1.0.3/default_10-v1.0.3/phantom_01/clean/dwi-%02d.hdr&quot; );<br>

<div id=":uu" class="ii gt">

            <br>            nameGenerator-&gt;SetStartIndex( 0 );<br>            nameGenerator-&gt;SetEndIndex( 66 );<br>            nameGenerator-&gt;SetIncrementIndex( 1 );<br>            <br>            reader-&gt;SetImageIO( itk::AnalyzeImageIO::New() );<br>



            <br>            reader-&gt;SetFileNames( nameGenerator-&gt;GetFileNames() );<br>            reader-&gt;Update();<br><br>I am getting a segmentation fault when the update method is called. Any ideas?<br><br>Thanks in advance,<br>



<br><br clear="all">Ahmet Burak Yoldemi</div>