Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi-target correction how to perform #89

Open
toan1612 opened this issue May 16, 2023 · 1 comment
Open

multi-target correction how to perform #89

toan1612 opened this issue May 16, 2023 · 1 comment

Comments

@toan1612
Copy link

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

    Tolerance: 1.0000000e-02
@BWWwustl
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants