/Color-Blindness-Image-Simulation

Code revision of RGB2Colorblind for CVD image simulation

Primary LanguagePython

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.