Skip to content

kilikkuo/Python_ColorManagement

Repository files navigation

Python_ColorManagement

GOAL : Make a color management system in python and improve performance by PyOpenCL

Stage

  1. To implement RGB_XYZ color space transformation via python
  1. Implement algorithm of stage 1 via OpenCL kernel function.
  • See cmm.json / temp_algorithm.c
  1. Bridge 2 via kernel-mapper (A tool to simplify the use of PyOpenCL)

Images used under ./images/ are copied & modified (for programming test) from

https://www.flickr.com/photos/boston_public_library/8102625287/in/photostream/ http://dev.exiv2.org/attachments/download/820/Reagan.jpg http://www.myriad-online.com/cgi-bin/bbs/YaBB.pl?board=galerie;action=display;num=1141256379

Prepare dependences after clone

$> git submodule init $> git submodule update

Usage

e.g.

  1. $> python demo.py --help
  2. $> python demo.py -i PATH_TO_INPUT -ocs sRGB -owp D65
  3. $> python demo.py -i PATH_TO_INPUT -ocs ProPhotoRGB -owp D50 -o PATH_TO_OUTPUT

About

Try to do color management by PyOpenCL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published