GithubHelp home page GithubHelp logo

peterzs / cocolour Goto Github PK

View Code? Open in Web Editor NEW

This project forked from menghanxia/colorconsistency

0.0 1.0 0.0 53.74 MB

C++ program for global optimization on the color consistency of multiple images

CMake 3.66% C++ 96.34%

cocolour's Introduction

Introduction

This project is developed for optimizing the color consistency across images and guarantee the imaging quality of individual image meanwhile. we parameterize the color remapping curve as transform model, and express the constraints of color consistency, contrast and gradient in an uniform energy function. It can be formulated as a convex quadratic programming problem which provides the global optimal solution efficiently.

This C++ implemented algorithm is described in
"A Closed-Form Solution for Multi-View Color Correction with Gradient Preservation", submitted to TGRS 2018.
"Color Consistency Correction Based on Remapping Optimization for Image Stitching", ICCV Workshop 2017.

This program is free for personal, non-profit and academic use. If you have any question, please contact: [email protected] (Menghan Xia)

Below is demonstrated an example:

Usage

1. Dependent Libarary [compulsory]:

OpenCV 2.4.9 is recommended.

2. Project Configure:

This procedure is developed on Visual Studio 2010 under windows8.1 system environment, where the source code is organized with CMakeLists. So, before opening it in Visual Studio, you need to configure the project with the software named CMake.

3. Running and Test:

There will be a "Data" folder in the decompressing files, where three created folders exist: "Cache" : creat a text file that describes the adjacent relationships of each image. [example contained] "Images" : input your source images that are aligned geometrically. [example contained] "Results": procedure will output the processed results in this position. [creat it by yourself]

Besides, to use the existing "Data" directory successfully, do not forget to modify the path variable "baseDir" to its absolute path of "Data" in the source file "CoColour/Source/Utils/util.h" [line 16]

So far, you can run the procedure and see the color correction results now.

cocolour's People

Contributors

menghanxia avatar

Watchers

 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.