Hi,<br>Maybe you should use SetDirectoryName rather than SetFileName.<br><br>HTH<br>Jerome<br><br><div class="gmail_quote">2011/5/30 Jyothilekshmi <span dir="ltr">&lt;<a href="mailto:lekshmijyothi@cdactvm.in">lekshmijyothi@cdactvm.in</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">








<div link="blue" vlink="purple" lang="EN-US">

<div>

<p class="MsoNormal">I have read 25 dicom images for that I used the code </p>

<p class="MsoNormal">vtkDicomImageReader *reader=vtkDicomImageReader::New();</p>

<p class="MsoNormal">reader-&gt;SetFileName(“ “);</p>

<p class="MsoNormal">But the code will read only the first image please help me</p>

</div><div class="im">

<br><pre>______________________________________
Scanned and protected by Email scanner
</pre><br>
</div></div>


<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>