<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hi Fijoy,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">here is an example to do something similar:</div><div class="gmail_default"><font face="verdana, sans-serif"><a href="https://itk.org/ITKExamples/src/IO/DICOM/DicomSeriesReadImageWrite3/Documentation.html">https://itk.org/ITKExamples/src/IO/DICOM/DicomSeriesReadImageWrite3/Documentation.html</a></font><br></div><div class="gmail_default"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font face="verdana, sans-serif">Regards,</font></div><div class="gmail_default"><font face="verdana, sans-serif">Dženan</font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 9, 2017 at 5:05 PM, Fijoy Vadakkumpadan <span dir="ltr"><<a href="mailto:tofijoy@gmail.com" target="_blank">tofijoy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<br><br>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?<br><div><br></div><div>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. </div><div><br></div><div>Thanks,</div><div>--Fijoy</div><div><br></div><div><br></div></div>
<br>______________________________<wbr>_________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org">Community@itk.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/community" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/community</a><br>
<br></blockquote></div><br></div>