<br>Hi Syrine,<br><br>In order to read a 3D Dicom series, <br>you should take the initial half of the example <br><br>Insight/Examples/IO/<br>    DicomSeriesReadImageWrite2.cxx<br><br>That is, you must use the ImageSeriesReader<br>
class instead of the ImageFileReader class.<br>The input then will be the Directory where you<br>have your DICOM series.<br><br><br>Then, <br>in your instantiation of the region growing<br>filter, you should use dimension = 3.<br>
<br><br>   Regards,<br><br><br>         Luis<br><br><br>-----------------------------------------------------------<br><div class="gmail_quote">On Fri, Jul 31, 2009 at 9:21 AM, Syrine Sahmim <span dir="ltr">&lt;<a href="mailto:syrine.sahmim@yahoo.fr">syrine.sahmim@yahoo.fr</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Hi,<br>
<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div class="im">&gt;&gt;You should see a good set of test parameters in the example cxx, in this case:<br>
//    INPUTS: {BrainProtonDensitySlice.png}<br>//    OUTPUTS: {DiscreteGaussianImageFilterOutput.png}<br>//    4 9<br><br></div>This is my problem i don&#39;t know how modify in the code to test it with my own data. and i want to sbe more precise i have a 3D dicom serie, and i don&#39;t find how to put them as parameter.<br>
Thanks <br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><div class="im"><hr size="1"><b><span style="font-weight: bold;">De :</span></b> David Doria &lt;<a href="mailto:daviddoria%2Bitk@gmail.com" target="_blank">daviddoria+itk@gmail.com</a>&gt;<br>
<b><span style="font-weight: bold;">Cc :</span></b> <a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a><br></div><b><span style="font-weight: bold;">Envoyé le :</span></b> Vendredi, 31 Juillet 2009, 14h06mn 53s<br>
<b><span style="font-weight: bold;">Objet :</span></b> Re: [Insight-users] Re :  trying examples<br></font><div><div></div><div class="h5"><br><br><br><div class="gmail_quote">On Fri, Jul 31, 2009 at 8:55 AM, Syrine Sahmim
 <span dir="ltr">&lt;<a rel="nofollow" href="mailto:syrine.sahmim@yahoo.fr" target="_blank">syrine.sahmim@yahoo.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Hi, <br><br>I tried the region growing example and the discrete gaussian filter examples.for the first one i don&#39;t have the.exe file and for the second when i debogue it i obtain the message &quot;inputImageFile  outputImageFile  variance  maxKernelWidth&quot; given in the code.<br>

No image filtred!!<br>so how can i do to have a correct result?<br>i just take the example and configure it with cmake , build it and then run it? is there other steps that i must do?<br><br>Regards<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">

</div></div></div></blockquote><div><br>When you see the message &quot;inputImageFile  outputImageFile  variance  maxKernelWidth&quot;, that is telling you the required arguments.<br><br>You should see a good set of test parameters in the example cxx, in this case:<br>

//    INPUTS: {BrainProtonDensitySlice.png}<br>//    OUTPUTS: {DiscreteGaussianImageFilterOutput.png}<br>//    4 9<br><br>(although in this case I think 4 and 9 are supposed to be the variance and maxKernelWidth params even though they show up after the output instead of in the input??)<br>

<br>I searched for &quot;region&quot; and &quot;grow&quot; and didn&#39;t see a region growing example - maybe you can give the actual name of the example you are looking for?<br><br clear="all">Thanks,<br><br>David <br>
</div>
</div>
</div></div></div></div></div><br>



      </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>
Please keep messages on-topic and check the ITK FAQ at: <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>