run¶
Import in python using from mcot.core._scripts.parcel.combine import run
-
mcot.core._scripts.parcel.combine.run(arr1, label1, arr2, label2)[source]¶ Combines the two parcellations into one by multiplying
Parameters: - arr1 – int array with first parcellation
- label1 – dict from index to (name, RGBA colour) for first parcellation
- arr2 – int array with second parcellation
- label2 – dict from index to (name, RGBA colour) for second parcellation
Returns: tuple with two elements:
- int array with final parcellation
- dict from index to (name, RBBA colour)