Hey ningfei;
Heres is the full error I get:
Exception Object caught:
itk::ExceptionObject (00000050A82FCF18)
Location: “unknown”
File: c:\users\ningfei\desktop\ants\bypass\itkv4-install\include\itk-4.11\itkImageToImageFilter.hxx
Line: 250
Description: itk::ERROR: ImageToImageFilter(000001CA4E20C7E0): Inputs do not occupy the same physical space!
InputImage Origin: [9.7750000e+01, 1.3375000e+02, -7.1750000e+01], InputImage_1 Origin: [9.8000000e+01, 1.3400000e+02, -7.2000000e+01]
Tolerance: 1.0000000e-06
InputImage Spacing: [1.0000000e+00, 1.0000000e+00, 1.0000000e+00], InputImage_1 Spacing: [5.0000000e-01, 5.0000000e-01, 5.0000000e-01]
Tolerance: 1.0000000e-06
Using single precision for computations.
Input scalar image: C:\MATLAB\RafPinto\Rafa_NewTry\DICOM_MR\anat_t1.nii
Reference image: C:\Users\marce\Downloads\lead\templates\space\MNI_ICBM_2009b_NLIN_ASYM\t1.nii
Transform file does not exist: C:\MATLAB\RafPinto\Rafa_NewTry\DICOM_MR\glanatComposite.h5
Can’t read initial transform C:\MATLAB\RafPinto\Rafa_NewTry\DICOM_MR\glanatComposite.h5
Using single precision for computations.
Input scalar image: C:\MATLAB\RafPinto\Rafa_NewTry\DICOM_MR\rpostop_ct.nii
Reference image: C:\Users\marce\Downloads\lead\templates\space\MNI_ICBM_2009b_NLIN_ASYM\t1.nii
Transform file does not exist: C:\MATLAB\RafPinto\Rafa_NewTry\DICOM_MR\glanatComposite.h5
Can’t read initial transform C:\MATLAB\RafPinto\Rafa_NewTry\DICOM_MR\glanatComposite.h5
C:\MATLAB\RafPinto\Rafa_NewTry\DICOM_MR\glanat.nii not found. Skip generating l*.nii files (small bounding box)…
C:\MATLAB\RafPinto\Rafa_NewTry\DICOM_MR\glpostop_ct.nii not found. Skip generating l*.nii files (small bounding box)… Done. (80100.3978 s)
Tonemapping CT…
Error using spm_vol>spm_vol_hdr (line 80)
File “C:\MATLAB\RafPinto\Rafa_NewTry\DICOM_MR\glpostop_ct.nii” does not exist.
Any idea/suggestion?
Thanks
Marcelo