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: 8 months ago
JSON representation
Code revision of RGB2Colorblind for CVD image simulation
- Host: GitHub
- URL: https://github.com/jingew/color-blindness-image-simulation
- Owner: JingeW
- Created: 2024-06-14T16:27:40.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-23T20:09:51.000Z (almost 2 years ago)
- Last Synced: 2025-02-05T23:33:03.720Z (over 1 year ago)
- Topics: color-blindness, image-processing, image-simulation, python
- Language: Python
- Homepage:
- Size: 5.36 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.