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  

|
November 08, 2012 04:28PM
I found that the PAR/REC files and the NIFTI dataset were essentially identical. There were differences because of scaling and because of a shift in the origin between the two. Philips PAR/REC datasets are generally scaled values. To compute the actual value, the stored value is multiplied by a scale factor and an intercept is added (there are sometimes additional complications for some datasets, but this is usually the case for EPI data). The scale factors and intercept values are available in the PAR file in the "(re)scale columns". EPI data typically has the same scale factors throughout the dataset, so only the first one is needed here. The NIFTI file also shows the same scale factor. Additionally, this information can be found in the DICOM data if you have it under the tags '0028,1052' and '0028,1053', the IMG rescale_intercept and rescale_slope, respectively. Note these factors are not typically important for EPI data because all factors are the same across TRs and are typically scaled to a mean anyway. The origin shift is a single voxel difference we had let Philips know about some time ago, but it's probably not critical.

Back to your actual question - the data are the same, but the fields in either the PAR/REC or NIFTI do not seem to identify any information about timing. I would imagine the data does not have any slice timing correction done, but Philips would be best to answer that for sure. The 3dPARtoAFNI.pl script assumes all slices are acquired simultaneously.

You can duplicate my test with these commands:

3dPAR2AFNI.pl epi.PAR
# the scale factors are derived from the PAR dataset below
3dcalc -a epi+orig. -expr 'a*1.442+1.23483e-003' -datum float -prefix epi_scl3 -overwrite
@Align_Centers -base epi.nii -no_cp -dset epi_scl3+orig.

nifti_tool -disp_hdr -infiles epi.nii

# === IMAGE INFORMATION ==========================================================
# sl ec dyn ph ty idx pix scan% rec size (re)scale window ........

1 1 1 1 0 2 0 16 100 80 80 0.00000 1.44200 1.23483e-003 1070 1860
2 1 1 1 0 2 1 16 100 80 80 0.00000 1.44200 1.23483e-003 1025 1781
3 1 1 1 0 2 2 16 100 80 80 0.00000 1.44200 1.23483e-003 865 1503
...


https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=MRICRO;af27b9c2.0801

https://groups.google.com/forum/?fromgroups=#!topic/comp.protocols.dicom/n5ybyj1Psno

http://dbic.dartmouth.edu/wiki/index.php/Slice_Timing_Correction
Subject Author Posted

Slice timing correction issue

gauravm November 06, 2012 01:19PM

Re: Slice timing correction issue

Daniel Glen November 06, 2012 02:08PM

Re: Slice timing correction issue

gauravm November 06, 2012 03:25PM

Re: Slice timing correction issue

Daniel Glen November 06, 2012 03:38PM

Re: Slice timing correction issue

gauravm November 06, 2012 05:13PM

Re: Slice timing correction issue

Daniel Glen November 06, 2012 09:48PM

Re: Slice timing correction issue

Daniel Glen November 08, 2012 04:28PM

Re: Slice timing correction issue

gauravm November 18, 2012 04:04PM

Re: Slice timing correction issue

Peter Molfese November 18, 2012 04:33PM

Re: Slice timing correction issue

gauravm November 19, 2012 09:42AM

Re: Slice timing correction issue

rick reynolds November 19, 2012 09:55AM