[Insight-users] Re : Re : trying examples

Luis Ibanez luis.ibanez at kitware.com
Fri Jul 31 10:47:19 EDT 2009


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 <daviddoria%2Bitk 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/e62ffbfc/attachment.htm>


More information about the Insight-users mailing list