[Insight-users] Re : Re : Re : trying examples

Syrine Sahmim syrine.sahmim at yahoo.fr
Fri Jul 31 11:00:06 EDT 2009


Hi,

If i understand right what you have sent: 
first  imust just to read a dicom series and not right it and then i add to this the program of region growing: in one file it is right!!
and to display the result how can i do?
Regards


________________________________
De : Luis Ibanez <luis.ibanez at kitware.com>
À : Syrine Sahmim <syrine.sahmim at yahoo.fr>
Cc : David Doria <daviddoria+itk at gmail.com>; insight-users at itk.org
Envoyé le : Vendredi, 31 Juillet 2009, 15h47mn 19s
Objet : Re: [Insight-users] Re : Re : trying examples


Hi Syrine,

In order to read a 3D Dicom series, 
you should take the initial half of the example 

Insight/Examples/IO/
    DicomSeriesReadImageWrite2.cxx

That is, you must use the ImageSeriesReader
class instead of the ImageFileReader class.
The input then will be the Directory where you
have your DICOM series.


Then, 
in your instantiation of the region growing
filter, you should use dimension = 3.


   Regards,


         Luis


-----------------------------------------------------------

On Fri, Jul 31, 2009 at 9:21 AM, Syrine Sahmim <syrine.sahmim at yahoo.fr> wrote:

Hi,
>
>
>>>You should see a good set of test parameters in the example cxx, in this case:
>>//    INPUTS: {BrainProtonDensitySlice.png}
>//    OUTPUTS: {DiscreteGaussianImageFilterOutput.png}
>//    4 9
>
>This is my problem i don'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't find how to put them as parameter.
>>Thanks 
>
>
________________________________
De : David Doria <daviddoria+itk at gmail.com>
>Cc : insight-users at itk.org
>Envoyé le : Vendredi, 31 Juillet 2009, 14h06mn 53s
>Objet : Re: [Insight-users] Re :  trying examples
>
>
>
>
>
>On Fri, Jul 31, 2009 at 8:55 AM, Syrine Sahmim
> <syrine.sahmim at yahoo.fr> wrote:
>
>Hi, 
>>
>>I tried the region growing example and the discrete gaussian filter examples.for the first one i don't have the.exe file and for the second when i debogue it i obtain the message "inputImageFile  outputImageFile  variance  maxKernelWidth" given in the code.
>>>>
>>No image filtred!!
>>so how can i do to have a correct result?
>>i just take the example and configure it with cmake , build it and then run it? is there other steps that i must do?
>>
>>Regards
>>
>
>When you see the message "inputImageFile  outputImageFile  variance  maxKernelWidth", that is telling you the required arguments.
>
>You should see a good set of test parameters in the example cxx, in this case:
>>
>//    INPUTS: {BrainProtonDensitySlice.png}
>//    OUTPUTS: {DiscreteGaussianImageFilterOutput.png}
>//    4 9
>
>(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??)
>
>I searched for "region" and "grow" and didn't see a region growing example - maybe you can give the actual name of the example you are looking for?
>
>Thanks,
>
>David 
>
>
>_____________________________________
>>Powered by www.kitware.com
>
>>Visit other Kitware open-source projects at
>http://www.kitware.com/opensource/opensource.html
>
>>Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ
>
>>Follow this link to subscribe/unsubscribe:
>http://www.itk.org/mailman/listinfo/insight-users
>
>



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090731/39c899f8/attachment.htm>


More information about the Insight-users mailing list