GithubHelp home page GithubHelp logo

Comments (1)

connorgr avatar connorgr commented on May 15, 2024 1

This could be related to https://pdfs.semanticscholar.org/b5a9/0215ad9a1fb6b01f310b3d64305f7c9feb3a.pdf It seems like the CAT02, which is typically packaged with CIECAM02 can result in negative tristimulus values, which might explain why invalid colors are magically appearing.

"The Problem with CAT02 and Its Correction" Changjun Li, Esther Perales, M Ronnier Luo, and Francisco Martínez-Verdú.

Abstract:
It was reported that the CAT02 imbedded in the CIECAM02 suffers from predicting
the corresponding colours with negative tristimulus values. To overcome this problem,
a mathematical approach is proposed for modifying the CAT02. This approach
combines the non-negativity constraint for the corresponding colours’ tristimulus
values with the minimisation of the colour differences between the tristimulus values
of the corresponding colours obtained by visual observations and tristimulus values of
the corresponding colours predicted by the model, which resulted in a constrained
non-linear optimisation problem. A revised matrix is established using the MATLAB
routine “ fmincon ”.

The performances of the CAT02 with various matrices including the original CAT02
matrix and the new matrix are tested using the visual data sets and the optimum
colours. Test results show that the CAT02 with the new matrix successfully predicted
corresponding colours’ tristimulus vales without negative values for all optimum
colours and colour matching functions of two standard observers under the test
illuminants considered. However, accuracy with the new matrix for predicting the
visual data becomes about 1 CIELAB colour difference unit worse compared with the
original CAT02. It seems that the accuracy has to be sacrificed in order to ensure the
non-negativity constraint for the tristimulus values of the corresponding colours.

from d3-cam02.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.