Skip to content

lauralex/daltoLAB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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