# US 2023/0214708 A1 · Image processing methods and systems for training a machine learning model to predict illumination conditions for different positions relative to a scene

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

- Number: US 2023/0214708 A1
- Document ID: US20230214708A1
- Status: Published application
- Kind: A1
- Application number: 17/568,386
- Filed: 2022-01-04
- Published: 2023-07-06
- Earliest claimed: 2022-01-04
- Assignees: 7 Sensing Software
- Applicants: 7 Sensing Software
- Inventors: Matis HUDON; Guillaume CORTES; Toon VAN DEN ZEGEL
- Web page: https://patentgrep.com/patent/US20230214708A1

## CPC

- G06N 20/00: Machine learning
- G06V 10/60: relating to illumination properties, e.g. using a reflectance or lighting model
- G06V 10/751: {Comparing pixel values or logical combinations thereof, or feature values having positional relevance, e.g. template matching}
- G06V 10/7715: {Feature extraction, e.g. by transforming the feature space, e.g. multi-dimensional scaling [MDS]; Mappings, e.g. subspace methods}
- B60Q 1/249: {for illuminating the field of view of a sensor or camera}
- G06T 15/506: {Illumination models}
- G06T 19/006: {Mixed reality (object pose determination, tracking or camera calibration for mixed reality G06T7/00)}
- H04N 23/74: by influencing the scene brightness using illuminating means
- Y10S 209/938: Illuminating means facilitating visual inspection
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- B60Q: ARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- Y10S: TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS

## Abstract

An image processing method generates a training dataset for training a machine learning model to predict illumination conditions for different positions relative to a scene, the training dataset including training images and reference data. The method includes: obtaining a training image of a training scene acquired by a first camera having an associated first coordinate system; determining local illumination maps associated to a respective position in the training scene in a respective second coordinate system and representing illumination received from different directions around the position; transforming the position of each local illumination map from the second to the first coordinate system; responsive to determining that the transformed position of a local illumination map is visible: transforming the local illumination map from the second to the first coordinate system and including the transformed local illumination map and its transformed position in the reference data associated to the training image.

## Claims

### Claim 1

An image processing method for generating a training dataset for training a machine learning model to predict illumination conditions for different positions relative to a scene, said training dataset comprising training images and reference data, said image processing method comprising:
obtaining a training image of a training scene, to be included in the training dataset, acquired by a first camera having a first coordinate system associated thereto,
determining a plurality of local illumination maps, each local illumination map being associated to a respective position relative to the training scene in a respective second coordinate system and representing in said respective second coordinate system the illumination received from different directions of arrival around said respective position,
transforming the position of each local illumination map from the respective second coordinate system to the first coordinate system,
responsive to determining that the transformed position of a local illumination map is visible in the training image: transforming said local illumination map from the respective second coordinate system to the first coordinate system and including the transformed local illumination map and its transformed position in the reference data associated to the training image.

### Claim 2 (depends on 1)

The image processing method according to claim 1, wherein determining a plurality of local illumination maps comprises:
acquiring, by an imaging device, a reference sequence of the training scene while moving the imaging device relative to the training scene, said reference sequence comprising a plurality of reference images, wherein said imaging device comprises a second camera for acquiring the reference sequence and a reference object arranged in a field of view of the second camera,
determining a pose of the second camera relative to the training scene when acquiring each reference image of the reference sequence, and a corresponding second coordinate system associated to the second camera,
extracting the reference object from each reference image,
estimating a local illumination map for each reference image, based on the reference object extracted from said each reference image.

### Claim 3 (depends on 2)

The image processing method of claim 2, wherein the first camera and the second camera are a same camera, and the training image is a reference image of the reference sequence.

### Claim 4 (depends on 2)

The image processing method of claim 2, wherein the first camera is included in the imaging device and is separate from the second camera, and the first camera acquires one or more training images simultaneously with the acquisition of the reference sequence by the second camera.

### Claim 5 (depends on 2)

The image processing method of claim 2, wherein the pose of the second camera is estimated by a simultaneous localization and mapping, SLAM, algorithm.

### Claim 6 (depends on 2)

The image processing method of claim 2, wherein the reference object is a sphere having a predetermined color.

### Claim 7 (depends on 2)

The image processing method of claim 2, wherein estimating a local illumination map based on an extracted reference object comprises iterating, until a stop criterion is satisfied, steps of:
rendering a candidate reference object based on a candidate local illumination map,
comparing the candidate reference object with the extracted reference object, and
updating the candidate local illumination map based on a result of the comparison of the candidate reference object with the extracted reference object.

### Claim 8 (depends on 2)

The image processing method of claim 2, further comprising white balance correcting and/or color correcting and/or exposure correcting the reference images with respect to the training image.

### Claim 9 (depends on 1)

The image processing method of claim 1, wherein transforming a local illumination map further comprises white balance correcting and/or color correcting and/or exposure correcting said local illumination map with respect to the training image.

### Claim 10 (depends on 1)

The image processing method of claim 1, further comprising using the training dataset to train the machine learning model to enable predicting each local illumination map associated to a training image when applied to said training image.

### Claim 11

An image processing system for generating a training dataset for training a machine learning model to predict illumination conditions for different positions relative to a scene, said training dataset comprising training images and reference data, said image processing system comprising a dataset generating unit comprising at least one memory and at least one processor, wherein said at least one processor of the dataset generating unit is configured to:
obtain a training image of a training scene, to be included in the training dataset, acquired by a first camera having a first coordinate system associated thereto,
determine a plurality of local illumination maps, each local illumination map being associated to a respective position relative to the training scene in a respective second coordinate system and representing in said respective second coordinate system the illumination received from different directions of arrival around said respective position,
transform the position of each local illumination map from the respective second coordinate system to the first coordinate system,
responsive to determining that the transformed position of a local illumination map is visible in the training image: transform said local illumination map from the respective second coordinate system to the first coordinate system and include the transformed local illumination map and its transformed position in the reference data associated to the training image.

### Claim 12 (depends on 11)

The image processing system according to claim 11, wherein the at least one processor of the dataset generating unit is further configured to determine a plurality of local illumination maps by:
acquiring, by an imaging device, a reference sequence of the training scene while moving the imaging device relative to the training scene, said reference sequence comprising a plurality of reference images, wherein said imaging device comprises a second camera for acquiring the reference sequence and a reference object arranged in a field of view of the second camera,
determining a pose of the second camera relative to the training scene when acquiring each reference image of the reference sequence, and a corresponding second coordinate system associated to the second camera,
extracting the reference object from each reference image,
estimating a local illumination map for each reference image, based on the reference object extracted from said each reference image.

### Claim 13 (depends on 12)

The image processing system of claim 12, wherein the first camera and the second camera are a same camera, and the training image is a reference image of the reference sequence.

### Claim 14 (depends on 12)

The image processing system of claim 12, wherein the first camera is included in the imaging device and is separate from the second camera, and the first camera is configured to acquire one or more training images simultaneously with the acquisition of the reference sequence by the second camera

### Claim 15 (depends on 12)

The image processing system of claim 12, wherein the pose of the second camera is estimated by a simultaneous localization and mapping, SLAM, algorithm.

### Claim 16 (depends on 12)

The image processing system of claim 12, wherein the reference object is a sphere having a predetermined color.

### Claim 17 (depends on 12)

The image processing system of claim 12, wherein the at least one processor of the dataset generating unit is configured to estimate a local illumination map based on an extracted reference object by iterating, until a stop criterion is satisfied, steps of:
rendering a candidate reference object based on a candidate local illumination map,
comparing the candidate reference object with the extracted reference object, and
updating the candidate local illumination map based on a result of the comparison of the candidate reference object with the extracted reference object.

### Claim 18 (depends on 12)

The image processing system of claim 12, wherein the at least one processor of the dataset generating unit is further configured to white balance correct and/or color correct and/or exposure correct the reference images with respect to the training image.

### Claim 19 (depends on 11)

The image processing system of claim 11, wherein the at least one processor of the dataset generating unit is further configured to, when transforming a local illumination map further, white balance correcting and/or color correcting and/or exposure correcting said local illumination map with respect to the training image.

### Claim 20 (depends on 11)

The image processing system of claim 11, further comprising a training unit comprising at least one processor configured to use the training dataset to train the machine learning model to enable predicting each local illumination map associated to a training image when applied to said training image.

### Claim 21

A non-transitory computer readable medium comprising computer readable code which, when executed by one or more processors, cause said one or more processors to generate a training dataset for training a machine learning model to predict illumination conditions for different positions relative to a scene, said training dataset comprising training images and reference data, wherein said computer readable code causes said one or more processors to:
obtain a training image of a training scene, to be included in the training dataset, acquired by a first camera having a first coordinate system associated thereto,
determine a plurality of local illumination maps, each local illumination map being associated to a respective position relative to the training scene in a respective second coordinate system and representing in said respective second coordinate system the illumination received from different directions of arrival around said respective position,
transform the position of each local illumination map from the respective second coordinate system to the first coordinate system,
responsive to determining that the transformed position of a local illumination map is visible in the training image: transform said local illumination map from the respective second coordinate system to the first coordinate system and include the transformed local illumination map and its transformed position in the reference data associated to the training image.
