Add option to merge regions
Currently analyses rely on being supplied with an atlas to be used for the entire analysis. This has caused some overhead with the AAL v3.1 atlas as it contains some very small regions which are most likely not large enough to be captured with fMRI. Thus the atlas was modified manually.
Ideally this could be done programatically with abitrary atlas files, so:
- You check the volume of regions in the atlas compared to a threshold
- Merge regions either based on user preferences or by checking whether they are neighbours
- Write the new file to disk
This is most likely a rare use case, but manually editing atlas files is error prone and tedious.