[ITK-users] SimpleITK | Tolerance 4.7\itkImageToImageFilter.hxx

Matias Montroull matimontg at gmail.com
Sat Apr 4 10:52:29 EDT 2015


Hi,

I've ran into an issue when trying to create a checkerboard, here's the
problem:

An unhandled exception of type 'System.ApplicationException' occurred in
SimpleITKCSharpManaged.dll

Additional information: Exception thrown in SimpleITK
CheckerBoardImageFilter_Execute:
c:\d\vs9-pkg\simpleitk-build\itk-prefix\include\itk-4.7\itkImageToImageFilter.hxx:248:

itk::ERROR: CheckerBoardImageFilter(0000000038E46D40): Inputs do not occupy
the same physical space!

InputImage Origin: [-4.8500000e+002, -4.8429028e+002, 6.5235924e+001],
InputImage_1 Origin: [-4.8500000e+002, -4.8429001e+002, 6.5235901e+001]

Tolerance: 9.4730000e-007

InputImage Spacing: [9.4730000e-001, 9.4730000e-001, 1.9692001e+000],
InputImage_1 Spacing: [9.4730002e-001, 9.4730002e-001, 1.9691986e+000]

Tolerance: 9.4730000e-007

Any ways to solve this? I would solve it manually in ITK by changing the
tolerance in the ImagetoImageFilter class but not sure how to do it in
SimpleITK

Thanks,

Matias.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20150404/b940b516/attachment.html>


More information about the Insight-users mailing list