[MINC-users] Determining DICOM Series File Members?

Andrew Wood andrew at biospective.com
Wed Aug 5 11:51:42 EDT 2015


Hi Gabriel,

This is a pretty dumb way to do it, but here's what I run:

$ dcmdump +P 0008,103e +F * | grep MySequenceName -B 1 | grep dcmdump | awk
'{print $NF}'

- Andrew

On Wed, Aug 5, 2015 at 11:49 AM, Jon Pipitone <jon at pipitone.ca> wrote:

> We've been dealing with this in a pretty stupid but functional way:
> regexs on the StudyDescription field. The descriptions varies from
> scanner to scanner, and tech to tech, of course, so you have to tweak
> your library of regexs as you encounter new data but, you know, it
> works. :-)
>
> pydicom is your friend for this.
>
> Jon.
>
> On 08/05, Gabriel A. Devenyi wrote:
> > Hi all,
> >
> > If I have a large collection of DICOM files from a single scanning
> session
> > (~1000 files), does anyone know of a way to pick out the files of a
> > specific series? i.e. I have a bunch of scan types and I want to know
> which
> > files are the DICOMs for T1s?
> >
> > Thanks.
> >
> > --
> > Gabriel A. Devenyi B.Eng. Ph.D.
> > Research Computing Associate
> > Computational Brain Anatomy Laboratory
> > Cerebral Imaging Center
> > Douglas Mental Health University Institute
> > McGill University
> > t: 514.761.6131x4781
> > e: gdevenyi at gmail.com
> > _______________________________________________
> > MINC-users at bic.mni.mcgill.ca
> > http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>


More information about the MINC-users mailing list