# US 2020/0394770 A1 · Method for optimal body or face protection with adaptive dewarping based on context segmentation layers

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

- Number: US 2020/0394770 A1
- Document ID: US20200394770A1
- Status: Published application
- Kind: A1
- Application number: 16/898,501
- Filed: 2020-06-11
- Published: 2020-12-17
- Earliest claimed: 2019-06-11
- Assignees: Immervision, Inc.
- Applicants: ImmerVision, Inc.
- Inventors: Patrice ROULET; Pierre KONEN; Jocelyn PARENT; Simon THIBAULT; Xavier DALLAIRE; Xiaojun DU; Ebrahim MORTAZY
- Web page: https://patentgrep.com/patent/US20200394770A1

## CPC

- G06T 3/18: Image warping, e.g. rearranging pixels individually
- G06T 5/80: Geometric correction
- G06T 3/60: Rotation of whole images or parts thereof
- G06T 5/50: using two or more images, e.g. averaging or subtraction
- G06T 5/77: Retouching; Inpainting; Scratch removal
- G06T 7/11: Region-based segmentation
- G06T 7/194: involving foreground-background segmentation
- G06T 7/50: Depth or shape recovery
- H04N 23/698: for achieving an enlarged field of view, e.g. panoramic image capture
- G06T 2207/10028: Range image; Depth image; 3D point clouds
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method for enhancing a wide angle image to improve the perspectives and the visual appeal thereof wide-angle images uses custom adaptive dewarping. The method is based on the scene image content of recognized objects in the image, the position of these objects in the image, the depth of these objects in the scene with respect to other objects and the general context of the image.

## Claims

### Claim 1

A method for enhancing a wide-angle image based on image context and segmentation layers, the method comprising:
a. receiving, by a processor, an original wide-angle image created by an imager and having a plurality of elements, each element being in one of a foreground or a background of the original wide-angle image, one or more of the elements having a warped geometry;
b. segmenting, by the processor, the original wide-angle image into a plurality of segmented layers, each of the segmented layers including at least one of the elements, the segmentation being based on at least one of a shape of one or more of the elements, a position of one or more of the elements in the original wide-angle image, or a depth of one or more of the elements compared to other elements;
c. processing, by the processor, at least one of the segmented layers to at least partially dewarp any of the one or more elements having the warped geometry in the at least one segmented layer, creating at least one dewarped layer; and
d. merging, by the processor, the at least one dewarped layer with the other segmented layers to form a final image.

### Claim 2 (depends on 1)

The method of claim 1, wherein the original wide-angle image is captured by the imager, the imager being an optical system comprising at least a camera and a wide-angle lens.

### Claim 3 (depends on 2)

The method of claim 2 wherein the diagonal field of view of the wide-angle lens is at least over 60°.

### Claim 4 (depends on 1)

The method of claim 1, wherein at least one of the elements is in the foreground of the original wide-angle image, and the segmentation of the at least one foreground element is based on the relative depth compared to other elements, the relative depth being calculated by an artificial intelligence neural network.

### Claim 5 (depends on 1)

The method of claim 1, wherein a specific dewarping process of the at least one segmented layer depends either on a position of the at least one segmented layer in the original wide-angle image or on a classification of the at least one of the elements in the at least one segmented layer.

### Claim 6 (depends on 1)

The method of claim 1, wherein the warped geometry comprises at least one of a stretched proportion, a curved line or an image with optical distortion.

### Claim 7 (depends on 1)

The method of claim 1, wherein a specific dewarping process of the at least one segmented layer depends on an adjustable correction weight, the correction weight being either selected according to a user preference or a preset.

### Claim 8 (depends on 1)

The method of claim 1, wherein the processing step further includes at least one of blurring the at least one dewarped layer, rotating the at least one dewarped layer, translating the at least one dewarped layer, scaling the at least one dewarped layer, correcting the perspective tilt of the at least one dewarped layer or stabilizing the at least one dewarped layer.

### Claim 9 (depends on 1)

The method of claim 1, wherein an inpainting technique is used to complete at least one part of missing information in the original wide-angle image.

### Claim 10 (depends on 1)

The method of claim 1, wherein at least one part of missing information in the original wide-angle image is hidden by scaling of the at least one dewarped layer.

### Claim 11 (depends on 1)

The method of claim 1, wherein the processing of the at least one segmented layer uses a dewarping projection for a background layer depending on a detected context of the original wide-angle image.

### Claim 12 (depends on 1)

The method of claim 1, wherein the processing of the at least one segmented layer to create the at least one dewarped layer includes creating a virtual camera centered on the element having the warped geometry, applying a rectilinear correction on the virtual camera and translating the result to a correct location in the final image.

### Claim 13 (depends on 1)

The method of claim 1, wherein merging the at least one dewarped layer with the other layers is done by adjusting either a texture or a display mesh.

### Claim 14

A method for enhancing a wide-angle image based on image context, the method comprising:
a. receiving, by a processor, an original wide-angle image created by an imager and having at least one element having a warped geometry;
b. creating, by the processor, at least one classified element by classifying from the original wide-angle image the at least one element having the warped geometry, the classification being based on at least one of a shape of the at least one element, a position of the at least one element in the original wide-angle image or a depth of the at least one element compared other elements in the original wide-angle image; and
c. creating, by the processor, a final image by processing the original wide-angle image to balance simultaneous correction of the warped geometry of the at least one classified element and maximization of a field of view of the final image.

### Claim 15 (depends on 14)

The method of claim 14, wherein the processing of the original wide-angle image is done according to adjustable correction weights.

### Claim 16 (depends on 15)

The method of claim 15, wherein the adjustable correction weights are either adjusted according to an application or according to a user preference.

### Claim 17 (depends on 14)

The method of claim 14, wherein the processing of the original wide-angle image is done using an artificial intelligence algorithm.

### Claim 18 (depends on 14)

The method of claim 14, wherein continuous lines in an object scene of the original wide-angle image are discontinuous in the final image.

### Claim 19 (depends on 14)

The method of claim 14, wherein the processing of the original wide-angle image includes transforming either a texture or a display mesh.

### Claim 20

A device for enhancing a wide-angle image based on image context and segmentation layers, the device comprising:
a. an imager creating an original wide-angle image having a plurality of elements, each element being in one of a foreground or a background of the original wide-angle image, one or more of the elements having a warped geometry; and
b. a processor configured to:
i. segment the original wide-angle image into a plurality of segmented layers, each of the segmented layers including at least one of the elements, the segmentation being based on at least one of a shape of one or more of the elements, a position of one or more of the elements in the original wide-angle image, or a depth of one or more of the elements compared to other elements,
ii. process at least one of the segmented layers to at least partially dewarp any of the one or more elements having the warped geometry in the at least one segmented layer, creating at least one dewarped layer, and
iii. merge the at least one dewarped layer with the other segmented layers to form a final image.
