I have used 3dROIstats to compute the number of non-zero voxels contained within a region-of-interest mask. I am wondering if there is a way to further compute the number of non-zero voxels within this mask that exceed a given size parameter (e.g., 1 mL contiguous). In other words, I would like to compute the number of non-zero voxels only if there are a total of approx. 296 adjoining voxels (at 1.5 isotropic resolution this would equate approx. 1mL contiguous).
Thanks in advance for your input.
Best,
Jesse
Edited 1 time(s). Last edit at 12/02/2019 12:45PM by Jesse DeSimone.