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

COMP: Numerical computation precision limit in resampling #4570

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Examples/Filtering/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,10 @@ itk_add_test(
ResampleImageFilter9Test
COMMAND
${ITK_TEST_DRIVER}
# Coordinate computations for nearest neighbor are computed at the limits of numerical precision for this image
# during resampling. arm64 and x86_64 compute input continuous index coordinates as 105.39999999999999 vs 105.4
# which requires a slight tolerance acceptance in the comparisons
--compareRadiusTolerance 1
--compare
DATA{${BASELINE}/ResampleImageFilter9TestPixelCentered.png,:}
${TEMP}/ResampleImageFilter9TestNearestPixelCentered.png
Expand Down
Loading