Commit b0f655e
committed
fix(compare_Yee): Access correct channel in GaussianPyramid
The GaussianPyramid::value() function was accessing channel 1 instead
of channel 0 when reading luminance values. Since the luminance image
(aLum/bLum) is a single-channel image extracted from the Y component
of XYZ, we need to access channel 0.
This bug caused compare_Yee to always read zeros from the pyramid,
making it unable to detect any differences between images, including
when images have different dimensions.
Fixes #4948
Signed-off-by: pmady <[email protected]>1 parent fd5ac81 commit b0f655e
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
0 commit comments