tjcoding / enhanced-image-colour-transfer Goto Github PK
View Code? Open in Web Editor NEWAn Enhanced Implementation of the Colour Transfer Method Proposed by E Reinhard et al.
License: GNU Lesser General Public License v3.0
An Enhanced Implementation of the Colour Transfer Method Proposed by E Reinhard et al.
License: GNU Lesser General Public License v3.0
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.