--- title: "Set the color transformation" slug: "set-the-color-transformation" updated: 2024-06-21T08:57:47Z published: 2024-06-21T08:57:47Z canonical: "docs-linescan.alliedvision.com/set-the-color-transformation" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs-linescan.alliedvision.com/llms.txt > Use this file to discover all available pages before exploring further. # Set the color transformation ## Set Color to Color (CCM) The color transformation, or color correction matrix (CCM) can be used to apply a 3×3 or 3×4 correction matrix to the acquired image (Examples @8bit). $\begin{bmatrix} R_{out} \\G_{out} \\ B_{out} \end{bmatrix} = \begin{bmatrix} Gain_{00} Gain_{01} Gain_{02} \\ Gain_{10} Gain_{11} Gain_{12} \\ Gain_{20} Gain_{21} Gain_{22} \end{bmatrix} \times \begin{bmatrix} R_{in} \\G_{in} \\ B_{in} \end{bmatrix} + \begin{bmatrix} Offset_{0} \times 255 \\Offset_{1} \times 255 \\ Offset_{3}\times 255 \end{bmatrix}$ ### Configuration widget 1. In the configuration window navigate to *Pixel processing* → *Color.* 2. Below *Color correction matrix* select the **Enable** checkbox. 3. The CCM can be changed by making **adjustments** in the spin boxes. ![](https://cdn.document360.io/eca58697-9c2f-461e-9f0a-e6205b74b693/Images/Documentation/image(11).png) ### Feature tree | Step | Feature name | Value | | --- | --- | --- | | 1 | *Navigate to* **Color Transformation Control** | | | 2 | *Select* **Color Transformation Selector** | *Set* **Color to Color** | | 3 | *Navigate to* **Color Transformation Enable** | *Set* **On** | | 4 | *Select the* **Color Transformation Value Selector** | Gain00… Gain33 Offset0…Offset3 | | 5 | *Set your value in* **Color Transformation Value** | |