RegionProps Error
When creating RegionProps for the following Input (see also code bellow):
- Parcellation: Julich-Brain Probabilistic Cytoarchitectonic Maps (v2.5)
- Space: MNI Colin 27
- Region: Area PFm (IPL) - right hemisphere
I get the following Error: TypeError: Non-integer label_image types are ambiguous
This error aslo occurs on other combinations of Parcellation/Space/Region
atlas = REGISTRY.MULTILEVEL_HUMAN_ATLAS
# Julich-Brain Probabilistic Cytoarchitectonic Maps (v2.5)
atlas.select_parcellation('minds/core/parcellationatlas/v1.0.0/94c1125b-b87e-45e4-901c-00daee7f2579-25')
# Region 'Area PFm (IPL) - right hemisphere'
selected_region = atlas.regiontree.find('Area PFm (IPL) - right hemisphere')
atlas.select_region(selected_region[0])
# MNI Colin 27
space_id = 'minds/core/referencespace/v1.0.0/7f39f7be-445b-47c0-9791-e971c0b6d992'
r_props = regionprops.RegionProps(atlas, find_space_by_id(atlas, space_id))