# US 2021/0082086 A1 · Depth-based image stitching for handling parallax

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

- Number: US 2021/0082086 A1
- Document ID: US20210082086A1
- Status: Published application
- Kind: A1
- Application number: 17/013,770
- Filed: 2020-09-07
- Published: 2021-03-18
- Earliest claimed: 2019-09-12
- Assignees: Nikon Corporation
- Applicants: Nikon Corporation
- Inventors: Tanmay Nitin Bichu; Ikuya Saito; Hideo Hoshuyama
- Web page: https://patentgrep.com/patent/US20210082086A1

## CPC

- G06T 3/4038: Image mosaicing, e.g. composing plane images from plane sub-images
- G06T 5/80: Geometric correction
- G06T 5/50: using two or more images, e.g. averaging or subtraction
- G06T 5/70: Denoising; Smoothing
- G06T 7/33: using feature-based methods
- G06T 7/55: from multiple images
- G06T 2207/10012: Stereo images
- G06T 2207/10028: Range image; Depth image; 3D point clouds
- G06T 2207/20024: Filtering details
- G06T 2207/20221: Image fusion; Image merging
- G06T 2207/20228: Disparity calculation for image-based rendering
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A solution to the problem of image and video stitching is disclosed that compensates for the effects of lens distortion, camera misalignment, and parallax in combining multiple images. The disclosed image stitching technique includes depth or disparity estimation, alignment, and blending processes configured to be computationally efficient and produce quality results by limiting the presence of noticeable seams and artifacts in the final stitched image. An inter-frame approach applies image stitching to video frames to maintain temporal continuity between successive frames across a stitched video output having a 360-degree viewing perspective. A temporal adjustment is configured to improve temporal continuity between a subsequent frame and a previous frame in a sequence of video frames.

## Claims

### Claim 1

An image stitching system comprising:
a processor; and
a memory coupled with the processor, wherein the memory is configured to provide the processor with instructions that when executed cause the processor to:
estimate a depth of objects in a stitching region of two images;
align the two images based at least in part on aligning the objects in the stitching region using the estimated depth of the objects; and
stitch the aligned images to form a stitched image.

### Claim 2 (depends on 1)

The system recited in claim 1, wherein the objects comprise corresponding pixels in two images to be stitched and wherein estimating the depth comprises determining a disparity map for each pixel associated with an object to be aligned.

### Claim 3 (depends on 1)

The system recited in claim 1, wherein:
the objects comprise corresponding pixels in two images to be stitched and the memory is further configured to provide the processor with instructions that when executed cause the processor to pre-process each of the two images;
estimating the depth comprises determining a disparity map for each pixel associated with an object to be aligned; and
aligning the two images is based at least in part on the disparity map.

### Claim 4 (depends on 1)

The system recited in claim 1, wherein:
the objects comprise corresponding pixels in two images to be stitched and the memory is further configured to provide the processor with instructions that when executed cause the processor to pre-process each of the two images including by rectifying each of the two images;
estimating the depth comprises determining a disparity map for each pixel in a stitching region based on the rectified images; and
aligning the two images is based at least in part on the disparity map.

### Claim 5 (depends on 1)

The system recited in claim 1, wherein:
the objects comprise corresponding pixels in two images to be stitched and the memory is further configured to provide the processor with instructions that when executed cause the processor to pre-process each of the two images, wherein pre-processing comprises calibrating each of the two images;
estimating the depth comprises determining a disparity map for each pixel in a stitching region based on the calibrated images; and
aligning the two images is based at least in part on the disparity map.

### Claim 6

A computer program product for image stitching, the computer program product being embodied in a tangible computer readable storage medium and comprising computer instructions for:
estimating a depth of objects in a stitching region of two images;
aligning the two images based at least in part on aligning the objects in the stitching region using the estimated depth of the objects; and
stitching the aligned images to form a stitched image.

### Claim 7

An image stitching system comprising:
a processor; and
a memory coupled with the processor, wherein the memory is configured to provide the processor with instructions that when executed cause the processor to:
rectify a first image to form a first rectified image and rectify a second image to form a second rectified image;
determine a first disparity map and a second disparity map based at least in part on the first rectified image and the second rectified image;
align the first rectified image and the second rectified image based at least in part on the first disparity map and the second disparity map; and
stitch the aligned images to form a stitched image.

### Claim 8 (depends on 7)

The system recited in claim 7, wherein the first image is captured by a first camera or lens and the second image is captured by a second camera or lens and wherein the memory is further configured to provide the processor with instructions that when executed cause the processor to calibrate the first image and calibrate the second image.

### Claim 9 (depends on 7)

The system recited in claim 7, wherein the first image is captured by a first camera or lens and the second image is captured by a second camera or lens and wherein the memory is further configured to provide the processor with instructions that when executed cause the processor to calibrate the first image to form a first calibrated image and calibrate the second image to form a second calibrated image and wherein rectifying comprises performing a rectification process on an overlap region of the first calibrated image and the second calibrated image.

### Claim 10 (depends on 7)

The system recited in claim 7, wherein the memory is further configured to provide the processor with instructions that when executed cause the processor to filter the first disparity map to obtain a first filtered disparity map and filter the second disparity map to obtain a second filtered disparity map, wherein aligning the first rectified image and the second rectified image is based at least in part on the first filtered disparity map and the second filtered disparity map.

### Claim 11 (depends on 7)

The system recited in claim 7, wherein the memory is further configured to provide the processor with instructions that when executed cause the processor to:
filter the first disparity map to obtain a first filtered disparity map and filter the second disparity map to obtain a second filtered disparity map; and
adjust the first filtered disparity map to obtain a first adjusted disparity map and adjust the second disparity map to obtain a second adjusted disparity map, wherein aligning the first rectified image and the second rectified image is based at least in part on the first adjusted disparity map and the second adjusted disparity map.

### Claim 12 (depends on 7)

The system recited in claim 7, wherein the memory is further configured to provide the processor with instructions that when executed cause the processor to:
filter the first disparity map to obtain a first filtered disparity map and filter the second disparity map to obtain a second filtered disparity map; and
adjust the first filtered disparity map to obtain a first adjusted disparity map and adjust the second filtered disparity map to obtain a second adjusted disparity map, wherein adjusting the first filtered disparity map and the second filtered disparity map comprises performing a linear weighting process to smoothen a transition between an overlap and a non-overlap region, wherein aligning the first rectified image and the second rectified image is based at least in part on the first adjusted disparity map and the second adjusted disparity map.

### Claim 13 (depends on 7)

The system recited in claim 7, wherein the memory is further configured to provide the processor with instructions that when executed cause the processor to:
filter the first disparity map to obtain a first filtered disparity map and filter the second disparity map to obtain a second filtered disparity map; and
adjust the first filtered disparity map to obtain a first adjusted disparity map and adjust the second filtered disparity map to obtain a second adjusted disparity map, wherein adjusting the first filtered disparity map and the second filtered disparity map comprises adjusting the disparity values at a top section or a bottom section of the filtered disparity maps to lessen differences between top and bottom disparity values, wherein aligning the first rectified image and the second rectified image is based at least in part on the first adjusted disparity map and the second adjusted disparity map.

### Claim 14 (depends on 7)

The system recited in claim 7, wherein the memory is further configured to provide the processor with instructions that when executed cause the processor to:
filter the first disparity map to obtain a first filtered disparity map and filter the second disparity map to obtain a second filtered disparity map; and
adjust the first filtered disparity map to obtain a first adjusted disparity map and adjust the second filtered disparity map to obtain a second adjusted disparity map, wherein adjusting the first filtered disparity map and the second filtered disparity map comprises performing a linear weighting process configured to adjust the first filtered disparity map and the second filtered disparity map such that, when applied to align the first rectified image and the second rectified image, a middle section of the first rectified image and a middle section of the second rectified image are substantially aligned for image blending and a transition between an overlap region and a non-overlap region is smoothened, wherein aligning the first rectified image and the second rectified image is based at least in part on the first adjusted disparity map and the second adjusted disparity map.

### Claim 15 (depends on 7)

The system recited in claim 7, wherein the memory is further configured to provide the processor with instructions that when executed cause the processor to:
filter the first disparity map to obtain a first filtered disparity map and filter the second disparity map to obtain a second filtered disparity map; and
adjust the first filtered disparity map to obtain a first adjusted disparity map and adjust the second filtered disparity map to obtain a second adjusted disparity map, wherein adjusting the first filtered disparity map and the second filtered disparity map comprises performing a linear weighting process configured to adjust the first filtered disparity map and the second filtered disparity map such that, when applied to align the first rectified image and the second rectified image, a middle section of the first rectified image and a middle section of the second rectified image are substantially aligned for image blending and a transition between the overlap region and a non-overlap region is smoothened, wherein aligning the first rectified image and the second rectified image is based at least in part on the first adjusted disparity map and the second adjusted disparity map; and
performing a blending process to stitch the substantially aligned middle sections of the first rectified image and the second rectified image.

### Claim 16 (depends on 7)

The system recited in claim 7, wherein aligning the first rectified image and the second rectified image comprises aligning the first rectified image based at least in part on the first disparity map to generate a first disparity corrected image and aligning the second rectified image based at least in part on the second disparity map to generate a second disparity corrected image and wherein stitching the aligned images comprises stitching the first disparity corrected image and the second disparity corrected image to form a stitched image.

### Claim 17

A computer program product for image stitching, the computer program product being embodied in a tangible computer readable storage medium and comprising computer instructions for:
rectifying a first image to form a first rectified image and rectifying a second image to form a second rectified image;
determining a first disparity map and a second disparity map based at least in part on the first rectified image and the second rectified image;
aligning the first rectified image and the second rectified image based at least in part on the first disparity map and the second disparity map; and
stitching the aligned images to form a stitched image.
