Comments (4)
I've verified the calculation is correct here:
http://colormine.org/delta-e-calculator/cie2000
I read the linked resource when creating this library. Does something specific exist in the paper which refutes the accuracy of the implementation?
(By the way, de00 gives inaccurate results when there is a hue shift of 180/360 degrees. this is mentioned in the paper)
from deltae.
I just noticed in your original message you said the difference in color is extremely small. Are you using the CIELAB color space? The colors are drastically different. Bright green vs bright pink.
You can also tell the colors are polar opposites in hue because the colors are inverted in A/B values.
from deltae.
Well, I fed all the test data in that paper through this function and it looks like the results are the same.
The difference in the second color is extremely small in both cases. But it is a flip at the 180Β° mark.
Also, the paper only tests colors with a very small color difference (R<2.5) so the discontinuity is small there. But as you can see above, the discontinuity is huge.
That said, DeltaE is apparently just really bad at diffing colors where dE>5 or so. So, if (dE00(a,b)>5) return NaN;
π.
From the paper:
Though the CIEDE2000 color-difference equations are only applicable for small color differences, it is preferable that data for testing software implementations should include at least a few large color differences
from deltae.
Momma always said nothing was perfect π
Reviewing this, it would be cool if discontinuity was calculated. Too specific of a use case and time consuming for it to be a good addition I think.
Cheers!
from deltae.
Related Issues (8)
- Should DeltaE return numbers over 100? HOT 5
- About the source of the relationship table between delta e and perception HOT 1
- why not just use rgb distance? HOT 1
- ES Module Support
- One obvious speedup opprotunity HOT 1
- Performance somehow drops on local installation HOT 5
- β.getDeltaE94β returns a βNaNβ. β¦β¦How come? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deltae.