AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
December 02, 2007 06:37PM
Hi,

I'm trying to convert a nifti format file (nii) to AFNI format using the following command:

3dcopy -prefix gefunct1+orig. gefunct1+orig.nii

When I give this command, it just seems to hang, and never actually does the conversion. The longest I've let it sit before killing it is about half-an-hour. The only output that it gives it the following:

++ 3dcopy: AFNI version=AFNI_2007_05_29_1644 (Jun 25 2007) [64-bit]

Any ideas what might be going wrong here? The machine is in fact a 64-bit machine, and I've used 3dcopy on this machine to copy brik/head files before, but not to make the conversion from nii to brik/head.

Just to give a bit of background, the nii file was created directly from Siemens dicom files using unpacksdcmdir from the freesurfer package. I used this program because it does a good job of automatically pulling out information relevant to unpacking these particular dicom files, whereas AFNI's to3d (for example) does not -- perhaps because the freesurfer package is developed at the same location where these dicoms were collected. So I'd like to continue using unpacksdcmdir, if possible.

However, unpacksdcmdir will not directly output brik/head files, but it will output nifti files. I am aware that AFNI can read nifti files, but I've run into a separate issue with that (a "3dAttribute exec failure" when attempting to use afni_proc.py with nii files). But I'll leave that problem to the side for now, unless that might be an easier one to solve.

In any case, thanks for taking the time to consider my problem.

-Joe

Subject Author Posted

converting nii to brik/head

Joe Paxton December 02, 2007 06:37PM

Re: converting nii to brik/head

rick reynolds December 02, 2007 07:50PM

Re: converting nii to brik/head

Joe Paxton December 02, 2007 08:23PM

Re: converting nii to brik/head

rick reynolds December 02, 2007 10:26PM

Re: converting nii to brik/head

Joe Paxton December 02, 2007 10:41PM

Re: converting nii to brik/head

Terry Nycum September 15, 2009 11:55PM

Re: converting nii to brik/head

Daniel Glen September 16, 2009 08:54AM

Re: converting nii to brik/head

Nate Vack September 16, 2009 03:24PM

Re: converting nii to brik/head

Terry Nycum September 16, 2009 06:31PM

Re: converting nii to brik/head

Terry Nycum September 16, 2009 06:38PM