# US 2020/0394759 A1 · Asymmetric normalized correlation layer for deep neural network feature matching

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

- Number: US 2020/0394759 A1
- Document ID: US20200394759A1
- Status: Published application
- Kind: A1
- Application number: 16/712,882
- Filed: 2019-12-12
- Published: 2020-12-17
- Earliest claimed: 2019-06-11
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Chenchi Luo; Yingmao Li; Youngjun Yoo; George Q. Chen; Kaimo Lin; David D. Liu; Gyeongmin Choe
- Web page: https://patentgrep.com/patent/US20200394759A1

## CPC

- G06T 5/70: Denoising; Smoothing
- 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)
- G06T 5/60: using machine learning, e.g. neural networks
- G06T 7/593: from stereo images
- G06T 7/85: {Stereo camera calibration}
- H04N 13/128: Adjusting depth or disparity
- H04N 13/246: Calibration of cameras
- G06T 2207/10028: Range image; Depth image; 3D point clouds
- G06T 2207/20084: Artificial neural networks [ANN]
- H04N 13/161: Encoding, multiplexing or demultiplexing different image signal components (for multi-view video sequence encoding H04N19/597)
- H04N 2013/0081: {Depth or disparity estimation from stereoscopic image signals}
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method includes obtaining a first image of a scene using a first image sensor of an electronic device and a second image of the scene using a second image sensor of the electronic device. The method also includes generating a first feature map from the first image and a second feature map from the second image. The method further includes generating a third feature map based on the first feature map, the second feature map, and an asymmetric search window. The method additionally includes generating a depth map by restoring spatial resolution to the third feature map.

## Claims

### Claim 1

A method comprising:
obtaining a first image of a scene using a first image sensor of an electronic device and a second image of the scene using a second image sensor of the electronic device;
generating a first feature map from the first image and a second feature map from the second image;
generating a third feature map based on the first feature map and the second feature map, using an asymmetric search window; and
generating a depth map by restoring spatial resolution to the third feature map.

### Claim 2 (depends on 1)

The method of claim 1, wherein generating the first feature map and the second feature map comprises:
modifying at least one of the first image and the second image to generate a calibrated image pair; and
using the calibrated image pair to generate the first feature map and the second feature map.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
identifying high-frequency components and a low-frequency component of the first feature map, wherein the high-frequency components are used to restore the spatial resolution to the third feature map.

### Claim 4 (depends on 1)

The method of claim 1, wherein the asymmetric search window includes at least two different distances for at least two different directions in the asymmetric search window.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first feature map and the second feature map are generated in parallel using different feature extractors in a neural network.

### Claim 6 (depends on 1)

The method of claim 1, wherein generating the third feature map comprises:
applying a random binary mask across the first feature map and the second feature map to generate a masked first feature map and a masked second feature map; and
identifying the third feature map by calculating channel-normalized cross-correlations between the first masked feature map and shifted versions of the second masked feature map, wherein the second masked feature map is shifted multiple times based on a size of the asymmetric search window.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
obtaining a focus point within the first image; and
using the depth map to generate a Bokeh effect by blurring portions of the first image that correspond to depths that are different than a depth associated with the focus point.

### Claim 8

An electronic device comprising:
a first image sensor;
a second image sensor; and
at least one processor operatively coupled to the first and second image sensors and configured to:
obtain a first image of a scene using the first image sensor and a second image of the scene using the second image sensor;
generate a first feature map from the first image and a second feature map from the second image;
generate a third feature map based on the first feature map and the second feature map, using an asymmetric search window; and
generate a depth map by restoring spatial resolution to the third feature map.

### Claim 9 (depends on 8)

The electronic device of claim 8, wherein, to generate the first feature map and the second feature map, the at least one processor is configured to:
modify at least one of the first image and the second image to generate a calibrated image pair; and
use the calibrated image pair to generate the first feature map and the second feature map.

### Claim 10 (depends on 8)

The electronic device of claim 8, wherein:
the at least one processor is further configured to identify high-frequency components and a low-frequency component of the first feature map; and
the at least one processor is configured to restore the spatial resolution to the third feature map using the high-frequency components.

### Claim 11 (depends on 8)

The electronic device of claim 8, wherein the asymmetric search window includes at least two different distances for at least two different directions in the asymmetric search window.

### Claim 12 (depends on 8)

The electronic device of claim 8, wherein the at least one processor is configured to generate the first feature map and the second feature map in parallel using different feature extractors in a neural network.

### Claim 13 (depends on 8)

The electronic device of claim 8, wherein, to generate the depth map, the at least one processor is configured to:
apply a random binary mask across the first feature map and the second feature map to generate a masked first feature map and a masked second feature map; and
identify the third feature map by calculating channel-normalized cross-correlations between the first masked feature map and shifted versions of the second masked feature map; and
wherein the at least one processor is configured to shift the second feature map multiple times based on a size of the asymmetric search window.

### Claim 14 (depends on 8)

The electronic device of claim 8, wherein the at least one processor is further configured to:
obtain a focus point within the first image; and
use the depth map to generate a Bokeh effect by blurring portions of the first image that correspond to depths that are different than a depth associated with the focus point.

### Claim 15

A non-transitory machine-readable medium containing instructions that when executed cause at least one processor of an electronic device to:
obtain a first image of a scene using a first image sensor of the electronic device and a second image of the scene using a second image sensor of the electronic device;
generate a first feature map from the first image and a second feature map from the second image;
generate a third feature map based on the first feature map and the second feature map, using an asymmetric search window; and
generate a depth map by restoring spatial resolution to the third feature map.

### Claim 16 (depends on 15)

The non-transitory machine-readable medium of claim 15, further containing instructions that when executed cause the at least one processor to:
modify at least one of the first image and the second image to generate a calibrated image pair; and
use the calibrated image pair to generate the first feature map and the second feature map.

### Claim 17 (depends on 15)

The non-transitory machine-readable medium of claim 15, further containing instructions that when executed cause the at least one processor to:
identify high-frequency components and a low-frequency component of the first feature map; and
use the high-frequency components to restore the spatial resolution to the third feature map.

### Claim 18 (depends on 15)

The non-transitory machine-readable medium of claim 15, wherein the asymmetric search window includes at least two different distances for at least two different directions in the asymmetric search window.

### Claim 19 (depends on 15)

The non-transitory machine-readable medium of claim 15, wherein the instructions that when executed cause the at least one processor to generate the third feature map comprise:
instructions that when executed cause the at least one processor to:
apply a random binary mask across the first feature map and the second feature map to generate a masked first feature map and a masked second feature map; and
identify the third feature map by calculating channel-normalized cross-correlations between the first masked feature map and shifted versions of the second masked feature map, wherein the second masked feature map is shifted multiple times based on a size of the asymmetric search window.

### Claim 20 (depends on 15)

The non-transitory machine-readable medium of claim 15, further containing instructions that when executed cause the at least one processor to:
obtain a focus point within the first image; and
use the depth map to generate a Bokeh effect by blurring portions of the first image that correspond to depths that are different than a depth associated with the focus point.
