GithubHelp home page GithubHelp logo

jackzhousz / colorfulcurves Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tedchao/colorfulcurves

0.0 0.0 0.0 18 KB

Public code release for: ColorfulCurves: Palette-Aware Lightness Control and Color Editing via Sparse Optimization (SIGGRAPH 2023) [Ted Chao, Jason Klein, Jianchao Tan, Jose Echevarria, Yotam Gingold]

License: Creative Commons Attribution 4.0 International

Python 93.10% Cython 6.90%

colorfulcurves's Introduction

ColorfulCurves

ColorfulCurves: Palette-Aware Lightness Control and Color Editing via Sparse Optimization

ACM Transactions on Graphics (TOG). Presented at SIGGRAPH North America 2023.

[By Cheng-Kang Ted Chao, Jason Klein, Jianchao Tan, Jose Echevarria, Yotam Gingold]

About

This repo is official code release for ColorfulCurves.

Our editing framework allows users to:

  1. Edit lightness (a.k.a luminance in photography communities though not mathematically equivalent) sparsely according to the representative colors in the given image.
  2. Edit pixel's colors by directly placing image-space color constraints. ColorfulCurves will find a best set of representative colors and tone curves to satisfy your constraints.

Installation

Install Anaconda or Miniconda. (Miniconda is faster to install.) Choose the 64-bit Python 3.x version. Launch the Anaconda shell from the Start menu and navigate to the posterization directory. Then:

conda env create -f environment.yml
conda activate sparse_edit

Usage

Launch the GUI:

python GUI.py

Note: The time complexity of our algorithm is independent to image size; however, the GUI will crop your image if its width is larger than certain size to fit itself properly to the screen. Our GUI is not implemented in a way that it can dynamically shrink or enlarge your image when changing window size.

License

CC BY 4.0

This work is licensed under a Creative Commons Attribution 4.0 International License.

The software is licensed under MIT License.

CC BY 4.0

colorfulcurves's People

Contributors

tedchao avatar

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.