Skip to content

Color vision diversity (色覚多様性) convertor - not only simulate but also daltonize (色の補正)

License

Notifications You must be signed in to change notification settings

accessible-colors/colorverse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Colorverse

Color vision diversity (色覚多様性) convertor - not only simulate but also daltonize (色の補正)

crates.io License Documentation Dependency Status Executable

Based on Machado, Oliveira & Fernandes (2009) model. Customized with dynamic simulation level parameter introduced and nonlinear easing of the level.

Usage

Executable

Executables on multiple platforms are found in Releases. Just run it without any installation.

$ # usage
$ ./colorverse simulate -c ${color vision} -l ${simulation level} -o ${output file path} ${input file path}
$ ./colorverse daltonize -c ${color vision} -l ${simulation level} -s {daltonization strength} -o ${output file path} ${input file path}

$ # for example
$ ./colorverse simulate -c protanomaly -l 0.75 -o simulate-out.png in.png
$ ./colorverse daltonize -c deuteranomaly -l 1.0 -s 1.0 -o daltonize-out.png in.png

$ # help
$ ./colorverse --help
$ ./colorverse simulate --help
$ ./colorverse daltonize --help

Rust and cargo

See docs/DEVELOPMENT.md.


Samples

Trichromacy

trichromacy

Protanomaly

Simulation 50%

protanomaly

Simulation 100% (Protanopia)

protanopia

Simulation 100% + Daltonization 50%

protanomaly 100% - daltonization 50%

Simulation 100% + Daltonization 100%

protanomaly 100% - daltonization 100%

Deuteranomaly

Simulation 50%

deuteranomaly

Simulation 100% (Deuteranopia)

deuteranopia

Simulation 100% + Daltonization 50%

deuteranomaly 100% - daltonization 50%

Simulation 100% + Daltonization 100%

deuteranomaly 100% - daltonization 100%

Tritanomaly

Simulation 50%

tritanomaly

Simulation 100% (Tritanopia)

tritanopia

Simulation 100% + Daltonization 50%

tritanomaly 100% - daltonization 50%

Simulation 100% + Daltonization 100%

tritanomaly 100% - daltonization 100%

Achromatomaly

Simulation 50%

achromatomaly

Simulation 100% (Achromatopsia)

achromatopsia


Open-source, with care

This project is lovingly built and maintained by volunteers.
We hope it helps streamline your work.
Please understand that the project has its own direction — while we welcome feedback, it might not fit every edge case 🌱

Acknowledgements

Depends on image / nalgebra. Also, on argh on CLI I/F.

About

Color vision diversity (色覚多様性) convertor - not only simulate but also daltonize (色の補正)

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages