<font class="Apple-style-span" face="&#39;courier new&#39;, monospace">First of all, I answer the Bill&#39;s question:<br>The problem isn&#39;t modality dependent, it also occurs on MR models. I did some tests changing the pixel type but there isn&#39;t significant differences. I show you the results. I used a CT model (<a href="http://dl.dropbox.com/u/3613789/ct_anonymized.zip">http://dl.dropbox.com/u/3613789/ct_anonymized.zip</a>):<br>
</font><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">               PixelType     Reading directory    Update</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">ITK 2.8   unsigned short                  1024      2295</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">ITK 2.8              int                  1032      2419</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">ITK 3.16  unsigned short                  1018      4693</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">ITK 3.16             int                  1009      4724</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br>
</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">Bradley,</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">I did the test using a computer which has Itel Core 2 Quad 2.4 GHz CPU with 4GB RAM. The OS is Windows XP 32bits. The data is on locale. During the execution one of the CPU&#39;s is 100% full. </font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">I did the test using 3 CT models:</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br>
</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><div>Head CT (<a href="http://mri.radiology.uiowa.edu/VHDicom/VHFCT1mm/VHF-Head.tar.gz">http://mri.radiology.uiowa.edu/VHDicom/VHFCT1mm/VHF-Head.tar.gz</a>)<span class="Apple-tab-span" style="white-space:pre">                </span></div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span></div><div>                Reading directory   UpdateOutputInformation     UpdateLargestPossibleRegion</div><div>Itk 2.8                       390                         4                            1409</div>
<div>Itk 3.16                      394                       452                            1502</div><div>________________________________________</div><div><br></div><div>CT example study which we work with (<a href="http://dl.dropbox.com/u/3613789/ct_anonymized.zip">http://dl.dropbox.com/u/3613789/ct_anonymized.zip</a>)</div>
<div><br></div><div>                Reading directory   UpdateOutputInformation     UpdateLargestPossibleRegion</div><div>Itk 2.8                      1024                         9                            2260</div><div>
Itk 3.16                     1030                      1666                            2975</div><div><br></div><div>_________________________________________</div><div><br></div><div>CALIX/CT1 abdomen/D30MN BILISCOPIN from OSIRIX Data (<a href="http://pubimage.hcuge.ch:8080/DATA/CALIX.zip">http://pubimage.hcuge.ch:8080/DATA/CALIX.zip</a>)</div>
<div><br></div><div>                Reading directory   UpdateOutputInformation     UpdateLargestPossibleRegion</div><div>Itk 2.8                       660                         7                           20380</div><div>
Itk 3.16                      652                       850                           21053</div><div><br></div></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div>
<font class="Apple-style-span" face="&#39;courier new&#39;, monospace">Thanks!</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">Roger</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div>On Mon, Mar 22, 2010 at 2:24 PM, Bradley Lowekamp &lt;<a href="mailto:blowekamp@mail.nih.gov">blowekamp@mail.nih.gov</a>&gt; wrote:<br>
&gt;<br>&gt; Hello,<br>&gt; Can you please tell us a little more about your test data and computer. What kind of file system is the data on ( locale or network)? How much memory does the computer have? What is the size of the data? What is the native pixel type of the data? What are the actual timings? Does the execution seem to be CPU or IO bound?<br>
&gt; One of the changes that was made to the class was to populate the MetaDataArray in the UpdataOutputInformation phase of the instead of the UpdateOutputData part. This should be just reading the headers of the files in the series. There were several reasons this change was made. To help determine the cause of your slowness, lets break up the timing a little further.<br>
&gt; Could you please call:<br>&gt; start timer<br>&gt; reader-&gt;UpdateOutputInformation();<br>&gt; lap timer<br>&gt; reader-&gt;UpdateLargestPossibleRegion();<br>&gt; stop timer<br>&gt; And post the timing results.<br>
&gt;<br>&gt; Thanks,<br>&gt; Brad<br>&gt; On Mar 21, 2010, at 2:52 PM, Roger Bramon Feixas wrote:<br>&gt;<br>&gt; This week we updated our ITK version from 2.8 to 3.16  and we noticed the medical models are loading 2x slower using the 3.16 ITK version. We use itk::ImageSeriesReader and the problem is focused in its Update() method. <br>
&gt; I attached a simple test program which reproduces the problem and where we can see that the Update() method is 2 times slower using ITK 3.16 vs. ITK 2.8.<br>&gt; We compiled both versions using Visual Studio 2008 on Windows XP 32bits and  we don&#39;t known if this problem also occurs in other platforms.<br>
&gt; I wonder if other itk users have this same performance problem and if there is anybody can help us in order to solve it.<br>&gt; Thanks!<br>&gt;<br>&gt; Roger<br>&gt; &lt;test.zip&gt;&lt;ATT00001..txt&gt;<br>&gt;<br>
&gt; ========================================================<br>&gt;<br>&gt; Bradley Lowekamp  <br>&gt;<br>&gt; Lockheed Martin Contractor for<br>&gt;<br>&gt; Office of High Performance Computing and Communications<br>&gt;<br>
&gt; National Library of Medicine <br>&gt;<br>&gt; <a href="mailto:blowekamp@mail.nih.gov">blowekamp@mail.nih.gov</a><br>&gt;<br><br>