JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for FSL Archives


FSL Archives

FSL Archives


FSL@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

FSL Home

FSL Home

FSL  May 2012

FSL May 2012

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: FSLmerge - Error in size-match along non-concatenated dimension

From:

Michael Harms <[log in to unmask]>

Reply-To:

FSL - FMRIB's Software Library <[log in to unmask]>

Date:

Tue, 29 May 2012 15:40:37 -0500

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (283 lines)

In that case, GE must be setting the fields in the DICOMs in each set of
999 DICOMs in some manner such that even after you put them all into a
single folder, neither dcm2nii or MRIconvert are able to decipher how to
group the dicoms appropriately into volumes and time points.

i.e., Your problem is with the initial conversion, not with fslmerge.  

cheers,
-MH

On Tue, 2012-05-29 at 21:24 +0100, Marta Penedo wrote:
> I said this because I tried it both ways. But yes, I already tried
> that. 
> 
> 
> The name's change was only another attempt.
> 
> 
> 
> 
> Marta
> 
> 2012/5/29 Michael Harms <[log in to unmask]>
>         So, you had a single folder with the complete set of 3640
>         DICOMs from
>         the run, and ran dcm2nii on that folder?  Because you
>         initially wrote
>         that you ran dcm2nii and MRIconvert on the incomplete folders.
>         
>         As far as I know, the actual filename of the DICOMs are
>         irrelevant, as
>         the NIFTI is assembled based on the fields in the DICOMs.
>         
>         cheers,
>         -MH
>         
>         On Tue, 2012-05-29 at 20:49 +0100, Marta Penedo wrote:
>         > I put all dicom images in a unique folder and changed their
>         filename
>         > to the same filename (in sequence), and then I tried to
>         convert images
>         > of this folder, but the convertion does 4 nii files such as
>         the images
>         > are separated.
>         >
>         >
>         > Is that what you asked me?
>         >
>         > 2012/5/29 Michael Harms <[log in to unmask]>
>         >         Hi Marta,
>         >         Did you try moving all the DICOMs from a given run
>         into a
>         >         single
>         >         directory PRIOR to converting to NIFTI?  You can't
>         convert to
>         >         NIFTI
>         >         using an incomplete set of DICOMs and expect the
>         converter to
>         >         necessarily handle it cleanly.
>         >
>         >         cheers,
>         >         -MH
>         >
>         >
>         >         On Tue, 2012-05-29 at 19:59 +0100, Marta Penedo
>         wrote:
>         >         > Yes, I see this in mricron too.
>         >         >
>         >         >
>         >         > In this case, the number of slices is 26 and 140
>         volumes, of
>         >         a total
>         >         > of 3640 images, but this information is not in
>         images. I
>         >         think that
>         >         > acquisition was not well done, but the files have
>         been used.
>         >         >
>         >         >
>         >         >
>         >         > 2012/5/29 Jesper Andersson <[log in to unmask]>
>         >         >         Hi again Marta,
>         >         >
>         >         >         >
>         >         >         >
>         >         >         > First nii file: dim1=64, dim2=64,
>         dim3=973
>         >         >         > Second nii file: dim1=64, dim2=64,
>         dim3=999
>         >         >         > Third nii file: dim1=64, dim2=64,
>         dim3=999
>         >         >         > Fourth nii file: dim1=64, dim2=64,
>         dim3=669
>         >         >         >
>         >         >         >
>         >         >         > In all cases, the matrix are 64x64 and
>         the dim3
>         >         >         > corresponding at number of images in
>         each folder
>         >         and nii
>         >         >         > file appears such a 3D file.
>         >         >
>         >         >
>         >         >         I am a little confused by this. Usually
>         dim1 and
>         >         dim2 are the
>         >         >         matrix size (which seems to be true here
>         too) and
>         >         dim3 are
>         >         >         number of slices (which it is clearly not
>         here).
>         >         What do you
>         >         >         see if you open one of those nifti files
>         in fslview?
>         >         Do you
>         >         >         get a bunch of brains stacked on top of
>         each other?
>         >         >
>         >         >
>         >         >         Jesper
>         >         >
>         >         >
>         >         >
>         >         >         >
>         >         >         > 2012/5/29 Jesper Andersson
>         <[log in to unmask]>
>         >         >         >         Chose one of the cases that
>         doesn't work
>         >         and type
>         >         >         >
>         >         >         >
>         >         >         >         fslhd my_nifti | grep dim
>         >         >         >
>         >         >         >
>         >         >         >         for each of your nifti files and
>         check the
>         >         values of
>         >         >         >         dim1 to dim3
>         >         >         >
>         >         >         >
>         >         >         >         Jesper
>         >         >         >
>         >         >         >         On 29 May 2012, at 13:05, Marta
>         Penedo
>         >         wrote:
>         >         >         >
>         >         >         >         > The command that I used was:
>         fslmerge -t
>         >         FFfmri7
>         >         >         >         > F*
>         >         >         >         >
>         >         >         >         >
>         >         >         >         > I think that the command is
>         correctly.
>         >         The problem
>         >         >         >         > is that images are grouped, in
>         same
>         >         cases, in 4
>         >         >         >         > folders (one with 976, 2
>         folders with
>         >         999 images
>         >         >         >         > and other folder with 627) and
>         in other
>         >         cases in 2
>         >         >         >         > folders (one with 984 and
>         other with
>         >         617). The
>         >         >         >         > different information between
>         images of
>         >         each
>         >         >         >         > folders are in
>         SeriesInstanceUID, Series
>         >         Number,
>         >         >         >         > Instance Number, Image
>         Position Patient
>         >         and Slice
>         >         >         >         > Location.
>         >         >         >         >
>         >         >         >         >
>         >         >         >         > I tried to merge the two
>         folders with
>         >         999 images,
>         >         >         >         > for experience, and the
>         warning
>         >         disappear. But I
>         >         >         >         > have to merge all of them.
>         >         >         >         >
>         >         >         >         >
>         >         >         >         > Is There any way to change the
>         >         information without
>         >         >         >         > interfering with images?
>         >         >         >         >
>         >         >         >         > 2012/5/29 Jesper Andersson
>         >         <[log in to unmask]>
>         >         >         >         >         Dear Marta,
>         >         >         >         >
>         >         >         >         >
>         >         >         >         >         > I tried to convert
>         dicom
>         >         images,
>         >         >         >         >         acquired from 1.5T GE
>         CVi/NVi,
>         >         to NIfTI.
>         >         >         >         >         This device allows
>         only acquire
>         >         999 images
>         >         >         >         >         at a time, but the
>         complete
>         >         sequence have
>         >         >         >         >         3640 images. So,
>         software put
>         >         each group
>         >         >         >         >         of images in different
>         folders,
>         >         such as
>         >         >         >         >         "RTIP_6" and
>         "RTIP_26".
>         >         >         >         >         >
>         >         >         >         >         > I tried to convert
>         and merge
>         >         all images
>         >         >         >         >         using dcm2nii and
>         MRIConvert,
>         >         but this
>         >         >         >         >         softwares shows me one
>         file .nii
>         >         for each
>         >         >         >         >         folder. Then, I tried
>         to merge
>         >         all
>         >         >         >         >         files .nii obtained
>         using
>         >         fslmerge but the
>         >         >         >         >         command shows me this
>         warning:
>         >         >         >         >         >
>         >         >         >         >         > Error in size-match
>         along
>         >          non-
>         >         >         >         >         concatenated
>         dimension.
>         >         >         >         >
>         >         >         >         >
>         >         >         >         >         If you have run
>         fslmerge
>         >         correctly this
>         >         >         >         >         would imply that you
>         have
>         >         different image
>         >         >         >         >         sizes for the
>         different "sub
>         >         series",
>         >         >         >         >         which sounds very
>         strange. If
>         >         that is the
>         >         >         >         >         case you should look
>         into the
>         >         reason for
>         >         >         >         >         that.
>         >         >         >         >
>         >         >         >         >         Can you send us the
>         exact
>         >         fslmerge command
>         >         >         >         >         you used?
>         >         >         >         >
>         >         >         >         >         Jesper
>         >         >         >         >
>         >         >         >         >
>         >         >         >
>         >         >         >
>         >         >         >
>         >         >         >
>         >         >
>         >         >
>         >         >
>         >         >
>         >
>         >
>         >
>         
> 
> 

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
2006
2005
2004
2003
2002
2001


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager