[ITK] Multiple calls to GetSeriesUIDs()

Dženan Zukić dzenanz at gmail.com
Fri Mar 10 08:48:14 EST 2017


Hi Fijoy,

here is an example to do something similar:
https://itk.org/ITKExamples/src/IO/DICOM/DicomSeriesReadImageWrite3/Documentation.html

Regards,
Dženan

On Thu, Mar 9, 2017 at 5:05 PM, Fijoy Vadakkumpadan <tofijoy at gmail.com>
wrote:

> Hello,
>
> If I call GDCMSeriesFileNames ::GetSeriesUIDs() multiple times without
> changing the directory I'm reading via GDCMSeriesFileNames
> ::setDirectory(), will the class regenerate the series UIDs vector in every
> call by reading data from the directory?
>
> I'm asking because in my application, I'd like to retrieve all images from
> a DICOM directory, one series at a time. Specifically, I'd like to write a
> function which takes a GDCMSeriesFileNames object and an integer n, and
> returns the nth series as an image. If the answer to the question above is
> yes, then I need to store copy and store the series UID vector to avoid
> repeated disk reads.
>
> Thanks,
> --Fijoy
>
>
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20170310/f55f9bd9/attachment.html>


More information about the Community mailing list