Open acdo2002 opened 6 months ago
Additional context Here is the screenshot to show how to reproduce this behavior. You can see if open the same image and spatially matched, set a specific region x centre in 300px; y centre in 200px; x size is 400px; y size is 400px The total NumPixels is different, one is 160801 another is 160401. abs(160801 - 160401)/160801(macOS provide this value)*100 = 0.25% uncertainty However is you shift 1px in y centre like to following screenshot Then the total NumPixels becomes the same.
Updated:
Kuo-Song mentions it is the expected sampling problem for the wide field images. I leave the behavior I found here.
Describe the bug This is the regression bug (only happened started from the commit
de4da528
). In the Ubuntu 22.04 system (not happened in the MacOS 11 and MacOS 13), if you open the two matched images, and set the region close to the edge, the total NumPixels are different. If the region is slight offset from the edge, the difference disappears, only happened in the region close to the edge.To Reproduce Steps to reproduce the behavior:
Expected behavior NumPixels should be the same between two matched (the same, only format is different) images The related ICD-RxJS is in the branch
mylin/#Add-part2
(not merged yet), src/test/MATCH_STATS_WIDE_BORDERLINE.test.ts (link)Platform info (please complete the following information):
Additional context Add any other context about the problem here.