Module opencv::mcc[][src]

Expand description

Macbeth Chart module

Color Correction Model

Introduction

ColorCharts are a tool for calibrating the color profile of camera, which not only depends on the intrinsic and extrinsic parameters of camera but also on the lighting conditions. This is done by taking the image of a chart, such that the value of its colors present in it known, in the image the color values changes depeding on many variables, this gives us the colors initially present and the colors that are present in the image, based on this information we can apply any suitable algorithm to find the actual color of all the objects present in the image.

Modules

Structs

Core class of ccm model

Parameters for the detectMarker process:

Enums

Enum of the possible types of ccm.

Macbeth and Vinyl ColorChecker with 2deg D50

Enum of possible functions to calculate the distance between colors.

Enum of the possible types of initial method.

Linearization transformation type

TYPECHART

Constants

The CCM with the shape

inline formula

performs linear transformation on color values.

The CCM with the shape

inline formula

performs affine transformation.

DigitalSG ColorChecker with 140 squares

Macbeth ColorChecker

DKK ColorChecker

https://en.wikipedia.org/wiki/Adobe_RGB_color_space , RGB color space

https://en.wikipedia.org/wiki/Adobe_RGB_color_space , linear RGB color space

https://en.wikipedia.org/wiki/RGB_color_space , RGB color space

https://en.wikipedia.org/wiki/RGB_color_space , linear RGB color space

https://en.wikipedia.org/wiki/DCI-P3 , RGB color space

https://en.wikipedia.org/wiki/DCI-P3 , linear RGB color space

non-RGB color space

non-RGB color space

non-RGB color space

non-RGB color space

non-RGB color space

non-RGB color space

https://en.wikipedia.org/wiki/CIELAB_color_space , non-RGB color space

non-RGB color space

non-RGB color space

non-RGB color space

non-RGB color space

non-RGB color space

https://en.wikipedia.org/wiki/ProPhoto_RGB_color_space , RGB color space

https://en.wikipedia.org/wiki/ProPhoto_RGB_color_space , linear RGB color space

https://en.wikipedia.org/wiki/Rec._709 , RGB color space

https://en.wikipedia.org/wiki/Rec._709 , linear RGB color space

https://en.wikipedia.org/wiki/Rec._2020 , RGB color space

https://en.wikipedia.org/wiki/Rec._2020 , linear RGB color space

https://en.wikipedia.org/wiki/Wide-gamut_RGB_color_space , RGB color space

https://en.wikipedia.org/wiki/Wide-gamut_RGB_color_space , linear RGB color space

non-RGB color space

non-RGB color space

non-RGB color space

non-RGB color space

non-RGB color space

non-RGB color space

https://en.wikipedia.org/wiki/CIE_1931_color_space , non-RGB color space

non-RGB color space

non-RGB color space

non-RGB color space

non-RGB color space

non-RGB color space

https://en.wikipedia.org/wiki/SRGB , RGB color space

https://en.wikipedia.org/wiki/SRGB , linear RGB color space

The 1976 formula is the first formula that related a measured color difference to a known set of CIELAB coordinates.

The 1976 definition was extended to address perceptual non-uniformities.

In 1984, the Colour Measurement Committee of the Society of Dyers and Colourists defined a difference measure, also based on the LCh color model.

Euclidean distance of rgb color space

Euclidean distance of rgbl color space

the least square method is an optimal solution under the linear RGB distance function

The white balance method. The initial value is:

logarithmic polynomial fitting channels respectively; Need assign a value to deg simultaneously

polynomial fitting channels respectively; Need assign a value to deg simultaneously

gamma correction; Need assign a value to gamma simultaneously

grayscale Logarithmic polynomial fitting; Need assign a value to deg and dst_whites simultaneously

grayscale polynomial fitting; Need assign a value to deg and dst_whites simultaneously

no change is made

Standard Macbeth Chart with 24 squares

DigitalSG with 140 squares

DKK color chart with 12 squares and 6 rectangle

Traits

Core class of ccm model

CChecker

A class to find the positions of the ColorCharts in the image.

\brief checker draw

Parameters for the detectMarker process: