# Inherit color from one image to another

**URL:** <https://forum.kirupa.com/t/inherit-color-from-one-image-to-another/331069>\
**Category:** Uncategorized\
**Created:** [May 8, 2013, 12:43pm UTC](https://forum.kirupa.com/t/inherit-color-from-one-image-to-another/331069 "2013-05-08T12:43:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lnsiu](https://avatars.discourse-cdn.com/v4/letter/l/9fc29f/32.png) [@lnsiu](https://forum.kirupa.com/u/lnsiu)\
**Post date:** [May 8, 2013, 12:43pm UTC](https://forum.kirupa.com/t/inherit-color-from-one-image-to-another/331069/1 "2013-05-08T12:43:31Z")

</div>

I’m currently experimenting with having one image inherit the colour from one image to another. I’ve done it before, but unfortunately I forgot how I did it. (In PSD there is a function called match colour, so I want to do something similar to that)

I’m taking this conceptual route with two images:

1. Blur images slightly to reduce noise and garbage.
2. Calculate mean of rgb.
3. inherit mean to the other image
4. calculate amount of “paint” above mean value and amount of “paint” below mean value.
5. inherit amount of paint above and below new mean.

Am I forgetting something?
