# US 2015/0103214 A1 · Image Sharpening Processing Method and Apparatus, and Shooting Terminal

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

- Number: US 2015/0103214 A1
- Document ID: US20150103214A1
- Status: Published application
- Kind: A1
- Application number: 14/575,710
- Filed: 2014-12-18
- Published: 2015-04-16
- Earliest claimed: 2013-01-07
- Assignees: Huawei Device Co., Ltd.
- Applicants: Huawei Device Co., Ltd.
- Inventors: Gang Chen; Wei Luo; Congchao Zhu
- Web page: https://patentgrep.com/patent/US20150103214A1

## CPC

- G06T 5/73: Deblurring; Sharpening
- G06T 5/75: Unsharp masking
- G06T 2207/20012: Locally adaptive
- G06T 2207/20192: Edge enhancement; Edge preservation
- H04N 23/81: for suppressing or minimising disturbance in the image signal generation
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An image sharpening processing method and apparatus, and a shooting terminal, where the method includes acquiring to-be-processed image; performing edge-preserving filtering processing on the image to obtain base image information and detail image information, where the base image information includes image edge information; determining, according to the image edge information, a sharpening gain required for performing sharpening processing on the detail image information; and performing sharpening processing on the detail image information using the sharpening gain. It is implemented that the sharpening gain required for sharpening processing is determined by the image edge information, thereby suppressing noise amplification and avoiding generating a phenomenon of overshoot for sharpened image information and improving quality of a sharpened image.

## Claims

### Claim 1

An image sharpening processing method comprising:
acquiring a to-be-processed image;
performing edge-preserving filtering processing on the image to obtain base image information and detail image information, wherein the base image information comprises image edge information;
determining, according to the image edge information, a sharpening gain required for performing sharpening processing on the detail image information; and
performing sharpening processing on the detail image information using the sharpening gain.

### Claim 2 (depends on 1)

The method according to claim 1, wherein, before determining, according to the image edge information, the sharpening gain required for performing sharpening processing on the detail image information, the method further comprises performing edge detection processing on the base image information to obtain the image edge information.

### Claim 3 (depends on 2)

The method according to claim 2, wherein performing edge-preserving filtering processing on the image to obtain the base image information and the detail image information comprises:
performing edge-preserving filtering processing on the image using an edge-preserving filter to obtain the base image information; and
subtracting the base image information from the image to acquire the detail image information.

### Claim 4 (depends on 3)

The method according to claim 3, wherein, before determining, according to the image edge information, the sharpening gain required for performing sharpening processing on the detail image information, the method comprises determining, according to the image edge information and metadata of the image, the sharpening gain required for performing sharpening processing on the detail image information.

### Claim 5 (depends on 4)

The method according to claim 4, wherein determining, according to the image edge information and the metadata of the image, the sharpening gain required for performing sharpening processing on the detail image information comprises:
determining a sharpness algorithm parameter group according to light sensitivity and exposure time of the image information, wherein the sharpness algorithm parameter group comprises a maximum value of the sharpening gain of the image, a minimum value of the sharpening gain, a first gradient of the sharpening gain increasing from the minimum value to the maximum value along with an increase of an amplitude of the image edge information, a second gradient of the sharpening gain decreasing from the maximum value to the minimum value along with the increase of the amplitude, and a first amplitude and a second amplitude of the image edge information when the sharpening gain is half of a sum of the maximum value and the minimum value, wherein the first amplitude is less than the second amplitude; and
determining, according to the image edge information and sharpness algorithm parameter group, the sharpening gain required for performing sharpening processing on the detail image information.

### Claim 6 (depends on 5)

The method according to claim 5, wherein determining, according to the image edge information and the sharpness algorithm parameter group, the sharpening gain required for performing sharpening processing on the detail image information comprises:
performing calculation using formula (1) to acquire the sharpening gain Sharpmap:
Sharpmap
=
(
Peak
-
Low
)

(
edgInfo
)
2
×
order


1
(
cutoff


1
)
2
×
order


1
+
(
edgInfo
)
2
×
order


1
×
(
cutoff


2
)
2
×
order


2
(
cutoff


2
)
2
×
order


2
+
(
edgInfo
)
2
×
order


2
+
Low
,
(
1
)
wherein edgInfo is the amplitude of the image edge information, Peak is the maximum value of the sharpening gain, Low is the minimum value of the sharpening gain, order1 is the first gradient of the sharpening gain increasing from the minimum value to the maximum value along with the increase of the amplitude, order2 is the second gradient of the sharpening gain decreasing from the maximum value to the minimum value along with the increase of the amplitude, Cutoff1 is the first amplitude of the image edge information when the sharpening gain is half of the maximum value and the minimum value, and Cutoff2 is the second amplitude of the image edge information when the sharpening gain is half of the maximum value and the minimum value.

### Claim 7 (depends on 6)

The method according to claim 6, wherein, before the determining the sharpness algorithm parameter group according to the light sensitivity and the exposure time of the image information, the method further comprises determining a correspondence between the light sensitivity and the exposure time of the image information and the sharpness algorithm parameter group.

### Claim 8 (depends on 7)

The method according to claim 7, wherein determining the correspondence between the light sensitivity and the exposure time of the image and the sharpness algorithm parameter group comprises:
acquiring at least one to-be-processed image and metadata of the at least one to-be-processed image, wherein the metadata comprises light sensitivity and exposure time;
performing edge-preserving filtering processing on the image using an edge-preserving filter to obtain base image information, wherein the base image information comprises image edge information;
subtracting the base image information from the image to acquire detail image information;
performing edge detection processing on the base image information to obtain the image edge information;
adjusting the sharpness algorithm parameter group to obtain at least one sharpness algorithm parameter group;
performing calculation using formula (1) to acquire a sharpening gain Sharpmap:
Sharpmap
=
(
Peak
-
Low
)

(
edgInfo
)
2
×
order


1
(
cutoff


1
)
2
×
order


1
+
(
edgInfo
)
2
×
order


1
×
(
cutoff


2
)
2
×
order


2
(
cutoff


2
)
2
×
order


2
+
(
edgInfo
)
2
×
order


2
+
Low
,
(
1
)
wherein edgInfo is an amplitude of the image edge information, Peak is a maximum value of the sharpening gain, Low is a minimum value of the sharpening gain, order1 is a first gradient of the sharpening gain increasing from the minimum value to the maximum value along with an increase of an amplitude, order2 is a second gradient of the sharpening gain decreasing from the maximum value to the minimum value along with the increase of the amplitude, Cutoff1 is a first amplitude of the image edge information when the sharpening gain is half of the maximum value and the minimum value, and Cutoff2 is a second amplitude of the image edge information when the sharpening gain is half of the maximum value and the minimum value;
performing sharpening processing on the detail image information using the sharpening gain;
performing summation on the base image information and the sharpened detail image information to acquire the sharpened image information;
determining a sharpness algorithm parameter group corresponding to the light sensitivity and the exposure time of the image information when definition of the sharpened image information reaches a preset value; and
acquiring the correspondence between the light sensitivity and the exposure time of the image information and the sharpness algorithm parameter group using a Gaussian process and according to the light sensitivity and the exposure time of the at least one image and the corresponding sharpness algorithm parameter group.

### Claim 9

An image sharpening processing apparatus comprising:
an acquiring module configured to acquire a to-be-processed image, and perform edge-preserving filtering processing on the image to obtain base image information and detail image information, wherein the base image information comprises image edge information;
a gain determining module configured to determine, according to the image edge information, a sharpening gain required for performing sharpening processing on the detail image information; and
a sharpening processing module configured to perform sharpening processing on the detail image information using the sharpening gain.

### Claim 10 (depends on 9)

The apparatus according to claim 9, wherein the acquiring module is further configured to perform edge detection processing on the base image information to obtain the image edge information before the gain determining module determines, according to the image edge information, the sharpening gain required for performing sharpening processing on the detail image information.

### Claim 11 (depends on 10)

The apparatus according to claim 10, wherein the acquiring module is further configured to:
perform edge-preserving filtering processing on the image using an edge-preserving filter to obtain the base image information; and
subtract the base image information from the image to acquire the detail image information.

### Claim 12 (depends on 11)

The method according to claim 11, wherein the gain determining module is further configured to determine, according to the image edge information and metadata of the image, the sharpening gain required for performing sharpening processing on the detail image information.

### Claim 13 (depends on 12)

The apparatus according to claim 12, wherein the gain determining module is further configured to:
determine a sharpness algorithm parameter group according to light sensitivity and exposure time of the image, wherein the sharpness algorithm parameter group comprises a maximum value of the sharpening gain of the image, a minimum value of the sharpening gain, a first gradient of the sharpening gain increasing from the minimum value to the maximum value along with an increase of an amplitude of the image edge information, a second gradient of the sharpening gain decreasing from the maximum value to the minimum value along with the increase of the amplitude, and a first amplitude and a second amplitude of the image edge information when the sharpening gain is half of the maximum value and the minimum value, wherein the first amplitude is less than the second amplitude; and
determine, according to the image edge information and the sharpness algorithm parameter group, the sharpening gain required for performing sharpening processing on the detail image information.

### Claim 14 (depends on 13)

The apparatus according to claim 13, wherein the gain determining module is further configured to perform calculation using formula (1) to acquire a sharpening gain Sharpmap:
Sharpmap
=
(
Peak
-
Low
)

(
edgInfo
)
2
×
order


1
(
cutoff


1
)
2
×
order


1
+
(
edgInfo
)
2
×
order


1
×
(
cutoff


2
)
2
×
order


2
(
cutoff


2
)
2
×
order


2
+
(
edgInfo
)
2
×
order


2
+
Low
,
(
1
)
wherein edgInfo is the amplitude of the image edge information, Peak is the maximum value of the sharpening gain, Low is the minimum value of the sharpening gain, order1 is the first gradient of the sharpening gain increasing from the minimum value to the maximum value along with the increase of the amplitude, order2 is the second gradient of the sharpening gain decreasing from the maximum value to the minimum value along with the increase of the amplitude, Cutoff1 is the first amplitude of the image edge information when the sharpening gain is half of the maximum value and the minimum value, and Cutoff2 is the second amplitude of the image edge information when the sharpening gain is half of the maximum value and the minimum value.

### Claim 15 (depends on 14)

The apparatus according to claim 14 further comprising a correspondence determining module configured to determine a correspondence between the light sensitivity and the exposure time of the image and the sharpness algorithm parameter group before the gain determining module determines the sharpness algorithm parameter group according to the light sensitivity and the exposure time of the image.

### Claim 16 (depends on 15)

The apparatus according to claim 15, wherein the correspondence determining module comprises:
a first acquiring unit configured to acquire at least one to-be-processed image and metadata of the at least one to-be-processed image, wherein the metadata comprises light sensitivity and exposure time;
a second acquiring unit configured to:
perform edge-preserving filtering processing on the image information using an edge-preserving filter to acquire base image information, wherein the base image information comprises image edge information;
subtract the base image information from the image to obtain the detail image information; and
perform edge detection processing on the base image information to obtain the image edge information;
a third acquiring unit configured to:
adjust the sharpness algorithm parameter group to obtain at least one sharpness algorithm parameter group; and
perform calculation using formula (1) to acquire a sharpening gain Sharpmap:
Sharpmap
=
(
Peak
-
Low
)

(
edgInfo
)
2
×
order


1
(
cutoff


1
)
2
×
order


1
+
(
edgInfo
)
2
×
order


1
×
(
cutoff


2
)
2
×
order


2
(
cutoff


2
)
2
×
order


2
+
(
edgInfo
)
2
×
order


2
+
Low
,
(
1
)
wherein edgInfo is an amplitude of the image edge information, Peak is a maximum value of the sharpening gain, Low is a minimum value of the sharpening gain, order1 is a first gradient of the sharpening gain increasing from the minimum value to the maximum value along with an increase of an amplitude, order2 is a second gradient of the sharpening gain decreasing from the maximum value to the minimum value along with the increase of the amplitude, Cutoff1 is a first amplitude of the image edge information when the sharpening gain is half of the maximum value and the minimum value, and Cutoff2 is a second amplitude of the image edge information when the sharpening gain is half of the maximum value and the minimum value;
a sharpening unit configured to perform sharpening processing on the detail image information using the sharpening gain;
a determining unit configured to:
perform summation on the base image information and the sharpened detail image information to acquire the sharpened image; and
determine a sharpness algorithm parameter group corresponding to the light sensitivity and the exposure time of the image when definition of the sharpened image reaches a preset value; and
a correspondence establishing unit configured to acquire the correspondence between the light sensitivity and the exposure time of the image and the sharpness algorithm parameter group using a Gaussian process and according to the light sensitivity and the exposure time of the at least one image and the corresponding sharpness algorithm parameter group.
