CTseg icon indicating copy to clipboard operation
CTseg copied to clipboard

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

Open pwrightkcl opened this issue 2 years ago • 3 comments

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?

pwrightkcl avatar Jan 18 '22 12:01 pwrightkcl

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 :)

brudfors avatar Jan 18 '22 12:01 brudfors

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

pwrightkcl avatar Jan 18 '22 12:01 pwrightkcl

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.

brudfors avatar Jan 18 '22 13:01 brudfors