Hi SPM users,
I converted images from dicom to nifti format,did coregistration and now I want to write the images in nifti to dicom. For converting, I'm copying the header information from the original dicom images to the coregistered images. But as due to the coregistration, the ImagePostionPatient will change so I was wondering if I could get this information from the nifti header (may be in the mat file) to replace this tag in the dicom header.
Please tell me your suggestions.