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  

|
March 05, 2008 05:48PM
Hi,
I am using 3dcalc to multiply EPI data by an ROI mask via the following script:
3dcalc -fscale \
-a ${study}.${subject}.${cond}.${diff}.ROI.GB4.iresp+orig \
-b ${study}.${subject}.${ROI}.resam+orig \
-expr '(a*b)' \
-prefix ${study}.${subject}.${cond}.${diff}.ROI.${region}.iresp+orig

The issue that I'm having is that the output dataset consists of EPI data for all 14 ROIs included in the mask and I would like a separate dataset for each ROI drawn. Is there a way that I can restrict the voxels from dataset b (my ROI mask) so that only the mask values for an individual ROI will be used? For example in 3dmaskave there is the option mrange a b... is there a similar option I can use for 3dcalc?

Thanks,
Kristen
Subject Author Posted

Restricting voxels in 3dcalc

Kristen Kokotilo March 05, 2008 05:48PM

Re: Restricting voxels in 3dcalc

rick reynolds March 05, 2008 05:58PM

Re: Restricting voxels in 3dcalc

Daniel Glen March 05, 2008 06:02PM

Re: Restricting voxels in 3dcalc

Kristen Kokotilo March 05, 2008 06:15PM