Converts NIML ROI representation in mapping from ROI labels to node indices
Parameters : | roi: list of dictionaries or str :
|
---|---|
Returns : | roi_mapping: dict :
|
Notes
It is assumed that all labels in the rois are unique, otherwise an exception is raised