<div id="RTEContent">&nbsp;Hi all<br> <br> i've write an application&nbsp; that read&nbsp; Cardiac Image Dicom files (Time series image), but i can only visualize the first image in the file.<br> Each series (study) contains 8 Dicom file, each Dicom file contains multi 2D&nbsp; Cardiac Image (between 1 to&nbsp; 40 image stored in the same Dicom file).<br> I read the Dicom file with the&nbsp; itk::GDCMImageIO, and visualize it in VTK, but i visualize only the first image, i didn't know how to do to browse within all the 2D image.<br> this is a fragment of the code:<br> <br>    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="Generator" content="Kate, the KDE Advanced Text Editor">  <pre>  // read the Dicom Directory (contains many Dicom files)<span style="color: rgb(128, 0, 0);"><br>  char</span>* chooserName = fl_dir_chooser(<span style="color: rgb(221, 0, 0);">"select a dicom directory"</span>, <span style="color: rgb(0, 0, 255);">0</span>, <span
 style="color: rgb(0, 0, 255);">0</span>);<br><br>  <span style="color: rgb(128, 128, 128);"><i>// Store the filename</i></span><br>  strcpy( m_InputImageDirectoryname, chooserName );<br>  reader = ReaderType::New();<br>  dicomIO = ImageIOType::New();<br>  dicomIO-&gt;SetMaxSizeLoadEntry(<span style="color: rgb(0, 128, 128);">0xffff</span>);<br>  nameGenerator = NamesGeneratorType::New();<br>  reader-&gt;SetImageIO( dicomIO );<br>  nameGenerator-&gt;SetUseSeriesDetails( <b>true</b> );<br>  nameGenerator-&gt;SetDirectory( m_InputImageDirectoryname );<br><br>  seriesUID = nameGenerator-&gt;GetSeriesUIDs();<br>  //we take the first series we find in the directory<br>  seriesIdentifier = seriesUID.begin()-&gt;c_str();<br>     <br>  fileNames = nameGenerator-&gt;GetFileNames( seriesIdentifier );<br>  <br>  //we will count the number of Dicom file that belongs to that serie<br>  FileNamesBegin = fileNames.begin();<br>  FileNamesItr = fileNames.end();<br>  FileNamesEnd =
 fileNames.end();<br>    <br>    ListCardinal=<span style="color: rgb(0, 0, 255);">0</span>;<br>    ListPosition=<span style="color: rgb(0, 0, 255);">1</span>;<br>    <b>while</b>( FileNamesItr != FileNamesBegin )<br>    {<br>     ListCardinal++;<br>     FileNamesItr--;<br>    }<br>  rescaler = RescaleFilterType::New();<br>  rescaler-&gt;SetOutputMinimum(   <span style="color: rgb(0, 0, 255);">0</span> );<br>  rescaler-&gt;SetOutputMaximum( <span style="color: rgb(0, 0, 255);">255</span> );<br>  reader-&gt;SetFileName( FileNamesItr-&gt;c_str() );<br><br>  <b>try</b><br>      {<br>    rescaler-&gt;SetInput( reader-&gt;GetOutput() );<br>    reader-&gt;Update();<br>    m_InputImage = reader-&gt;GetOutput();<br>    m_InputImage-&gt;SetRequestedRegionToLargestPossibleRegion();<br>    <br>  <span style="color: rgb(128, 128, 128);"><i>// Create the ITK pipeline (NB: pipeline not yet executed)</i></span><br>    <b>this</b>-&gt;CreateITKPipeline();<br><br>  <span style="color: rgb(128, 128,
 128);"><i>// Create the input image VTK pipeline</i></span><br>    <b>this</b>-&gt;CreateInputImageWindow();<br></pre><br> <br> any comment will be welcome <br> thx<br> Amir<br> </div><p>
                <hr size=1> Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
<a href="http://us.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.beta.messenger.yahoo.com">Téléchargez</a> la version beta.