# US 2021/0084281 A1 · Circular stitching of images

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

- Number: US 2021/0084281 A1
- Document ID: US20210084281A1
- Status: Published application
- Kind: A1
- Application number: 17/018,679
- Filed: 2020-09-11
- Published: 2021-03-18
- Earliest claimed: 2019-09-18
- Assignees: GoPro, Inc.
- Applicants: GoPro, Inc.
- Inventors: Bruno César Douady; Alexis Lefebvre
- Web page: https://patentgrep.com/patent/US20210084281A1

## CPC

- H04N 13/156: Mixing image signals
- G06T 3/4038: Image mosaicing, e.g. composing plane images from plane sub-images
- G06T 7/593: from stereo images
- H04N 13/239: using two two-dimensional [2D] image sensors having a relative position equal to or related to the interocular distance (H04N13/243 takes precedence)
- 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 23/698: for achieving an enlarged field of view, e.g. panoramic image capture
- G06T 2207/20221: Image fusion; Image merging
- G06T 2207/20224: Image subtraction
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Systems and methods are disclosed for circular stitching of images. For example, methods may include accessing a first image captured using a first image sensor; accessing a second image captured using a second image sensor; determining a cost table for a circular stitching boundary that includes overlapping regions of the first image and the second image; determining an extended disparity profile based on a periodic extension of the cost table and a smoothness criterion, wherein the extended disparity profile has a length greater than the width of the cost table; determining a binocular disparity profile of a length equal to the width of the cost table based on a contiguous subsequence of the extended disparity profile; and stitching the first image and the second image using the binocular disparity profile to obtain a combined image.

## Claims

### Claim 1

A system comprising:
a first image sensor configured to capture images;
a second image sensor configured to capture images; and
a processing apparatus that is configured to:
access a first image captured using the first image sensor;
access a second image captured using the second image sensor;
determine a cost table for a circular stitching boundary that includes overlapping regions of the first image and the second image, wherein the cost table is indexed by a longitude around the circular stitching boundary and indexed by a binocular disparity value, and wherein the cost table has a width corresponding to a circumference of the circular stitching boundary;
determine an extended disparity profile based on a periodic extension of the cost table and a smoothness criterion, wherein the extended disparity profile has a length greater than the width of the cost table;
determine a binocular disparity profile of a length equal to the width of the cost table based on a contiguous subsequence of the extended disparity profile; and
stitch the first image and the second image using the binocular disparity profile to obtain a combined image.

### Claim 2 (depends on 1)

The system of claim 1, wherein the extended disparity profile is constrained to start at a disparity value of zero and end at a disparity value of zero.

### Claim 3 (depends on 1)

The system of claim 1, wherein the processing apparatus that is configured to:
determine a subsequence selection index as a smallest non-negative index such that the extend disparity profile has a value at the subsequence selection index that is greater than or equal to the value of the extended disparity profile at the subsequence selection index plus the width of the cost table; and
determine the binocular disparity profile based on the subsequence selection index.

### Claim 4 (depends on 1)

The system of claim 1, wherein the length of the extended disparity profile is between ten percent and thirty percent greater than the width of the cost table.

### Claim 5 (depends on 1)

The system of claim 1, wherein the smoothness criterion is a sum of differences between consecutive elements of the extended disparity profile.

### Claim 6 (depends on 1)

The system of claim 1, wherein the processing apparatus that is configured to:
determine the extended disparity profile subject to a constraint that all differences between consecutive elements of the extended disparity profile are less than a maximum disparity change.

### Claim 7 (depends on 1)

The system of claim 1, wherein the first image sensor is attached to the second image sensor and oriented in an opposite direction with respect to the second image sensor, such that the first image sensor and the second image sensor have partially overlapping fields of view.

### Claim 8 (depends on 7)

The system of claim 7, comprising:
a first fisheye lens attached to the first image sensor such that the first image sensor is positioned to detect light incident through the first fisheye lens; and
a second fisheye lens attached to the second image sensor such that the second image sensor is positioned to detect light incident through the second fisheye lens.

### Claim 9 (depends on 1)

The system of claim 1, wherein a height of the cost table corresponds to a range of binocular disparity values to be searched.

### Claim 10 (depends on 1)

The system of claim 1, wherein the combined image is a spherical image.

### Claim 11

A method comprising:
accessing a first image captured using a first image sensor;
accessing a second image captured using a second image sensor;
determining a cost table for a circular stitching boundary that includes overlapping regions of the first image and the second image, wherein the cost table is indexed by a longitude around the circular stitching boundary and indexed by a binocular disparity value, and wherein the cost table has a width corresponding to a circumference of the circular stitching boundary;
determining an extended disparity profile based on a periodic extension of the cost table and a smoothness criterion, wherein the extended disparity profile has a length greater than the width of the cost table, wherein the extended disparity profile is constrained to start and end at a same disparity value;
determining a binocular disparity profile of a length equal to the width of the cost table based on a contiguous subsequence of the extended disparity profile; and
stitching the first image and the second image using the binocular disparity profile to obtain a combined image.

### Claim 12 (depends on 11)

The method of claim 11, wherein the same disparity value for the start and end of the extended disparity profile is zero.

### Claim 13 (depends on 11)

The method of claim 11, comprising:
determining a subsequence selection index as a smallest non-negative index such that the extend disparity profile has a value at the subsequence selection index that is greater than or equal to the value of the extended disparity profile at the subsequence selection index plus the width of the cost table; and
determining the binocular disparity profile based on the subsequence selection index.

### Claim 14 (depends on 11)

The method of claim 11, wherein the length of the extended disparity profile is between ten percent and thirty percent greater than the width of the cost table.

### Claim 15 (depends on 11)

The method of claim 11, wherein the smoothness criterion is a sum of differences between consecutive elements of the extended disparity profile.

### Claim 16 (depends on 11)

The method of claim 11, wherein determining the extended disparity profile comprises:
determining the extended disparity profile subject to a constraint that all differences between consecutive elements of the extended disparity profile are less than a maximum disparity change.

### Claim 17 (depends on 11)

The method of claim 11, wherein a height of the cost table corresponds to a range of binocular disparity values to be searched.

### Claim 18 (depends on 11)

The method of claim 11, wherein the combined image is a spherical image.

### Claim 19 (depends on 11)

The method of claim 11, comprising:
storing, displaying, or transmitting an output image that is based on the combined image.

### Claim 20

A non-transitory computer-readable storage medium storing executable instructions that, when executed by a processor, cause performance of operations, comprising:
accessing a first image captured using a first image sensor;
accessing a second image captured using a second image sensor;
determining a cost table for a circular stitching boundary that includes overlapping regions of the first image and the second image, wherein the cost table is indexed by a longitude around the circular stitching boundary and indexed by a binocular disparity value, and wherein the cost table has a width corresponding to a circumference of the circular stitching boundary;
determining an extended disparity profile based on a periodic extension of the cost table and a smoothness criterion, wherein the extended disparity profile has a length greater than the width of the cost table, wherein the extended disparity profile is constrained to start at a disparity value of zero and end at a disparity value of zero;
determining a binocular disparity profile of a length equal to the width of the cost table based on a contiguous subsequence of the extended disparity profile; and
stitching the first image and the second image using the binocular disparity profile to obtain a combined image.
