No, sorry. You can do it easily enough in matlab, eg
seg = MRIread('seg.mgz');
input = MRIread('input.mgz');
ind = find(seg.vol == SegNo);
segmode = mode(input.vol(ind));
[h x] = hist(input.vol(ind),100);
On 03/13/2018 07:58 PM, Yash Patel wrote:
Any updates or ideas in extracting histogram data from mri_segstats?
On Sun, Mar 11, 2018 at 1:16 PM Yash Patel <ypatel@research.baycrest.org mailto:ypatel@research.baycrest.org> wrote:
Dear all, I am using mri_segstats to obtain intensity values from each of the 34 cortical parcellations in the Desikan-Killiany Atlas; this provides metrics such as mean, min, max, range, and standard deviation. Is there a way to extract information such as the *mode*, or information to create a histogram for each of the particular regions? Thank you, Yash
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer