# US 2021/0342998 A1 · Systems and methods for quantitative evaluation of optical map quality and for data augmentation automation

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

- Number: US 2021/0342998 A1
- Document ID: US20210342998A1
- Status: Published application
- Kind: A1
- Application number: 17/246,163
- Filed: 2021-04-30
- Published: 2021-11-04
- Earliest claimed: 2020-05-01
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Yingmao Li; Chenchi Luo; Youngjun Yoo
- Web page: https://patentgrep.com/patent/US20210342998A1

## CPC

- G06T 7/0002: {Inspection of images, e.g. flaw detection}
- G06T 7/269: using gradient-based methods
- G06T 3/18: Image warping, e.g. rearranging pixels individually
- G06T 7/215: Motion-based segmentation
- G06T 7/248: {involving reference images or patches}
- G06T 7/254: involving subtraction of images
- G06T 7/50: Depth or shape recovery
- G06T 7/579: from motion
- G06T 11/00: Two-dimensional [2D] image generation
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2207/30168: Image quality inspection
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A method includes obtaining at least one image and a ground truth map associated with the at least one image. The method also includes generating multiple optical maps using multiple algorithms and the at least one image. The method further includes, for each algorithm, identifying at least one score for the algorithm using one or more of the optical maps generated using the algorithm and the ground truth map. The ground truth map identifies one or more boundaries associated with one or more foreground objects in the at least one image. The scores identify how well the optical maps generated using the algorithms separate the one or more foreground objects from a background in the at least one image.

## Claims

### Claim 1

A method comprising:
obtaining at least one image and a ground truth map associated with the at least one image;
generating multiple optical maps using multiple algorithms and the at least one image; and
for each algorithm, identifying at least one score for the algorithm using one or more of the optical maps generated using the algorithm and the ground truth map;
wherein the ground truth map identifies one or more boundaries associated with one or more foreground objects in the at least one image; and
wherein the scores identify how well the optical maps generated using the algorithms separate the one or more foreground objects from a background in the at least one image.

### Claim 2 (depends on 1)

The method of claim 1, wherein each score comprises an intersection over union score determined as a ratio of (i) an intersection between a specified one of the optical maps and the ground truth map and (ii) a union between the specified one of the optical maps and the ground truth map.

### Claim 3 (depends on 2)

The method of claim 2, wherein:
the intersection between the specified one of the optical maps and the ground truth map is based on a number of pixels identified as being associated with the one or more foreground objects in both the specified one of the optical maps and the ground truth map; and
the union between the specified one of the optical maps and the ground truth map is based on a number of pixels identified as being associated with the one or more foreground objects in either or both the specified one of the optical maps and the ground truth map.

### Claim 4 (depends on 2)

The method of claim 2, wherein:
the intersection between the specified one of the optical maps and the ground truth map is determined using a logical AND of pixels in the specified one of the optical maps and the ground truth map; and
the union between the specified one of the optical maps and the ground truth map is determined using a logical OR of the pixels in the specified one of the optical maps and the ground truth map.

### Claim 5 (depends on 1)

The method of claim 1, wherein:
generating the multiple optical maps comprises applying multiple thresholds to quantized values in order to produce multiple thresholded optical maps associated with each algorithm; and
identifying the at least one score for each algorithm comprises:
identifying multiple scores for the multiple thresholded optical maps associated with the algorithm; and
identifying a maximum score among the multiple scores associated with the algorithm.

### Claim 6 (depends on 1)

The method of claim 1, wherein:
obtaining the at least one image and the ground truth map comprises obtaining multiple images and multiple ground truth maps;
identifying the at least one score for each algorithm comprises identifying multiple scores for each algorithm; and
the method further comprises combining the multiple scores for each algorithm to identify a final score for each algorithm.

### Claim 7 (depends on 1)

The method of claim 1, wherein the optical maps comprise at least one of: depth maps, disparity maps, or optical flow maps.

### Claim 8

An apparatus comprising:
at least one processor configured to:
obtain at least one image and a ground truth map associated with the at least one image;
generate multiple optical maps using multiple algorithms and the at least one image; and
for each algorithm, identify at least one score for the algorithm using one or more of the optical maps generated using the algorithm and the ground truth map;
wherein the ground truth map identifies one or more boundaries associated with one or more foreground objects in the at least one image; and
wherein the scores identify how well the optical maps generated using the algorithms separate the one or more foreground objects from a background in the at least one image.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein each score comprises an intersection over union score expressed as a ratio of (i) an intersection between a specified one of the optical maps and the ground truth map and (ii) a union between the specified one of the optical maps and the ground truth map.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein:
the intersection between the specified one of the optical maps and the ground truth map is based on a number of pixels identified as being associated with the one or more foreground objects in both the specified one of the optical maps and the ground truth map; and
the union between the specified one of the optical maps and the ground truth map is based on a number of pixels identified as being associated with the one or more foreground objects in either or both the specified one of the optical maps and the ground truth map.

### Claim 11 (depends on 9)

The apparatus of claim 9, wherein:
the at least one processor is configured to determine the intersection between the specified one of the optical maps and the ground truth map using a logical AND of pixels in the specified one of the optical maps and the ground truth map; and
the at least one processor is configured to determine the union between the specified one of the optical maps and the ground truth map using a logical OR of the pixels in the specified one of the optical maps and the ground truth map.

### Claim 12 (depends on 8)

The apparatus of claim 8, wherein:
to generate the multiple optical maps, the at least one processor is configured to apply multiple thresholds to quantized values in order to produce multiple thresholded optical maps associated with each algorithm; and
to identify the at least one score for each algorithm, the at least one processor is configured to:
identify multiple scores for the multiple thresholded optical maps associated with the algorithm; and
identify a maximum score among the multiple scores associated with the algorithm.

### Claim 13 (depends on 8)

The apparatus of claim 8, wherein the at least one processor is configured to:
obtain multiple images and multiple ground truth maps;
identify multiple scores for each algorithm; and
combine the multiple scores for each algorithm to identify a final score for each algorithm.

### Claim 14 (depends on 8)

The apparatus of claim 8, wherein the optical maps comprise at least one of:
depth maps, disparity maps, or optical flow maps.

### Claim 15

A non-transitory computer readable medium containing instructions that when executed cause at least one processor to:
obtain at least one image and a ground truth map associated with the at least one image;
generate multiple optical maps using multiple algorithms and the at least one image; and
for each algorithm, identify at least one score for the algorithm using one or more of the optical maps generated using the algorithm and the ground truth map;
wherein the ground truth map identifies one or more boundaries associated with one or more foreground objects in the at least one image; and
wherein the scores identify how well the optical maps generated using the algorithms separate the one or more foreground objects from a background in the at least one image.

### Claim 16 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein each score comprises an intersection over union score expressed as a ratio of (i) an intersection between a specified one of the optical maps and the ground truth map and (ii) a union between the specified one of the optical maps and the ground truth map.

### Claim 17 (depends on 16)

The non-transitory computer readable medium of claim 16, wherein:
the intersection between the specified one of the optical maps and the ground truth map is based on a number of pixels identified as being associated with the one or more foreground objects in both the specified one of the optical maps and the ground truth map; and
the union between the specified one of the optical maps and the ground truth map is based on a number of pixels identified as being associated with the one or more foreground objects in either or both the specified one of the optical maps and the ground truth map.

### Claim 18 (depends on 16)

The non-transitory computer readable medium of claim 16, wherein:
the intersection between the specified one of the optical maps and the ground truth map is determined using a logical AND of pixels in the specified one of the optical maps and the ground truth map; and
the union between the specified one of the optical maps and the ground truth map is determined using a logical OR of the pixels in the specified one of the optical maps and the ground truth map.

### Claim 19 (depends on 15)

The non-transitory computer readable medium of claim 15, further containing instructions that when executed cause the at least one processor to apply multiple thresholds to quantized values in order to produce multiple thresholded optical maps associated with each algorithm;
wherein the instructions that when executed cause the at least one processor to identify the at least one score for each algorithm comprise instructions that when executed cause the at least one processor to:
identify multiple scores for the multiple thresholded optical maps associated with the algorithm; and
identify a maximum score among the multiple scores associated with the algorithm.

### Claim 20 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the instructions when executed cause the at least one processor to:
obtain multiple images and multiple ground truth maps;
identify multiple scores for each algorithm; and
combine the multiple scores for each algorithm to identify a final score for each algorithm.

### Claim 21

A method comprising:
training, using at least one processor, an augmentation network based on multiple first images, the augmentation network trained to generate additional images having one or more photometric characteristics that match or are similar to one or more photometric characteristics of at least some of the first images;
providing, using the at least one processor, multiple second images to the augmentation network;
generating, using the at least one processor, multiple third images by the augmentation network based on at least some of the second images; and
training, using the at least one processor, a machine learning model to perform an image processing operation using at least some of the second and third images.

### Claim 22 (depends on 21)

The method of claim 21, wherein:
the first images comprise images of real-world scenes; and
the second images comprise training images associated with known ground truths.

### Claim 23 (depends on 22)

The method of claim 22, wherein the augmentation network is trained based on differences between the images of the real-world scenes so that the third images are generated having matching or similar differences relative to at least some of the training images.

### Claim 24 (depends on 21)

The method of claim 21, further comprising, prior to training the augmentation network:
initially training the machine learning model using the second images; and
using the machine learning model to generate at least some of the first images.

### Claim 25 (depends on 24)

The method of claim 24, wherein:
using the machine learning model to generate at least some of the first images comprises generating warped versions of at least some of the first images; and
training the augmentation network comprises training the augmentation network using the warped versions of at least some of the first images.

### Claim 26 (depends on 25)

The method of claim 25, wherein the augmentation network is trained to minimize photometric differences between each warped version of one of the first images and another one of the first images.

### Claim 27 (depends on 21)

The method of claim 21, wherein the machine learning model is trained to generate depth or disparity maps associated with images captured by one or more imaging sensors of an electronic device.
