[Dcmlib] creating dicom directory tree
Jean-Pierre Roux
jpr at creatis.insa-lyon.fr
Thu Sep 20 10:54:33 CEST 2007
Ashish Singh wrote:
> Hi,
>
> I am trying to create a dicom directory tree from a directory
> containing number of dicom images with the patient ID as the root
> directory containing study date as the subdirectory containing series
> number as the subdirectory which finally contains the dicom images
> with filenames as per the image numbers. In other words, I want to
> create a directory tree as follows-
> PatientID
> StudyDate
> Series Number
> Images with filenames = image number
Hi, Ashish
Do you mean that you have a single directory, holding a huge number of
images,
and you want to move the images into your own directory tree, without
any modification of the images?
I this is want you want to do, I can send you a piece of code that does
the job.
(I though it was already in gdcm/Examples, but it's not)
Jean-Pierre Roux
>
> I am new to GDCM and was wondering if there are any classes or
> functions in GDCM that can do something like this and if so, are there
> any examples showing their usage?
> Can anyone please help me with this?
>
> Thanks in advance.
>
> Regards,
> Ashish
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Dcmlib mailing list
> Dcmlib at creatis.insa-lyon.fr
> http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib
More information about the Dcmlib
mailing list