[MINC-users] Determining DICOM Series File Members?

Jon Pipitone jon at pipitone.ca
Wed Aug 5 12:11:10 EDT 2015


Ah, I think I misunderstood. You don't want to determine whether a dicom
is from a T1 or T2 or etc... just group together all of the dicoms from
each series (or a specific series) by number? 

Jon. 

On 08/05, Gabriel A. Devenyi wrote:
> Thanks for the quick replies!
> 
> As is usually the case, I can across another Andrew Janke tool
> https://github.com/andrewjanke/mnc2dcm
> 
> dcmsort does exactly what i'm looking for
> 
> -- 
> 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
> 
> On Wed, Aug 5, 2015 at 11:51 AM, Andrew Wood <andrew at biospective.com> wrote:
> 
> > 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
> > >
> > _______________________________________________
> > 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