This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the user guide for the big picture.


nilearn.plotting.find_parcellation_cut_coords(labels_img, background_label=0, return_label_names=False, label_hemisphere='left')[source]

Return coordinates of center of mass of 3D parcellation atlas.

labels_img3D Nifti1Image

A brain parcellation atlas with specific mask labels for each parcellated region.

background_labelint, default=0

Label value used in labels_img to represent background.

return_label_namesbool, default=False

Returns list of labels.

label_hemisphere‘left’ or ‘right’, default=’left’

Choice of hemisphere to compute label center coords for. Applies only in cases where atlas labels are lateralized. Eg. Yeo or Harvard Oxford atlas.

coordsnumpy.ndarray of shape (n_labels, 3)

Label regions cut coordinates in image space (mm).

labels_listlist, optional

Label region. Returned only when return_label_names is True.

See also


For coordinates extraction on probabilistic atlases (4D) (Eg. MSDL atlas)

Examples using nilearn.plotting.find_parcellation_cut_coords

Comparing connectomes on different reference atlases

Comparing connectomes on different reference atlases

Extract signals on spheres and plot a connectome

Extract signals on spheres and plot a connectome