4 dimension images

Dear,

My PET and MR images had 4 dimensions in nii format (last dimension time which was equal to 1). I noticed the spinal cord toolbox was not able to read this images, so we had to first reduce the dimensions before we could analyze them. Maybe there is a way to implement reading 4D images and remove the 4th dimension - if it is 1 - in the scripts?

Thank you.

Donatienne

Hi @Donatienne_Van_Weeha,

One way to do that would be:

sct_maths -i 4DIMAGE -mean t -o 3DIMAGE

Hope that helps,
Julien