I see that the ants template building scripts default to float. I was wondering if the float vs double results have been investgiated/compared anywhere?
I have plans to do so with my methods but I'd like to read over any other work first.
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I see that the ants template building scripts default to float. I was wondering if the float vs double results have been investgiated/compared anywhere?
I have plans to do so with my methods but I'd like to read over any other work first.
Thanks.
One reason I chose double versus float (at least with the older version of the registration program) is avoiding this issue.
Exception caught:
itk::ExceptionObject (0xa84770)
Location: "unknown"
File: /ITKv4-install/include/ITK-4.6/itkImageToImageFilter.hxx
Line: 248
Description: itk::ERROR: ImageToImageFilter(0xa815e0): Inputs do not occupy the same physical space!
InputImage Origin: [1.0943500e+01, 5.4395000e+00, -5.4395000e+00],
InputImage_1 Origin: [1.0943501e+01, 5.4394999e+00, -5.4394999e+00]
Tolerance: 8.6000003e-08
Using single precision for computations.
This may not an issue anymore with the current itk version though, or for your images.
Good luck!
alex