InsightSoftwareConsortium / InsightSoftwareConsortium/ITK

itkN4BiasFieldCorrectionImageFilter output discrepancy between CentOS 7 and CentOS 8

Open
#2,062 8 comments 0 reactions 0 assignees View on GitHub
area:Filtering status:Use_Milestone_Backlog type:Performance
Dominant language
C++
Stars
1.7k
Forks
748
Avg merge
1d 1h
Merged PRs (30d)
64

Description

As we freesurfer team were testing the reproducibility of our reconstruction code, we observed a small difference between outputs from CentOS 7 and CentOS 8, under the same binary. Upon further inspection, we believe that the difference came from itkN4BiasFieldCorrectionImageFilter. The difference is tiny but we would still like to eliminate it if possible.

Attached please find a test code and the sample input and output image files:
[itk.zip](https://github.com/InsightSoftwareConsortium/ITK/files/5379381/itk.zip)

To run the code:
./test input.nii mask.nii output.cos7.nii

The binary we tested was compiled under CentOS 7. output.cos7.nii is the result from centOS 7 and output.cos8.nii is the result from CentOS 8. If we run our mri_diff command on the two outputs, we get this:

diffcount 15932
Volumes differ in pixel data
maxdiff 0.00003052 at 13 31 17 0

As mentioned above, the difference is tiny. But we would like to eliminate it if possible. Does anyone have any idea if this could possibly be fixed/improved?

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.