[MINC-users] dicom/minc/analyze conversions

Andrew Janke a.janke at gmail.com
Wed Oct 26 16:03:10 EDT 2005


minc_modify_header will do the job.

   minc_modify_header -dinsert xspace:direction_cosines=1,0,0 foo.mnc
   minc_modify_header -dinsert yspace:direction_cosines=0,1,0 foo.mnc
   minc_modify_header -dinsert zspace:direction_cosines=0,0,1 foo.mnc

a

On 26/10/05, Alex ZIJDENBOS <alex at bic.mni.mcgill.ca> wrote:
> Tanks - for removing/adding dir cosines, are you suggesting the brute
> force approach, i.e., (minc)editing the header?
>
> -- A
>
> On Wed, Oct 26, 2005 at 12:43:39PM -0400, Andrew Janke wrote:
> > here is how I would attack it...
> >
> >   1: remove direction cosines from MINC anatomical files
> >         (ANALYZE doesn't store them)
> >       --or--
> >       add direction cosines from anatomical files to labels
> >
> >   2: reorder MINC files to have standard dimension ordering
> >
> >   3: Be sure to use nii2mnc over ana2mnc
> >
> >
> > a
> >
> > On 26/10/05, Alex ZIJDENBOS <alex at bic.mni.mcgill.ca> wrote:
> > > Hi all,
> > >
> > > I have a bit of a conundrum: I received a set of MRI data in DICOM
> > > format, with accompanying hand-drawn labels in ANALYZE format. When I
> > > convert both to MINC, of course the labels don't match the source
> > > images, as the world coordinate space has gotten probably lost
> > > somewhere along the way at the site that provided me with the data.
> > >
> > > I have requested that they send me the MRI data also in ANALYZE
> > > format, and I am crossing my fingers that when I convert both sets of
> > > data to MINC, things will line up. Although I suspect that will work
> > > in practice, I was wondering if anybody has other suggestions on how
> > > to deal with this?
> > >
> > > Thanks,
> > >
> > > -- A
> > > _______________________________________________
> > > MINC-users at bic.mni.mcgill.ca
> > > http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
> > >
> >
> >
> > --
> > Andrew Janke      (a.janke at gmail.com || www.cmr.uq.edu.au/~rotor)
> > Canada->Montreal                                   Cell: +1 (514) 924 2012
> >
> > _______________________________________________
> > 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
>


--
Andrew Janke      (a.janke at gmail.com || www.cmr.uq.edu.au/~rotor)
Canada->Montreal                                   Cell: +1 (514) 924 2012



More information about the MINC-users mailing list