Duke-UNC Brain Imaging and Analysis Center
BIAC Forums | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password   Forgot your Password?
 All Forums
 Support Forums
 Cluster Support
 installing dcm2nii?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

dvsmith
Advanced Member

USA
218 Posts

Posted - Jan 15 2010 :  11:07:59 AM  Show Profile  Visit dvsmith's Homepage  Reply with Quote
Hi,

Could we install dcm2nii on the cluster nodes? I suspect it would be easy to install, and it would be very helpful for anyone working with DICOM images.

http://www.cabiatl.com/mricro/mricron/dcm2nii.html

It would definitely need to be periodically updated to keep up with the latest releases and image formats.

Thanks!
David

petty
BIAC Staff

USA
453 Posts

Posted - Jan 15 2010 :  11:26:15 AM  Show Profile  Reply with Quote
if you're using data from BIAC then you could just convert with the bxh-tools which are already installed, since all data comes with bxh headers.

bxh2analyze --niigz -s DCMINPUT.bxh OUTPUT

Go to Top of Page

dvsmith
Advanced Member

USA
218 Posts

Posted - Jan 15 2010 :  12:48:49 PM  Show Profile  Visit dvsmith's Homepage  Reply with Quote
I use the BXH tools for BIAC data... But I have other data that is not from BIAC.
Go to Top of Page

dvsmith
Advanced Member

USA
218 Posts

Posted - Jan 15 2010 :  1:03:49 PM  Show Profile  Visit dvsmith's Homepage  Reply with Quote
If it's easier, how could I do this myself? Just ssh into every node and dump it into my home directory? The BXH file format is very specialized, and one generally encounters DICOM format at most other sites -- which is sometimes the format of data downloaded from the FMRI data center.

Thanks!
Go to Top of Page

syam.gadde
BIAC Staff

USA
421 Posts

Posted - Jan 15 2010 :  1:08:26 PM  Show Profile  Reply with Quote
As an alternative, you could run dicom2bxh and then run bxh2analyze. There may be other reasons you wish to use dcm2nii of course, but if the only reason is to get to NIFTI, we've used the following commands on innumerable datasets:

dicom2bxh *.dcm tmp.bxh
bxh2analyze --niigz tmp.bxh OUTPUTPREFIX
Go to Top of Page

dvsmith
Advanced Member

USA
218 Posts

Posted - Jan 15 2010 :  5:47:10 PM  Show Profile  Visit dvsmith's Homepage  Reply with Quote
Thanks, Syam... I think dcm2nii is better suited to my current needs, so I'll either use that locally or dump it in my home directory on each node so that I can make use of the cluster. It's standalone, so it should work fine...

Cheers,
David
Go to Top of Page

petty
BIAC Staff

USA
453 Posts

Posted - Jan 22 2010 :  2:45:56 PM  Show Profile  Reply with Quote
it'll be on the new cluster
Go to Top of Page

petty
BIAC Staff

USA
453 Posts

Posted - Jan 22 2010 :  3:15:06 PM  Show Profile  Reply with Quote
actually i just stuck it on all the current nodes as well.
Go to Top of Page

dvsmith
Advanced Member

USA
218 Posts

Posted - Jan 23 2010 :  12:54:08 PM  Show Profile  Visit dvsmith's Homepage  Reply with Quote
thanks, Chris!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BIAC Forums © 2000-2010 Brain Imaging and Analysis Center Go To Top Of Page
This page was generated in 0.44 seconds. Snitz Forums 2000