<div>Hi,</div>
<div>There is a bug in gdcm::<font>SerieHelper</font></div>
<div> </div>
<div>Use m_UseSeriesDetails  not UseSeriesDetails</div>
<div><font color="#0000ff"><font color="#0000ff">
<p>void</p></font></font><font> SerieHelper::SetUseSeriesDetails( </font><font color="#0000ff"><font color="#0000ff">bool</font></font><font> useSeriesDetails )
<p>{</p>
<p></p></font><font color="#008000"><font color="#008000">// Fixed</font></font><font>
<p>m_UseSeriesDetails = useSeriesDetails;</p>
<p>}</p>
<p>Yixun</p></font><br><br></div>
<div class="gmail_quote">On Tue, Jul 17, 2012 at 10:20 AM, jef vdmb <span dir="ltr">&lt;<a href="mailto:jvdmb@hotmail.com" target="_blank">jvdmb@hotmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div>
<div dir="ltr">
<div dir="ltr">Hi, 
<div><br></div>
<div>Ever since I passed to ITKv4 (4.1 and 4.2 give the same result), the behaviour of itk::<span style="FONT-SIZE:10pt">GDCMSeriesFileNames seems to have changed.</span></div>
<div><span style="FONT-SIZE:10pt"><br></span></div>
<div><span style="FONT-SIZE:10pt">I use the following standard code:</span></div>
<div>
<p><br></p>
<p><i><span></span><span><b>typedef</b></span><span> </span>itk<span>::</span>GDCMSeriesFileNames<span> </span>NamesGeneratorType<span>;</span></i></p>
<p><i><span></span>NamesGeneratorType<span>::</span>Pointer<span> </span><span>namesGenerator</span><span> </span><span>=</span><span> </span>NamesGeneratorType<span>::</span><span>New</span><span>();</span></i></p>
<p><i><br></i></p>
<p><i><span></span><span>// namesGenerator</span>-&gt;SetLoadSequences(<span><b>true</b></span>);</i></p>
<p><i><span></span><span>// namesGenerator</span>-&gt;SetLoadPrivateTags(<span><b>true</b></span>);</i></p>
<p><i><span></span><span>namesGenerator</span>-&gt;SetUseSeriesDetails(<span><b>true</b></span>);</i></p>
<p><i><span></span><span>namesGenerator</span><span>-&gt;</span><span>AddSeriesRestriction</span><span>(</span><span>&quot;0008|0021&quot;</span><span>);</span></i></p>
<p><i><span></span><span>namesGenerator</span><span>-&gt;</span><span>AddSeriesRestriction</span><span>(</span><span>&quot;0008|0032&quot;</span><span>);</span></i></p>
<p><i><span style="FONT-SIZE:10pt">namesGenerator</span><span style="FONT-SIZE:10pt">-&gt;</span><span style="FONT-SIZE:10pt">SetDirectory</span><span style="FONT-SIZE:10pt">(</span><span style="FONT-SIZE:10pt">cla</span><span style="FONT-SIZE:10pt">.</span><span style="FONT-SIZE:10pt">input_arg</span><span style="FONT-SIZE:10pt">);</span></i></p>

<p><br></p>
<p>When compiled against ITK 3.20, several DICOM series are detected. Using ITK 4.1 (and the same directory), only one series is  retained. Adding the (commented) options, does not change anything. </p>
<p><br></p>
<p>My apologies if I missed the answer in this mailing list. I saw several entries reporting similar behavior, but did not come across an answer.</p>
<p><br></p>
<p>Regards,</p>
<p>Jef</p>
<p><br></p></div></div></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<br><a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>Kitware offers ITK Training Courses, for more information visit:<br><a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br><br>Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br>