# US 2020/0394776 A1 · Regularized Derivative Operators for Image Processing System and Method

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

- Number: US 2020/0394776 A1
- Document ID: US20200394776A1
- Status: Published application
- Kind: A1
- Application number: 16/900,653
- Filed: 2020-06-12
- Published: 2020-12-17
- Earliest claimed: 2019-06-13
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Graham Finlayson; Mark Drew
- Web page: https://patentgrep.com/patent/US20200394776A1

## CPC

- G06T 5/94: based on local image properties, e.g. for local contrast enhancement
- G06T 5/20: using local operators
- G06T 5/92: based on global image properties
- G06T 2207/20208: High dynamic range [HDR] image processing
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Devices, methods, and non-transitory program storage devices are disclosed herein to provide improved image processing, the techniques comprising: obtaining an input image and target image data, and then calculating derivatives for the target image data using a regularized derivative kernel operator. In some embodiments, the regularized operator may comprise the following operator: [−1 (1+ε)], wherein ε may be a controllable system parameter and preferably is independent of the particular type of image processing being applied to the image. In some embodiments, the techniques may find look-up table (LUT) mappings or analytical functions to approximate the derivative structure of the target image data. Finally, the techniques disclosed herein may generate an output image from the input image based on attempting to closely approximate the calculated derivatives for the target image data. In preferred embodiments, by controlling the mapping, e.g., using regularization techniques, halos and other image artifacts may be ameliorated.

## Claims

### Claim 1

A device, comprising:
a memory;
one or more image capture devices;
a user interface; and
one or more processors operatively coupled to the memory, wherein the one or more processors are configured to execute instructions causing the one or more processors to:
obtain an input image and target image data;
calculate derivatives for the target image data using a regularized derivative operator; and
generate an output image from the input image, wherein the output image is determined based on the calculated derivatives for the target image data.

### Claim 2 (depends on 1)

The device of claim 1, wherein the target image data comprises gradient values.

### Claim 3 (depends on 1)

The device of claim 1, wherein the instructions further comprise instructions to:
determine a Look-up table (LUT) comprising mappings from the input image determined based on a derivative structure of the target image data, and
wherein the output image is further determined by using the determined LUT.

### Claim 4 (depends on 3)

The device of claim 3, wherein the instructions to determine a Look-up table (LUT) comprising mappings from the input image determined based on a derivative structure of the target image data further comprise instructions to:
determine a Look-up table (LUT) comprising mappings from the input image determined based on solving a minimization operation attempting to match a derivative structure of the input image to the derivative structure of the target image data.

### Claim 5 (depends on 3)

The device of claim 3, wherein the instructions to determine a Look-up table (LUT) comprising mappings from the input image determined based on a derivative structure of the target image data further comprise instructions to:
determine a Look-up table (LUT) using downscaled versions of the input image and the target image data.

### Claim 6 (depends on 1)

The device of claim 1, wherein the instructions to generate an output image from the input image data, wherein the output image is determined based on the calculated derivatives for the target image data further comprise instructions to:
generate an output image from the input image data, wherein the output image is determined based on solving a minimization operation attempting to match a derivative structure of the input image to the derivative structure of the target image data.

### Claim 7 (depends on 1)

The device of claim 1, wherein the instructions to generate an output image from the input image data, wherein the output image is determined based on the calculated derivatives for the target image data further comprise instructions to:
map the input image to the output image using one or more analytic functions.

### Claim 8 (depends on 1)

The device of claim 1, wherein the regularized derivative operator comprises a kernel operator.

### Claim 9 (depends on 8)

The device of claim 8, wherein the kernel operator is defined as: [−a, b], wherein b>a (wherein a>0 and b>0).

### Claim 10 (depends on 8)

The device of claim 8, wherein the kernel operator is defined as: [−1 (1+∈)], wherein ∈>0.

### Claim 11 (depends on 10)

The device of claim 10, wherein the E parameter is a controllable system parameter that is independent of a type of image processing being applied to the input image.

### Claim 12

A non-transitory computer readable medium comprising computer readable instructions configured to cause one or more processors to:
obtain an input image and target image data;
calculate derivatives for the target image data using a regularized derivative operator; and
generate an output image from the input image, wherein the output image is determined to be an image having derivatives based on the calculated derivatives for the target image data.

### Claim 13 (depends on 12)

The non-transitory computer readable medium of claim 12, wherein the instructions further comprise instructions to:
determine a Look-up table (LUT) comprising mappings from the input image determined based on a derivative structure of the target image data, and
wherein the output image is further determined by using the determined LUT.

### Claim 14 (depends on 12)

The non-transitory computer readable medium of claim 12, wherein the regularized derivative operator comprises a kernel operator defined as: [−1 (1+∈)], wherein ∈>0.

### Claim 15 (depends on 14)

The non-transitory computer readable medium of claim 14, wherein the ∈ parameter is a controllable system parameter that is independent of a type of image processing being applied to the input image.

### Claim 16

An image processing method, comprising:
obtaining an input image and target image data;
calculating derivatives for the target image data using a regularized derivative operator; and
generating an output image from the input image, wherein the output image is determined to be an image having derivatives based on the calculated derivatives for the target image data.

### Claim 17 (depends on 16)

The method of claim 16, further comprising:
determining a Look-up table (LUT) comprising mappings from the input image determined based on a derivative structure of the target image data, and
wherein the output image is further determined by using the determined LUT.

### Claim 18 (depends on 16)

The method of claim 16, wherein generating the output image from the input image further comprises using a Poisson-type solver operation.

### Claim 19 (depends on 18)

The method of claim 18, wherein the regularized derivative operator comprises a kernel operator defined as: [−1 (1+∈)], wherein ∈>0.

### Claim 20 (depends on 16)

The method of claim 16, wherein calculating derivatives for the target image data using a regularized derivative operator further comprises:
calculating x-derivatives of the target image data by differentiation using a derivative kernel; and
calculating y-derivatives of the target image data by differentiation using a derivative kernel,
wherein generating an output image from the input image further comprises generating an output image determined to have derivatives based on the calculated x-derivatives and y-derivatives of the target image data.
