I created a label map with 2 segments and gave voxel value 0.4 to 1 segment and 0.6 to the other. The label map in NIfTI format was originated from the NIfTI PET imaging file using 3D Slicer, thus the physical spaces of the 2 images should be exactly the same . All the other correction methods work fine with the PET image and the mask file (label map file) but only MTC failed:
Performing MTC...
I think I faced exactly the same issue when I applied the MTC/RBV. In my case, my header info are not consistent with the input and the mask. You may want to check the header to see if they match with each other.
I created a label map with 2 segments and gave voxel value 0.4 to 1 segment and 0.6 to the other. The label map in NIfTI format was originated from the NIfTI PET imaging file using 3D Slicer, thus the physical spaces of the 2 images should be exactly the same . All the other correction methods work fine with the PET image and the mask file (label map file) but only MTC failed: Performing MTC...
[Error] failure applying MTC on: PETni.nii
itk::ExceptionObject (00000096BF589F48) Location: "void __cdecl itk::ImageToImageFilter<class itk::Image<float,3>,class itk::Image<float,3> >::VerifyInputInformation(void) const" File: D:\Program Files\ITK\src\Modules\Core\Common\include\itkImageToImageFilter.hxx Line: 219 Description: ITK ERROR: SubtractImageFilter(000002689370DBD0): Inputs do not occupy the same physical space! InputImage Origin: [1.3450002e+01, 1.1100002e+01, -1.8385001e+02], InputImage_1 Origin: [0.0000000e+00, 0.0000000e+00, 0.0000000e+00] Tolerance: 3.0000001e-03 InputImage Spacing: [3.0000001e-01, 3.0000001e-01, 3.0000299e-01], InputImage_1 Spacing: [1.0000000e+00, 1.0000000e+00, 1.0000000e+00] Tolerance: 3.0000001e-03 InputImage Direction: -1.0000000e+00 0.0000000e+00 0.0000000e+00 0.0000000e+00 -1.0000000e+00 0.0000000e+00 0.0000000e+00 0.0000000e+00 1.0000000e+00 , InputImage_1 Direction: 1.0000000e+00 0.0000000e+00 0.0000000e+00 0.0000000e+00 1.0000000e+00 0.0000000e+00 0.0000000e+00 0.0000000e+00 1.0000000e+00