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