Parietal-INRIA / fmralign

Functional alignment and template estimation library for functional Magnetic Resonance Imaging data
BSD 3-Clause "New" or "Revised" License
20 stars 7 forks source link

Keep a fixed parcellation when computing templates #86

Open pbarbarant opened 1 week ago

pbarbarant commented 1 week ago

_align_images_to_template instantiates a bunch of PairwiseAlignment estimators, each of which generate their own parcellation of the data. I would argue that a single parcellation should be computed once when instantiating the template for the following reasons:

  1. Obvious speed gains;
  2. The whole dataset could be used to derive more precise regions (especially for ward and kmeans), rather than working with pairs of subjects;
  3. Better control when fitting the template.

Best, PL

bthirion commented 6 days ago

Fully agree with that. We've spent too much time on pairwise alignments ...