Ask Your Question
2

3x3 color matching matrix

asked 2014-10-28 10:09:26 -0600

Ropeburn gravatar image

I am trying to color calibrate a couple of webcameras to a macbeth chart. I have a list of 24 colors from each camera and the macbeth color values. How does one go about finding the solution for the 3x3 color matching matrix (one for each camera) that can be applied to correct the camera colors to match the macbeth. The application of the matrix is casual, how does one determine/solve/create it. Thomas.

edit retag flag offensive close merge delete

Comments

I have the same problem and looking for help too

Mark Herman gravatar imageMark Herman ( 2018-03-04 08:42:56 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-03-15 14:09:34 -0600

Mark Herman gravatar image

visit http://colour-science.org/

you can use first_order_colour_fit(m_1, m_2 , rcond=1)

Colour Fitting
==============

Performs a first order colour fit from given :math:`m_1` colour array to
:math:`m_2` colour array. The resulting colour fitting matrix is computed
using multiple linear regression.

The purpose of that object is for example the matching of two
*ColorChecker* colour rendition charts together

Parameters
----------
m_1 : array_like, (3, n)
    Test array :math:`m_1` to fit onto array :math:`m_2`.
m_2 : array_like, (3, n)
    Reference array the array :math:`m_1` will be colour fitted against.


Simply: Creating and clculating CCM - Color Correction Matrix
edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-10-28 10:09:26 -0600

Seen: 1,811 times

Last updated: Mar 15 '18