WCHN / CTseg

Brain CT image segmentation, normalisation, skull-stripping and total brain/intracranial volume computation.
GNU General Public License v3.0
55 stars 17 forks source link

[Feature request] spm_CTseg_warp should be able to warp multiple images #14

Open pwrightkcl opened 2 years ago

pwrightkcl commented 2 years ago

Currently, spm_CTseg_warp only takes a single image. Most of the standard tools to apply deformation fields accept multiple images. Would it run faster if it worked on a list of image using the same deformation field?

brudfors commented 2 years ago

Hi Paul, Wouldn't the deformation field be subject-specific, so why would you want to apply the same field to different subjects? Or maybe I am missing something :)

pwrightkcl commented 2 years ago

This would be if there were multiple images for the same subject. A series of masks, for example.

brudfors commented 2 years ago

Ah, I see!

I think it might be possible to give a list of paths at, for example, line 68. If you want, you could try that, and make as PR referenceing this issue if it does work.