Coder Social home page Coder Social logo

tjcoding / enhanced-image-colour-transfer Goto Github PK

View Code? Open in Web Editor NEW
53.0 2.0 2.0 20.31 MB

An Enhanced Implementation of the Colour Transfer Method Proposed by E Reinhard et al.

License: GNU Lesser General Public License v3.0

C++ 100.00%
color-transfer opencv reinhard cross-correlation-processing colour-transfer colour-space image-processing cpp

enhanced-image-colour-transfer's People

Contributors

tjcoding avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

enhanced-image-colour-transfer's Issues

CIELab or L-alpha-beta?

Although the basic principle here is sound, it is less clear whether processing should be performed in the CIELab colour space or the L-alpha-beta colour space.

I made the choice to program the ‘Enhanced Reinhard method’ using the CIELab colour space rather than the L-alpha-beta colour space for convenience (the former is in the OpenCV library).

The implementation of the Reinhard Method by ‘ZZPot’ uses L-alpha-beta colour space; (https://github.com/ZZPot/Color-transfer). The code also includes the capability (with a quick modification) to utilise the CIELab colour space instead. For CIELab processing, ZZPot’s implementation give outcomes that closely resemble those achieved by this implementation (for the case of one iteration, no cross correlation processing and source-image-derived shading).

The issue here is ZZPot achieves better images under L-alpha-beta than under CIELab. However, things aren’t so clear cut because the images that ZZPot has chosen are legacy images with less than optimum quality ‘https://github.com/ZZPot/Color-transfer/issues/5’. This matter deserves further investigation.

It should be noted that Reinhard and Pouli find that CIELab performs better than L-alpha-beta for colour transfer.

https://link.springer.com/content/pdf/10.1007%2F978-3-642-20404-3_1.pdf

However, the performance comparison is for the case where channels are processed independently which is not the case here.

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.