takahiro-itazuri / color-transfer-between-images

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Color Transfer Between Images: Implementation

This is implementation of paper "Color Transfer between Images".

Specification

This code is written by C++.
We use OpenCV (Open Source Computer Vision Library) for basic image operations.

Description

They map the reference image's look and feel onto the source image (see figure below).
For this goal, they select lab color space as an orthogonal color space without correlations between color axes, and adjust the mean and variance of colors in the lab space of the source image to the reference image.

In "main.cpp", the source image path and the reference image path is "src_filename" and "ref_filename" respectively.

source image

reference image

result image

About


Languages

Language:C++ 100.0%