The Python version produces incorrect results for some images. This is due to line 104-105 in WBsRGB.py.
These lines sort the distances, but not the already extracted mapping functions (line 101), thereby causing a mismatch between mapping matrix and distance/weight.
If these two lines are commented out, the result is correct.
Should I open a pull request?
Additionally, I also have some misc. performance improvements. Should I open a separate PR for these?
The Python version produces incorrect results for some images. This is due to line 104-105 in
WBsRGB.py
. These lines sort the distances, but not the already extracted mapping functions (line 101), thereby causing a mismatch between mapping matrix and distance/weight. If these two lines are commented out, the result is correct.Should I open a pull request?
Additionally, I also have some misc. performance improvements. Should I open a separate PR for these?