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  

|
August 09, 2022 09:47AM
Hello AFNI experts,

I have two z-scored co-activation maps. I would like to compare the spatial overlap between these two maps by computing the Dice Coefficient.

The first step in preparation of doing this, is that I need to threshold and binarize the two co-activation maps.

The co-activation maps consist of both positive Z-scores (activations) and negative Z-scores (deactivations).

I would like Z scores between 1.5 and 4 to be marked as "1s" and Z scores between -1.5 and -4 to be marked as "1s". The rest will be "0s" when binarizing.

Is there a way to do this with 3dcalc.

I was also curious if there is a way to compute the dice coefficient with AFNI?

I found a way to do it via an R and FSL interface, but even better if there is way to do all of this in AFNI.

Thanks for your time and expertise!

Emily
Subject Author Posted

thresholding and binarizing images

ebelleau August 09, 2022 09:47AM

Re: thresholding and binarizing images

ptaylor August 09, 2022 10:36AM

Re: thresholding and binarizing images

ptaylor August 09, 2022 10:44AM

Re: thresholding and binarizing images

Daniel Glen August 09, 2022 10:45AM

Re: thresholding and binarizing images

ptaylor August 09, 2022 10:50AM

Re: thresholding and binarizing images

ebelleau August 11, 2022 10:37AM