# US 12,112,454 B2 · Brightness and color correction of image data of a line camera

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 12,112,454 B2
- Document ID: US12112454B2
- Status: Granted
- Kind: B2
- Application number: 17/703,139
- Filed: 2022-03-24
- Published: 2022-10-27
- Granted: 2024-10-08
- Earliest claimed: 2021-04-23
- Assignees: Sick AG
- Applicants: Sick AG
- Inventors: Romain Müller; Marcel Pfeifer
- Web page: https://patentgrep.com/patent/US12112454B2

## CPC

- G06T 5/50: using two or more images, e.g. averaging or subtraction
- H04N 1/401: Compensating positionally unequal response of the pick-up or reproducing head (H04N1/403 takes precedence)
- G06K 7/10732: {Light sources}
- H04N 1/407: Control or modification of tonal gradation or of extreme levels, e.g. background level
- H04N 1/6008: {with primary colour signals, e.g. RGB or CMY(K)}
- H04N 23/56: provided with illuminating means
- H04N 23/72: Combination of two or more compensation controls
- G06T 2207/10024: Color image
- G06T 2207/20024: Filtering details
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06K: GRAPHICAL DATA READING (image or video recognition or understanding G06V); PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS

## Abstract

A method for brightness and color correction of image data of a line camera is disclosed, wherein, for the detecting of image data with at least two line arrays of the line camera while illuminating a detection area of the line camera with an illumination module, a gray-scale image and at least two single-color images are recorded, and the image data is corrected with the help of a brightness function of the illumination module which is dependent on a line position of the line array and/or a distance of recorded objects. The brightness function is determined for the illumination module in advance and independent of the line camera and is stored in the illumination module, and the brightness function is read out by the line camera and used for the respective correction of the gray-scale image and the single-color images.

## Claims

### Claim 1

A method for brightness and color correction of image data of a line camera, wherein for detecting the image data with at least two line arrays of the line camera under illumination of a detection area of the line camera with an illumination module, a gray-scale image and at least two single-color images are recorded and the image data is corrected with the help of a brightness function of the illumination module which is dependent on a line position of the line array and/or a distance of recorded objects
wherein the brightness function is determined for the illumination module in advance and independent of the line camera and is stored in the illumination module, and the brightness function is read out by the line camera and is used for the respective correction of the gray-scale image and the single-color images.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the line camera is a line camera for code reading.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the gray-scale image is used for the reading of codes.

### Claim 4 (depends on 1)

The method according to claim 1, wherein a color image is generated from the single-color images.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the color image is used in particular to identify code-carrying objects and/or code regions, to classify them and/or to differentiate them from the image background.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the brightness function is respectively modified by a color normalization function for the color of the single-color image, so that the correction of the gray-scale image and the single-color images is respectively carried out with its own brightness function, wherein a color normalization function sets for different line positions and distances the brightness of the illumination module for its color in proportion to the brightness over the entire spectrum.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the color normalization functions are determined in advance generally for the type of illumination module.

### Claim 8 (depends on 6)

The method according to claim 6, wherein the color normalization functions are determined in advance individually for the illumination module, in particular with the brightness function.

### Claim 9 (depends on 6)

The method according to claim 6, wherein the color normalization functions are determined in advance individually for the illumination module with the brightness function.

### Claim 10 (depends on 1)

The method according to claim 1, wherein the brightness function is refined based on optical parameters of the line camera.

### Claim 11 (depends on 1)

The method according to claim 1, wherein the gray-scale image and the single-color images are recorded with different analog and/or digital gains.

### Claim 12 (depends on 1)

The method according to claim 1, wherein two single-color images are recorded in two of three primary colors.

### Claim 13 (depends on 12)

The method according to claim 12, wherein the third primary color is reconstructed from the gray-scale image and the two single-color images.

### Claim 14 (depends on 12)

The method according to claim 12, wherein the two primary colors are red and blue.

### Claim 15 (depends on 1)

The method according to claim 1, wherein corrected color values of a color image are formed from linear combinations of respective gray values of the gray-scale image and single-color values of the single-color images with color correcting weighting factors.

### Claim 16 (depends on 15)

The method according to claim 15, wherein corrected RGB-values R′G′B′ are formed as a gray-scale image with gray values W, a red image with red values R and a blue image with blue values B are formed as
R′=x1*R+x2*(3*W-R-B)+x3*B+x4
G′=x5*R+x6*(3*W-R-B)+x7*B+x8
B′=x9*R+x10*(3*W-R-B)+x11*B+x12
with weighting factors x1 . . . x12.

### Claim 17 (depends on 15)

The method according to claim 15, wherein the corrected color values are determined with a neural network, which is learned-in based on color images of at least one further color-sensitive sensor.

### Claim 18 (depends on 1)

A camera which comprises a line-shaped image sensor with at least two line arrays of light-receiving pixels for recording image data, and a control and evaluation unit for processing the image data, wherein the line arrays form a mono channel whose light-receiving pixels are sensitive to white light for recording a gray-scale image, and at least two color channels whose light-receiving pixels are respectively sensitive only to light in the color of its color channel, wherein the control and evaluation unit is configured so as to correct the image data in brightness and color according to the method of claim 1.

### Claim 19 (depends on 18)

The camera according to claim 18, wherein the camera is a code reader for reading an optical code.
