open-discussion > RE: number of clusters
Aug 17, 2015  09:08 AM | Daniel Lurie
RE: number of clusters
Hi again,

This script should work until Cameron releases an official fix: https://github.com/danlurie/cluster_roi/blob/master/nifti_gen_fix.py

The problem was essentially an overflow error; the data type from the mask image (to which the parcellation values are written) is uint8 by default, which can't handle values over 255. My fix converts everything to float64, which is overkill, but works.

Let me know if there are any issues.

Dan

Threaded View

TitleAuthorDate
Shengwei Zhang Jan 27, 2015
RE: number of clusters
Daniel Lurie Aug 17, 2015
Daniel Lurie Aug 17, 2015
S Mody Aug 15, 2015
Adam Steel Aug 13, 2015
S Mody Aug 15, 2015
Shengwei Zhang Aug 13, 2015