ENH: consider colors with de < 5 as the same

1. Use cie de2000 as color distance
2.Consider colors with de < 5 as the same color  when calculating
flush

jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I4b451910a21c9db3471c63c270f1f120e3c5d160
(cherry picked from commit 72bc6f44cfab9145aecdb843ac4a03a9338a8cc6)
This commit is contained in:
xun.zhang
2024-09-27 19:07:52 +08:00
committed by Noisyfox
parent 179eab1355
commit b71d14b526
4 changed files with 278 additions and 42 deletions

View File

@@ -1,3 +1,5 @@
colors
#000000 #C12E1F #00AE42 #545454 #D1D3D5 #5B6579 #F4EE2A #9D432C #5E43B7 #0A2989 #FF6A13 #8E9089
src dst flush
#000000 #545454 236
#000000 #F4EE2A 386