Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jingew/color-blindness-image-simulation

Code revision of RGB2Colorblind for CVD image simulation
https://github.com/jingew/color-blindness-image-simulation

color-blindness image-processing image-simulation python

Last synced: about 1 month ago
JSON representation

Code revision of RGB2Colorblind for CVD image simulation

Awesome Lists containing this project

README

        

# Color Blindness Image Simulation

After conducting further research on colorblindness simulation, I highly recommend the [DaltonLens-Python](https://github.com/DaltonLens/DaltonLens-Python) repository. The [author's blog](https://daltonlens.org/#posts) 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*](https://www.nature.com/articles/nmeth.1618)

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](https://github.com/daijro/rgb2colorblind).

Please refer License Information of RGB2Colorblind.