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  

|
May 18, 2012 04:35PM
Hi Sandra,

Voting does not seem like a good idea, since voxels will not have the same values
(since it's a probability mask), unless there is a region where they are all 1. And your
clip at 0.8 for the gray matter makes it even less likely to work.

What you might do is either use linear (or whatever) interpolation in forming the new
grid, and then threshold to form a binary mask, or else make the binary mask first. I
suggest the former.

3dresample -master subj2_ER_TR_shft+orig \
-input subj2_MP_algntoEP_shft_ns_gm_short+orig \
-prefix subj2_MP_algntoEP_shft_ns_gm3mm_orig \
-rmode Li

3dcalc -a subj2_MP_algntoEP_shft_ns_gm3mm_orig+orig -expr 'step(a-0.8)' -prefix gray.mask.3mm

- rick



Edited 1 time(s). Last edit at 05/18/2012 04:36PM by rick reynolds.
Subject Author Posted

3dfractionize

Sandra Langeslag May 18, 2012 04:22PM

Re: 3dfractionize

rick reynolds May 18, 2012 04:35PM

Re: 3dfractionize

Sandra Langeslag May 18, 2012 04:51PM