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  

|
April 24, 2003 02:19PM
There are two complementary 3D+time "quality check" programs in the AFNI package.

3dTqual computes the median of each voxel time series; this is the "median brick". For each time point, it then computes 1 minuse the correlation (Spearman rank, or quadrant) correlation coefficient of the actual data brick at that time with the median brick. Values that are close to 0 mean that 3D volume is correlated highly with the median brick, which is good. Values much larger than 0 are not highly correlated with the median brick, which means they are probably corrupted by large head movements or ghosting artifacts. Essentially, 3dTqual looks for 3D volumes that are "weird".

3dToutcount is a more detailed look at the data. It computes the median and MAD of each voxel time series - the MAD provides an estimate of the variability of the time series. Then each time point is examined; if it is significantly away from the median of its time series (relative to the MAD of that time series), it is marked as an outlier. (The "-save" option lets you save a dataset that is marked with the "outlierness" of each data point.) Then, for each time point, the number of outliers in that 3D volume is counted. Volumes that have "too many" outliers are flagged as "weird". This is the same algorithm that to3d's quality check does, by the way.

Historically, 3dTqual was first. 3dToutcount was developed later, and is probablly better, since its "-save" option lets you actually flag the outliers.

The related program 3dDespike actually tries to repair large isolated spikes in 3D+time datasets. It was written to patch over a hardware problem we had with one of our scanners. I don't strongly recommend it, but it can be used when you have a dataset that has a few very corrupted data points that will throw the 3dDeconvolve statistics into a tizzy.

bob cox
Subject Author Posted

3dTqual

Eric April 24, 2003 11:13AM

Re: 3dTqual

bob cox April 24, 2003 02:19PM