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 
> <ypa...@research.baycrest.org <mailto:ypa...@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

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to