coder-spirit / colorsharp Goto Github PK
View Code? Open in Web Editor NEWA .NET/Mono library to handle color spaces (and light spectrums!)
License: MIT License
A .NET/Mono library to handle color spaces (and light spectrums!)
License: MIT License
It would be interesting to add support to add support to the old CIE's RGB color space (not to be confused with sRGB).
Related work:
Chromatic Adaptation Transforms are needed in order to compute the spectrum's CRI (see #12), but also in other situations.
That's a work in progress, help and ideas are welcome, but this won't be a 'from scratch task'.
Adding CRI computation (for the spectrums) is a very important step, since it's one of the main milestones we want to achieve.
This feature isn't trivial, since it depends on another important and missing feature: Chromatic Adaptation Transforms (see #13).
Adding CQS computation (for the spectrums) is a very important step, since it's one of the main milestones we want to achieve.
This feature isn't trivial, I recommend to achieve CRI (see #12) computation in first place.
The SpectralWorkbench project has a nice API to retrieve and send light spectral information. It wold be nice if ColorSharp can use this API to interact with the SpectralWorkbench database.
The UCS word is used for many CIE color spaces, and the CIEUCS class is used to represent a deprecated color space, so it's better to change its name.
The CIEUCS class represents the color space from this article:
https://en.wikipedia.org/wiki/CIE_1960_color_space .
The current test suite is completely doomed. It sucks. I don't ask for help because it's my fault, in any case, this must be explained here to track the development process.
There are common illuminants missing in ColorSharp:
It would be interesting to add support to add support to the CIE's 1976 LUV color space (derived from the CIE's 1960 MacAdam color space).
Related work:
Wikipedia article about this color space:
https://en.wikipedia.org/wiki/CIELUV
It would be interesting to add support to the CIE's 1964 UVW color space (Not to be confused with the CIE's 1960 color space, nor the CIE's 1976 color space).
I propose to name the class CIE1964
instead of CIEUVW
because it's not a widely used color space and I think it's probable that some programmers use the wrong classes if we name it with its coordinate symbols.
Wikipedia Reference: https://en.wikipedia.org/wiki/CIE_1964_color_space
Currently the ColorSharp's NuGet package only supports .NET 4.0.
It's easy to support another .NET version, but supporting multiple versions at the same time without MS Visual Studio isn't trivial.
It would be nice to have this feature to make easier to use ColorSharp.
RegularLightSpectrum.Equals fails to determine equality.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.