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 01, 2020 09:50AM
If you are trying to convert any non-zero voxel value into a value of 1, you can do something like this

3dcalc -a mydset.nii.gz -expr 'step(a)' -prefix mydset_mask.nii

That works for positive values at each voxel. If you want to include negative values, then use 'step(abs(a))' in your expression. If you want values that exceed some threshold, then use 'step(a-0.12345)', replacing the value for the threshold. Hope that makes sense and that it answers your question.
Subject Author Posted

A question about the ROI created of activated area

wallypsy March 31, 2020 11:02PM

Re: A question about the ROI created of activated area

Daniel Glen April 01, 2020 09:50AM

Re: A question about the ROI created of activated area

wallypsy April 01, 2020 07:47PM

Re: A question about the ROI created of activated area

Daniel Glen April 02, 2020 10:55AM