<p>What I am trying to do is to become able to compare with reasonable accuracy two real world fabric/textures (colorwise speaking) at two distinct locations. I can't move them into single place to observe them close to each other and in the same light conditions.</p>
<p>I was thinking about such a &quot;protocol&quot;:</p>
<ol>
<li>print some &quot;test pattern&quot; on white paper (reference object)</li>
<li>go into location 1 and take picture of object A close to reference object</li>
<li>go into location 2 and take picture of object B close to reference object</li>
<li>use some application/library/own code, to adjust colors on photo B so the reference object look similar (colorwise) to reference object on A</li>
<li>compare visually or statistically (programmatically) objects A and B</li>
</ol>
<p>Does anyone know what is the easiest way to perform point 4? Is there an application for that step, or library or any other shortcut than implementing this on my own?</p>
<p>Or, maybe anyone knows application for the whole process, not particularly point 4, which could help me, or another protocol for performing such comparison?</p>
<p>Also please let me know it this can't be done this way, or rather, this is an oversimplified solution to provide &quot;reasonable accuracy&quot;, and if so - why?</p>

CC BY-SA 4.0
2020-07-17T22:16:05.587Z
I would like to assess if two materials have similar hue (or "compatible") so i can mix them in a design and they don't look bad when composed.
Przemek B
CC BY-SA 4.0
2020-07-26T18:40:09.070Z
Whats wrong with using grey cards? Why is it too limited? Its done in photography all the time. Anyway the problem is that a camera does not represent the spectum very well so if you want to be better you probably need a spectrometer
joojaa
CC BY-SA 4.0
2020-07-26T18:41:31.357Z
@Chris yeah its called gray balance. Most image editors can do this.
joojaa
<color><brightness><image-comparison>
Aligning (matching) colors (white balance, brightness) of two scenes based on reference object
Przemek B
# Aligning (matching) colors (white balance, brightness) of two scenes based on reference object

(Asked by: username_0 on 2020-07-16)

What I am trying to do is to become able to compare with reasonable accuracy two real world fabric/textures (colorwise speaking) at two distinct locations. I can't move them into single place to observe them close to each other and in the same light conditions.

I was thinking about such a "protocol":

1. print some "test pattern" on white paper (reference object)
2. go into location 1 and take picture of object A close to reference object
3. go into location 2 and take picture of object B close to reference object
4. use some application/library/own code, to adjust colors on photo B so the reference object look similar (colorwise) to reference object on A
5. compare visually or statistically (programmatically) objects A and B

Does anyone know what is the easiest way to perform point 4? Is there an application for that step, or library or any other shortcut than implementing this on my own?

Or, maybe anyone knows application for the whole process, not particularly point 4, which could help me, or another protocol for performing such comparison?

Also please let me know it this can't be done this way, or rather, this is an oversimplified solution to provide "reasonable accuracy", and if so - why?

**Tags:** color, brightness, image-comparison

> **Comments:**
> **username_0**: I would like to assess if two materials have similar hue (or "compatible") so i can mix them in a design and they don't look bad when composed.  
> **username_1**: Whats wrong with using grey cards? Why is it too limited? Its done in photography all the time. Anyway the problem is that a camera does not represent the spectum very well so if you want to be better you probably need a spectrometer  
> **username_1**: @Chris yeah its called gray balance. Most image editors can do this.  

---

## 0 answers

