Dear Andreas,
spm_get_data is a loop around spm_sample_vol. Interpolation is set to
nearest neighbour only though.
Best regards,
Guillaume.
On 06/12/2018 20:27, Andreas Horn wrote:
> Dear SPM experts,
>
> I love spm_sample_vol to extract entries from images (that may also reside between voxels, i.e. will be interpolated).
> Is there potentially a newer similar function to extract those values from 4D volumes as well – so that I could e.g. extract time series without using a loop?
>
> Thanks!
>
--
Guillaume Flandin, PhD
Wellcome Centre for Human Neuroimaging
UCL Queen Square Institute of Neurology
London WC1N 3BG
|