miykael / parcellation_fragmenter

Fragments FreeSurfer parcellation annotation in N-equal sized parcels
BSD 3-Clause "New" or "Revised" License
27 stars 11 forks source link

return coordinates of regional segmentations #22

Open kristianeschenburg opened 6 years ago

kristianeschenburg commented 6 years ago

For the restricted parcellation, we should return the mappings of each region to the coordinates of each new sub-region fragment. We can add this to RegionExtractor probably.

miykael commented 6 years ago

Yes. But I think we some how also need to make sure that the label numbering increases for each new subregion, something, like new_labels + np.max(old_labels).