GithubHelp home page GithubHelp logo

lauralex / daltolab Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 2.02 MB

LAB color correction algorithm and LUT->ICC generation for Deuteranopia

License: MIT License

Python 13.03% Roff 86.97%
color color-blindness color-correction color-space colorblindness colour daltonism lab lab-color lut

daltolab's Introduction

daltoLAB

A project with the purpose of aiding color-blind people by correcting the pixel colors of the entire display in "real-time".

Current state of the project

The main python file will contain some sample code to output a color-corrected image (starting from an input image): this is a prototype with the purpose of calibrating some constants and thresholds based on the perception of a specific subject.

Instructions

  • Use the main.py and edit it to customize your LAB color correction logic
  • Apply the transformation to the hald image: Neutral_25.png
  • Upload the modified image to https://sirserch.github.io/lut-creator-js to get the LUT in .CUBE format
  • Use the dwm_lut program to apply the LUT to your monitor(s) (credits to the original author @ledoge)

Presets for Deuteranomaly

You can use deuteranomaly_emotive_to_.4.cube or deuteranomaly_emotive_to_.5.cube if you want to apply a LUT color correction for deuteranomaly (many thanks to @EmotiveColor)

Roadmap

  • Simple prototype that implements the LAB color correction algorithm
  • LUT generation (probably using an identity HALD and converting the output HALD to a 3D LUT file)
  • dwm_lut fork (working with Windows 11)
  • Color correction algorithm enhancement. Also, some input prompts to facilitate the calibration phase.
  • Code cleanup

daltolab's People

Contributors

lauralex avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

prongs500

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.