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  

|
October 11, 2005 07:03AM
Hi,

I'm trying to combine 2 sets of clusters, but I'm experiencing problems manipulating them with 3dcalc.
One of the 2 sets (clustCorr+orig) has 9 clusters, the other (clustSpaz+orig) 60. I would like to potentially get 540 (9*60) distinct clusters.
I tried to get this muliplying the values of each voxel in the first set of cluster (interger values ranging from 0 to 9) times 100, so the new indexes of the voxels of the clusters should be 0, 100, 200, ..., 900.

3dcalc -a clustCorr+orig -expr "a*100" -prefix clustCorr100

The next step was to add, voxel by voxel, the values of the new obtained dataset with the ones in the 60 clusters' dataset:

3dcalc -a clustSpaz+orig -b clustCorr100+orig -expr "a+b" -prefix clustSpaz+Corr100

Well, I experienced two problems:

1. in the first step (multiplication) I got unspected decimal values (e.g.: 98.7982, 116.0981).

2. in the second step (summation) I got the same result adding two different pairs of numbers (e.g.: 201.1765 + 8 = 209.7256 , but also 201.1765 + 10 = 209.7256).

What's going on? Am I using 3dcal in an improper way? Or am I manipulating datasets of a "wrong type"?

Any suggestion?

Thanks,

Davide
Subject Author Posted

Problems (3dcalc?) combining 2 sets of clusters

davide October 11, 2005 07:03AM

Re: Problems (3dcalc?) combining 2 sets of clusters

rick reynolds October 11, 2005 08:52AM

Re: Problems (3dcalc?) combining 2 sets of clusters

davide October 11, 2005 09:59AM