I am trying to generate a transformation using antsRegistrationSyN.sh, but there seems to be an issue with one of the MRIs. Specifically, I get this error:
WARNING: In /usr/local/ANTs/build/ITKv5/Modules/IO/NIFTI/src/itkNiftiImageIO.cxx, line 1934
NiftiImageIO (0x560b169efbb0): ../defT1_bs.nii has unexpected scales in sform
Exception caught during reference file reading
itk::ExceptionObject (0x560b169c95b0)
Location: "unknown"
File: /usr/local/ANTs/build/ITKv5/Modules/IO/NIFTI/src/itkNiftiImageIO.cxx
Line: 2016
Description: ITK ERROR: ITK only supports orthonormal direction cosines. No orthonormal definition found!
file ../defT1_bs.nii
Exception Object caught:
itk::ExceptionObject (0x560b169c95b0)
Location: "unknown"
File: /usr/local/ANTs/build/staging/include/ITK-5.4/itkCenteredTransformInitializer.hxx
Line: 35
Description: ITK ERROR: CenteredTransformInitializer(0x560b169ebcd0): Moving Image has not been set
By checking the header, the sform looks like this:
Hi everyone,
I am trying to generate a transformation using
antsRegistrationSyN.sh
, but there seems to be an issue with one of the MRIs. Specifically, I get this error:By checking the header, the sform looks like this:
Any clue?
Thank you, Ramtin