Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jingew/color-blindness-image-simulation
- Owner: JingeW
- Created: 2024-06-14T16:27:40.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-23T20:09:51.000Z (6 months ago)
- Last Synced: 2024-07-24T23:19:27.030Z (6 months ago)
- Topics: color-blindness, image-processing, image-simulation, python
- Language: Python
- Homepage:
- Size: 5.36 MB
- Stars: 1
- 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.