Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Community » Message Board

History of AFNI updates   Suggested reading for beginners   Add yourself to the AFNI map!

 New Topic  |  Go to Top  |  Go to Topic  |  Search   Previous Message  |  Next Message 
 Re: 3dROIstats sum
Author: bob cox (---.nimh.nih.gov)
Date:   10-16-09 08:53

You could do this in 2 steps with the existing software:

3dROIstats -quiet -nzmean -nzvoxels -mask mmm+orig dataset+orig > rrr.1D
1deval -a rrr.1D'[1]' -b rrr.1D'[2]' -expr 'a*b'

That is, compute the mean of the nonzero voxels (-nzmean) and the number of nonzero voxels (-nzvoxels) in step 1, and then multiply the two values in step 2.



 Reply To This Message  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 3dROIstats sum  new
Stathis 10-15-09 18:23 
 Re: 3dROIstats sum  
bob cox 10-16-09 08:53 
 Re: 3dROIstats sum  new
Stathis 11-06-09 15:37 
 Re: 3dROIstats sum  new
Daniel Glen 11-06-09 17:27 
 Re: 3dROIstats sum  
Ziad Saad 11-06-09 22:23 
 Re: 3dROIstats sum  new
ziad 11-10-09 10:24 
 Re: 3dROIstats sum  new
Stathis 11-10-09 21:24 


 New Topic  |  Go to Top  |  Go to Topic  |  Search 
 Reply To This Message
 Your Name:
 Your E-mail:
 Subject:
 Attachment:
 Attachment:
   

Powered by Plone

phorum.org

This site conforms to the following standards: