tree-structured Bayesian network for brain fMRI segmentation