<html>
<head>
</head>
<body class='hmmessage'><div dir='ltr'>


<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<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 class="p1"><br></p>
<p class="p2"><i><span class="s1">        </span><span class="s2"><b>typedef</b></span><span class="s1"> </span>itk<span class="s3">::</span>GDCMSeriesFileNames<span class="s1"> </span>NamesGeneratorType<span class="s3">;</span></i></p>
<p class="p2"><i><span class="s1">        </span>NamesGeneratorType<span class="s3">::</span>Pointer<span class="s1"> </span><span class="s4">namesGenerator</span><span class="s1"> </span><span class="s3">=</span><span class="s1"> </span>NamesGeneratorType<span class="s3">::</span><span class="s5">New</span><span class="s3">();</span></i></p>
<p class="p3"><i><br></i></p>
<p class="p4"><i><span class="s1"></span><span class="s4">// namesGenerator</span>-&gt;SetLoadSequences(<span class="s2"><b>true</b></span>);</i></p>
<p class="p4"><i><span class="s1"></span><span class="s4">// namesGenerator</span>-&gt;SetLoadPrivateTags(<span class="s2"><b>true</b></span>);</i></p>
<p class="p4"><i><span class="s1">        </span><span class="s4">namesGenerator</span>-&gt;SetUseSeriesDetails(<span class="s2"><b>true</b></span>);</i></p>
<p class="p5"><i><span class="Apple-tab-span">        </span><span class="s4">namesGenerator</span><span class="s3">-&gt;</span><span class="s6">AddSeriesRestriction</span><span class="s3">(</span><span class="s7">"0008|0021"</span><span class="s3">);</span></i></p>
<p class="p5"><i><span class="Apple-tab-span">        </span><span class="s4">namesGenerator</span><span class="s3">-&gt;</span><span class="s6">AddSeriesRestriction</span><span class="s3">(</span><span class="s7">"0008|0032"</span><span class="s3">);</span></i></p>
<p class="p3"><i><span style="font-size: 10pt; ">namesGenerator</span><span class="s3" style="font-size: 10pt; ">-&gt;</span><span class="s8" style="font-size: 10pt; ">SetDirectory</span><span class="s3" style="font-size: 10pt; ">(</span><span style="font-size: 10pt; ">cla</span><span class="s3" style="font-size: 10pt; ">.</span><span class="s9" style="font-size: 10pt; ">input_arg</span><span class="s3" style="font-size: 10pt; ">);</span></i></p><p class="p3"><br></p><p class="p3">When compiled against ITK 3.20, several DICOM series are detected. Using ITK 4.1 (and the same directory), only one series is &nbsp;retained. Adding the (commented) options, does not change anything.&nbsp;</p><p class="p3"><br></p><p class="p3">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 class="p3"><br></p><p class="p3">Regards,</p><p class="p3">Jef</p><p class="p3"><br></p></div>







</div>
                                               </div></body>
</html>