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  

|
June 27, 2007 11:36AM
Dr. Glen,

I tried using your script on our dynamic scan, and while it was able to produce an 4D BRIK with the proper space and time dimensions, most of the voxels are messed up (either too dark or bright). When the script was running, AFNI gave me the following warning.

[kanevskya@drdb55 HSRat.106CP.2007.06.23.PARREC]$ csh ~/scripts/PARREC_to_HEADBRIK.csh hi_test DBIEX_7_1
Converting -time:zt 32 360 8.100ms simult 3D:0:0:256:256:11520:DBIEX_7_1.REC
++ to3d: AFNI version=AFNI_2007_05_29_1644 (Jun 1 2007) [32-bit]
++ Authored by: RW Cox
*+ WARNING: TR expressed in milliseconds will be converted to TR=0.008100s
++ Counting images: total=11520 2D slices
++ Each 2D slice is 256 X 256 pixels
++ Image data type = short
++ Reading images: ++ Executing -2swap on input image [DBIEX_7_1.REC...]
..........................................
++ to3d WARNING: 28837331 negative voxels (3.81964%) were read in images of shorts.
++ It is possible the input images need byte-swapping.
++ 3D dataset written to disk

Something seems still seems to be wrong.

Instead of trying to be slick, I was able to determine the to3d command my original script generated using data from before the Philips upgrade and kind of fooled around with the command until I was able to produce a comparable HEAD/BRIK file from data collected since the upgrade. For my dynamic scan, I used the following command and it seemed to do exactly what I wanted...

to3d -prefix output -in:1 -skip_outliers -xFOV 76.8I-S -yFOV 76.8R-L -zFOV 16P-A -time:zt 32 360 20s simult 3D:0:0:256:256:11520:input.REC

I have gone ahead an uploaded the HEAD/BRIK generated by your script and the HEAD/BRIK generated from my above command, both using the same dynamic scan. The difference is clear from visual inspection (though I'm not sure why its happening).
Subject Author Posted

PAR/REC to HEAD/BRIK conversion script no longer works with new Philips upgrade

Ariel June 25, 2007 11:00AM

Re: PAR/REC to HEAD/BRIK conversion script no longer works with new Philips upgr

Daniel Glen June 25, 2007 01:38PM

Re: PAR/REC to HEAD/BRIK conversion script no longer works with new Philips upgr

Ariel June 25, 2007 03:20PM

Re: PAR/REC to HEAD/BRIK conversion script no longer works with new Philips upgr

Daniel Glen June 25, 2007 03:35PM

Re: PAR/REC to HEAD/BRIK conversion script no longer works with new Philips upgr

Ariel June 25, 2007 05:51PM

Re: PAR/REC to HEAD/BRIK conversion script no longer works with new Philips upgr

Ariel June 26, 2007 10:12AM

Re: PAR/REC to HEAD/BRIK conversion script no longer works with new Philips upgr

Daniel Glen June 26, 2007 12:32PM

Re: PAR/REC to HEAD/BRIK conversion script no longer works with new Philips upgr

Ariel June 27, 2007 11:36AM

Re: PAR/REC to HEAD/BRIK conversion script no longer works with new Philips upgr

Daniel Glen June 27, 2007 11:42AM

Re: PAR/REC to HEAD/BRIK conversion script no longer works with new Philips upgr

Ariel June 27, 2007 01:56PM

Re: PAR/REC to HEAD/BRIK conversion script no longer works with new Philips upgr

Colm Connolly October 04, 2007 06:15AM

Re: PAR/REC to HEAD/BRIK conversion script no longer works with new Philips upgr

Keith McGregor October 03, 2007 08:41PM