GithubHelp home page GithubHelp logo

kilikkuo / python_colormanagement Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 5.88 MB

Try to do color management by PyOpenCL

Python 0.10% C 0.01% Perl 70.31% HTML 29.37% CSS 0.02% Perl 6 0.12% PostScript 0.06%

python_colormanagement's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.