Skip to content

JingeW/Color-Blindness-Image-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Color Blindness Image Simulation

After conducting further research on colorblindness simulation, I highly recommend the DaltonLens-Python repository. The author's blog is well worth reading.

Requirements

  1. cv2
  2. numpy
  3. matplotlib

Repository Structure

.
├── data                                 # Contains the input images
├── results                              # Contains the output images
├── rendering.py                         # Color blindness image simulation
└── README.md

Rendering Result

The sample image is cropped from the screenshot of the paper

Color-blind friendly version

Test the script:

  • run python rendering.py --[image_path] --[output_path]

Disclaimer

The code in this project is revised based on RGB2Colorblind.

Please refer License Information of RGB2Colorblind.

About

Code revision of RGB2Colorblind for CVD image simulation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages