Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About using CAM16-UCS as working space for the picker. #1

Open
KelSolaar opened this issue Feb 20, 2018 · 9 comments
Open

About using CAM16-UCS as working space for the picker. #1

KelSolaar opened this issue Feb 20, 2018 · 9 comments

Comments

@KelSolaar
Copy link

Hi @OlivierVicario,

Have you thought about using CAM16-UCS colourspace for your picker? It should have better uniformity than CIE Lab.

Cheers,

Thomas

@OlivierVicario
Copy link
Owner

Hi Thomas,

I had not heard about developments after CIELab when I did this program. I've been talking about it since then and I'm looking for an implementation in java because I do not practice Python.
A contact says to me that the system that seems at the moment the most interesting for designers is the Jazbz of Ming Ronier Luo (AIC 2017 medal for color research, Director of Division 1 at CIE) which has just come out, see the equations here : https://www.osapublishing.org/oe/abstract.cfm?URI=oe-25-13-15131#articleEquations .
There is an Python implementation at https://github.com/nschloe/colorio .
I have tryed to make a java implementation from the article equations but it does not yet work ! : /

Thanks for your comment. I looked at your site and I found your characters super ! ;-)

Cheers,

Olivier

@KelSolaar
Copy link
Author

Thanks for the kind words!

We have an implementation of CAM16 here: https://github.com/colour-science/colour/blob/develop/colour/models/cam16_ucs.py

Jazbz is planned on our end but depending the dataset you use to measure performance, ICtCp from Dolby might work better:
https://www.dolby.com/us/en/technologies/dolby-vision/ICtCp-white-paper.pdf It has the same goals anyway.

Cheers,

Thomas

@OlivierVicario
Copy link
Owner

OlivierVicario commented Feb 20, 2018 via email

@OlivierVicario
Copy link
Owner

OlivierVicario commented Feb 27, 2018 via email

@KelSolaar
Copy link
Author

Oh the conversion from LMS to L'M'S' is just about encoding using the Dolby Perceptual Quantizer: https://github.com/colour-science/colour/blob/develop/colour/models/rgb/transfer_functions/st_2084.py#L59

Encoding

image

Decoding

image

@OlivierVicario
Copy link
Owner

OlivierVicario commented Feb 28, 2018 via email

@KelSolaar
Copy link
Author

Basically you need to implement the equation from the first image for encoding and pass each separate L, M, S channel through it. They are the F_D variable in the image.

@OlivierVicario
Copy link
Owner

OlivierVicario commented Feb 28, 2018 via email

@KelSolaar
Copy link
Author

You are welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants