# US 2022/0294969 A1 · Multiple Camera Color Balancing

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

- Number: US 2022/0294969 A1
- Document ID: US20220294969A1
- Status: Published application
- Kind: A1
- Application number: 17/659,895
- Filed: 2022-04-20
- Published: 2022-09-15
- Earliest claimed: 2021-03-15
- Assignees: Plantronics, Inc.
- Applicants: Plantronics, Inc.
- Inventors: James Miles Bousquet; Joseph Daniel Friel; George D. Wilson, Jr.
- Web page: https://patentgrep.com/patent/US20220294969A1

## CPC

- H04N 7/147: {Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals (selecting H04Q)}
- H04N 23/741: by increasing the dynamic range of the image compared to the dynamic range of the electronic image sensors
- G06V 10/24: Aligning, centring, orientation detection or correction of the image
- G06V 10/25: Determination of region of interest [ROI] or a volume of interest [VOI]
- G06V 10/82: using neural networks
- G06V 20/50: Context or environment of the image
- G06V 20/52: Surveillance or monitoring of activities, e.g. for recognising suspicious objects (recognising microscopic objects G06V20/69)
- G06V 40/103: {Static body considered as a whole, e.g. static pedestrian or occupant recognition}
- G06V 40/161: {Detection; Localisation; Normalisation}
- H04N 7/152: {Multipoint control units therefor}
- H04N 23/45: for generating image signals from two or more image sensors being of different type or operating in different modes, e.g. with a CMOS sensor for moving images in combination with a charge-coupled device [CCD] for still images
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Color and exposure matching for systems, such as a videoconferencing endpoint, that have overlapping camera fields of view. The geometric relationships between the overlapping cameras are used to determine correction processing. For each camera, histograms are developed for the overlapping cameras. A dynamic threshold is determined for each histogram. Using the dynamic threshold, peak detection is performed on each histogram. Using the geometric relationships, expected histogram relationships are determined. The actual histogram relationships are compared to the expected relationships, with further processing based on the correctness of the comparison. In some of the cases of further processing, peaks of the histograms are compared to find matching and non-matching peaks. Various ratios of pixels in the various peaks are used to determine needed changes to respective cameras. Incremental changes to camera outputs are provided and accumulated so that overall changes can be provided to adjust the output of the respective cameras.

## Claims

### Claim 1

A method for matching color and exposure of two overlapping cameras, the method comprising:
developing a first histogram of a frame of a first overlapping camera and a second histogram of a frame of a second overlapping camera;
determining peaks of the first histogram and the second histogram;
determining an assumed first and second histogram relationship;
determining an actual first and second histogram relationship;
categorizing the actual first and second histogram relationship to the assumed first and second histogram relationship into a category of a plurality of categories;
dependent on the category, analyzing the first and second histograms and develop needed changes to the two overlapping cameras; and
providing the needed changes to allow correction of the first and second overlapping cameras.

### Claim 2 (depends on 1)

The method of claim 1, wherein one category of the plurality of categories is expected, and
wherein the analysis of the first and second histograms includes:
determining if unmatched peaks of the first histogram are to the left or right of the overall average of the second histogram to determine if the first overlapping camera is undersaturated or oversaturated;
comparing the ratio of pixels in peaks above the overall average of the first histogram to the total number of pixels for the first histogram and the second histogram and the ratio of pixels in peaks below the overall average of the first histogram to the total number of pixels for the first histogram and the second histogram to determine if the first overlapping camera is undersaturated or oversaturated;
determining if the two determinations if the first overlapping camera is undersaturated or oversaturated match;
when the two determinations if the first overlapping camera is undersaturated or oversaturated match, comparing the differences in the ratios;
when the difference in ratios is below a first amount, no changes are needed;
when the difference in ratios is above the first amount but below a second amount, the needed change is to increase the undersaturated overlapping camera; and
when the difference in ratios is above the second amount, the needed changes are to increase the undersaturated overlapping camera and decrease the oversaturated overlapping camera.

### Claim 3 (depends on 2)

The method of claim 2, wherein:
when the two determinations if the first overlapping camera is undersaturated or oversaturated do not match, comparing the overall averages of the first and second histograms;
when the overall averages are less than a third amount, no changes are needed; and
when the overall averages are above the third amount, the needed changes are to increase the undersaturated overlapping camera and decrease the oversaturated overlapping camera.

### Claim 4 (depends on 2)

The method of claim 2, wherein one category of the plurality of categories is rounded, and
wherein the analysis of the first and second histograms further includes:
for a pixel value between two peaks in the first histogram, determining if the same pixel value in the second histogram is above the dynamic threshold of the second histogram; and
when the same pixel value in the second histogram is above the dynamic threshold of the second histogram, considering the two peaks of the first histogram to be a single peak.

### Claim 5 (depends on 1)

The method of claim 1, wherein one category of the plurality of categories is matching, and
wherein the analysis of the first and second histograms includes:
determining the ratio of pixels in peaks to right and left of average pixel value for the first and second histograms;
when the field of view of the first overlapping camera is a subset of or a perfect match to the field of view of the second overlapping camera:
compare the ratios of the first and second histograms;
when the ratios are equal, no change is needed; and
when the ratios are not equal, the needed changes are to increase the lower ratio overlapping camera and decrease the higher ratio overlapping camera; and
when the field of view of the first overlapping camera is a partial overlap of the field of view of the second overlapping camera:
compare the ratios of the first and second histograms;
when the ratios are equal, no change is needed; and
when the ratios are not equal, the needed changes are to increase the lower ratio overlapping camera by an amount reduced based on the overlap of the two overlapping cameras and decrease the higher ratio overlapping camera by an amount reduced based on the overlap of the two overlapping cameras.

### Claim 6 (depends on 1)

The method of claim 1, wherein one category of the plurality of categories is subsection, and
wherein the analysis of the first and second histograms includes:
determining the medians of the first and second histograms;
comparing the medians of the first and second histograms;
when the medians of the first and second histograms are substantially equal, no change is needed; and
when the medians of the first and second histograms are not substantially equal, the needed changes are to increase the lower median overlapping camera by an amount reduced based on the overlap of the two overlapping cameras and the ratio of total pixels of the cropped view to the total pixels of the uncropped view and decrease the higher median overlapping camera by an amount reduced based on the overlap of the two overlapping cameras and the ratio of total pixels of the cropped view to the total pixels of the uncropped view.

### Claim 7 (depends on 1)

The method of claim 1, wherein one category of the plurality of categories is safety, and
wherein the analysis of the first and second histograms includes:
for a pixel value between two peaks in the first histogram, determining if the same pixel value in the second histogram is above the dynamic threshold of the second histogram;
when the same pixel value in the second histogram is above the dynamic threshold of the second histogram, considering the two peaks of the first histogram to be a single peak;
determining matching and non-matching peaks between the first and second histograms;
determining the ratios of pixels present in matching peaks to total pixels for the first and second histograms;
comparing the ratios of the first and second histograms;
when the ratios of the first and second histograms are substantially equal, no change is needed; and
when the ratios of the first and second histograms are not substantially equal, the needed changes are to increase the lower ratio overlapping camera by an amount reduced based on the overlap of the two overlapping cameras and decrease the higher ratio overlapping camera by an amount reduced based on the overlap of the two overlapping cameras.

### Claim 8 (depends on 1)

The method of claim 1, wherein determining peaks of the first histogram and the second histogram includes:
determining the first and last histogram values and applying a factor;
determining the averages for chunks of pixel values;
determining the average of the averages and the factored first and last histogram values and setting that average as a dynamic threshold;
removing the first and last histogram values and any consecutive pixel values exceeding the dynamic threshold where the consecutive value is less than a given number from peak analysis;
performing peak analysis which includes:
scanning the histogram array in order and determining if the pixel value exceeds the dynamic threshold, the consecutive pixel values exceeding the dynamic threshold forming a peak; and
determining if the number of consecutive pixel values below the dynamic threshold and between two peaks is less than a small number and including those pixel values in the two peaks to form a single peak; and
adding the first and last histogram values as peaks.

### Claim 9 (depends on 1)

The method of claim 1, wherein the analysis of the first and second histograms includes:
determining if a change in which overlapping camera is undersaturated and which overlapping camera is oversaturated has occurred in consecutive analyses;
when a change in which overlapping camera is undersaturated and which overlapping camera is oversaturated has not occurred in consecutive analyses, no change to the needed changes is performed;
when a change in which overlapping camera is undersaturated and which overlapping camera is oversaturated has occurred in consecutive analyses, determining if the current needed changes exceed a high threshold;
when the current needed changes exceed the high threshold, no change to the needed changes is performed; and
when the current needed changes do not exceed the high threshold, the needed change is reduced to no change.

### Claim 10 (depends on 1)

The method of claim 1, wherein the steps of claim 1 are each performed separately for red, blue, green and perceived lightness.

### Claim 11

A non-transitory processor readable memory containing instructions that when executed cause a processor or processors to perform the following method for matching color and exposure of two overlapping cameras, the method comprising:
developing a first histogram of a frame of a first overlapping camera and a second histogram of a frame of a second overlapping camera;
determining peaks of the first histogram and the second histogram;
determining an assumed first and second histogram relationship;
determining an actual first and second histogram relationship;
categorizing the actual first and second histogram relationship to the assumed first and second histogram relationship into a category of a plurality of categories;
dependent on the category, analyzing the first and second histograms and develop needed changes to the two overlapping cameras; and
providing the needed changes to allow correction of the first and second overlapping cameras.

### Claim 12 (depends on 11)

The non-transitory processor readable memory of claim 11, wherein one category of the plurality of categories is expected, and
wherein the analysis of the first and second histograms includes:
determining if unmatched peaks of the first histogram are to the left or right of the overall average of the second histogram to determine if the first overlapping camera is undersaturated or oversaturated;
comparing the ratio of pixels in peaks above the overall average of the first histogram to the total number of pixels for the first histogram and the second histogram and the ratio of pixels in peaks below the overall average of the first histogram to the total number of pixels for the first histogram and the second histogram to determine if the first overlapping camera is undersaturated or oversaturated;
determining if the two determinations if the first overlapping camera is undersaturated or oversaturated match;
when the two determinations if the first overlapping camera is undersaturated or oversaturated match, comparing the differences in the ratios;
when the difference in ratios is below a first amount, no changes are needed;
when the difference in ratios is above the first amount but below a second amount, the needed change is to increase the undersaturated overlapping camera; and
when the difference in ratios is above the second amount, the needed changes are to increase the undersaturated overlapping camera and decrease the oversaturated overlapping camera.

### Claim 13 (depends on 12)

The non-transitory processor readable memory of claim 12, wherein the analysis of the first and second histograms further includes:
when the two determinations if the first overlapping camera is undersaturated or oversaturated do not match, comparing the overall averages of the first and second histograms;
when the overall averages are less than a third amount, no changes are needed; and
when the overall averages are above the third amount, the needed changes are to increase the undersaturated overlapping camera and decrease the oversaturated overlapping camera.

### Claim 14 (depends on 12)

The non-transitory processor readable memory of claim 12, wherein one category of the plurality of categories is rounded, and
wherein the analysis of the first and second histograms further includes:
for a pixel value between two peaks in the first histogram, determining if the same pixel value in the second histogram is above the dynamic threshold of the second histogram; and
when the same pixel value in the second histogram is above the dynamic threshold of the second histogram, considering the two peaks of the first histogram to be a single peak.

### Claim 15 (depends on 11)

The non-transitory processor readable memory of claim 11, wherein one category of the plurality of categories is matching, and
wherein the analysis of the first and second histograms includes:
determining the ratio of pixels in peaks to right and left of average pixel value for the first and second histograms;
when the field of view of the first overlapping camera is a subset of or a perfect match to the field of view of the second overlapping camera:
compare the ratios of the first and second histograms;
when the ratios are equal, no change is needed; and
when the ratios are not equal, the needed changes are to increase the lower ratio overlapping camera and decrease the higher ratio overlapping camera; and
when the field of view of the first overlapping camera is a partial overlap of the field of view of the second overlapping camera:
compare the ratios of the first and second histograms;
when the ratios are equal, no change is needed; and
when the ratios are not equal, the needed changes are to increase the lower ratio overlapping camera by an amount reduced based on the overlap of the two overlapping cameras and decrease the higher ratio overlapping camera by an amount reduced based on the overlap of the two overlapping cameras.

### Claim 16 (depends on 11)

The non-transitory processor readable memory of claim 11, wherein one category of the plurality of categories is subsection, and
wherein the analysis of the first and second histograms includes:
determining the medians of the first and second histograms;
comparing the medians of the first and second histograms;
when the medians of the first and second histograms are substantially equal, no change is needed; and
when the medians of the first and second histograms are not substantially equal, the needed changes are to increase the lower median overlapping camera by an amount reduced based on the overlap of the two overlapping cameras and the ratio of total pixels of the cropped view to the total pixels of the uncropped view and decrease the higher median overlapping camera by an amount reduced based on the overlap of the two overlapping cameras and the ratio of total pixels of the cropped view to the total pixels of the uncropped view.

### Claim 17 (depends on 11)

The non-transitory processor readable memory of claim 11, wherein one category of the plurality of categories is safety, and
wherein the analysis of the first and second histograms includes:
for a pixel value between two peaks in the first histogram, determining if the same pixel value in the second histogram is above the dynamic threshold of the second histogram;
when the same pixel value in the second histogram is above the dynamic threshold of the second histogram, considering the two peaks of the first histogram to be a single peak;
determining matching and non-matching peaks between the first and second histograms;
determining the ratios of pixels present in matching peaks to total pixels for the first and second histograms;
comparing the ratios of the first and second histograms;
when the ratios of the first and second histograms are substantially equal, no change is needed; and
when the ratios of the first and second histograms are not substantially equal, the needed changes are to increase the lower ratio overlapping camera by an amount reduced based on the overlap of the two overlapping cameras and decrease the higher ratio overlapping camera by an amount reduced based on the overlap of the two overlapping cameras.

### Claim 18 (depends on 11)

The non-transitory processor readable memory of claim 11, wherein determining peaks of the first histogram and the second histogram includes:
determining the first and last histogram values and applying a factor;
determining the averages for chunks of pixel values;
determining the average of the averages and the factored first and last histogram values and setting that average as a dynamic threshold;
removing the first and last histogram values and any consecutive pixel values exceeding the dynamic threshold where the consecutive value is less than a given number from peak analysis;
performing peak analysis which includes:
scanning the histogram array in order and determining if the pixel value exceeds the dynamic threshold, the consecutive pixel values exceeding the dynamic threshold forming a peak; and
determining if the number of consecutive pixel values below the dynamic threshold and between two peaks is less than a small number and including those pixel values in the two peaks to form a single peak; and
adding the first and last histogram values as peaks.

### Claim 19 (depends on 11)

The non-transitory processor readable memory of claim 11, wherein the analysis of the first and second histograms includes:
determining if a change in which overlapping camera is undersaturated and which overlapping camera is oversaturated has occurred in consecutive analyses;
when a change in which overlapping camera is undersaturated and which overlapping camera is oversaturated has not occurred in consecutive analyses, no change to the needed changes is performed;
when a change in which overlapping camera is undersaturated and which overlapping camera is oversaturated has occurred in consecutive analyses, determining if the current needed change exceeds a high threshold;
when the current needed change exceeds the high threshold, no change to the needed changes is performed; and
when the current needed change does not exceed the high threshold, the needed change is reduced to no change.

### Claim 20 (depends on 11)

The non-transitory processor readable memory of claim 11, wherein the steps of claim 11 are each performed separately for red, blue, green and perceived lightness.
