# US 11,120,536 B2 · Apparatus and method for determining image sharpness

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

- Number: US 11,120,536 B2
- Document ID: US11120536B2
- Status: Granted
- Kind: B2
- Application number: 16/514,560
- Filed: 2019-07-17
- Published: 2020-06-18
- Granted: 2021-09-14
- Earliest claimed: 2018-12-12
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Seongjun Park; Shuangquan Wang; Jungwon Lee
- Web page: https://patentgrep.com/patent/US11120536B2

## CPC

- G06T 7/0002: {Inspection of images, e.g. flaw detection}
- G06T 5/20: using local operators
- G06T 5/50: using two or more images, e.g. averaging or subtraction
- G06T 5/73: Deblurring; Sharpening
- G06T 2207/20021: Dividing image into blocks, subimages or windows
- G06T 2207/30168: Image quality inspection
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

An apparatus and method for determining image sharpness is provided. According to one embodiment, an apparatus includes a weight device configured to determine a weight map of a reference image; an image sharpening device configured to sharpen the reference image using at least one sharpening method; an edge activity map device connected to the image sharpening device and configured to determine a first edge activity map Φ(x, y) for each sharpened image of reference image by the at least one sharpening method; and an edge sharpness metric device connected to the weight device and the first edge activity map device and configured to determine an edge sharpness metric (ESM) for each sharpened image of the reference image by the at least one sharpening method based on the weight map and the edge activity map for each sharpened image of the reference image by the at least one sharpening method.

## Claims

### Claim 1

An apparatus comprising a memory and a processor, wherein the memory is configured to store instructions that, when executed, cause the processor to:
determine a weight map W(x, y) of a reference image IR(x, y), where x is pixel of the reference image in a horizontal direction, and y is a pixel of the reference image in a vertical direction;
sharpen the reference image using at least one sharpening method;
determine an edge activity map Φ(x, y) for each sharpened image of the reference image by the at least one sharpening method;
determine an edge activity map ΦR(x, y) for the reference image;
determine a probability density function (PDF) of the edge activity map ΦR(x, y) of the reference image; and
determine a cumulative density function (CDF) of the PDF,
wherein a smooth area of the image is indicated by a CDF value of a processed pixel being less than a predetermined threshold.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein determining the weight map W(x, y) of the reference image further comprises dividing each sharpened image into a smooth region and a detailed region.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the edge activity map Φ(x, y) for each sharpened image is determined based on a Sobel operator.

### Claim 4 (depends on 2)

The apparatus of claim 2, wherein determining the weight map W(x, y) of the reference image further comprises:
receiving a CDF, receiving a slope parameter α of a weight function, receiving a centering parameter β for dividing the reference image between smooth areas and detailed areas; and
determining the weight map W(x, y) of the reference image, where α=10 and β=0.5.

### Claim 5 (depends on 2)

The apparatus of claim 2, wherein the edge activity map Φ(x, y) for each sharpened image and the edge activity map ΦR(x, y) for the reference image are each determined based on a Sobel operator.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the weight map W(x, y) has values between [−1 1], where a smooth region is indicated by a negative value, and a detailed region is indicated by a positive value.

### Claim 7 (depends on 1)

The apparatus of claim 1, where the at least one sharpening method includes one from a combination including a Laplacian sharpening method and an edge preserving sharpening method.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the instructions, when executed, further cause the processor to:
determine an edge sharpness metric (ESM) for each sharpened image based on the weight map W(x, y) and the edge activity map Φ(x, y) for each sharpened image. wherein the ESM is expressed as
S
=
∑
y
=
0
M
-
1
⁢
∑
x
=
0
N
-
1
⁢
W
⁡
(
x
,
y
)
⁢
Φ
⁡
(
x
,
y
)
MN
,
where M is a width of the reference image, and N is a height of the reference image.

### Claim 9 (depends on 1)

The apparatus of claim 1, wherein
Φ
R
⁡
(
x
,
y
)
=
G
vR
⁡
(
x
,
y
)
2
+
G
hR
⁡
(
x
,
y
)
2
,
where
G
vR
⁡
(
x
,
y
)
=
[
1
0
-
1
2
0
-
2
1
0
-
1
]
*
I
R
⁡
(
x
,
y
)
,
and
G
hR
⁡
(
x
,
y
)
=
[
1
2
1
0
0
0
-
1
-
2
-
1
]
*
I
R
⁡
(
x
,
y
)
.

### Claim 10

A method, comprising:
determining a weight map W (x, y) of a reference image IR(x, y), where x is pixel of the reference image in a horizontal direction, and y is a pixel of the reference image in a vertical direction;
sharpening the reference image using at least one sharpening method;
determining an edge activity map Φ(x, y) for each sharpened image of the reference image by the at least one sharpening method;
determining an edge activity map ΦR(x, y) for the reference image;
determining a probability density function (PDF) of the edge activity map ΦR(x, y) of the reference image; and
determining a cumulative density function (CDF) of the PDF,
wherein a smooth area of the image is indicated by a CDF value of a processed pixel being less than a predetermined threshold.

### Claim 11 (depends on 10)

The method of claim 10, wherein determining the weight map W(x, y) of the reference image further comprises:
receiving a CDF, receiving a slope parameter α of a weight function, and receiving a centering parameter β for dividing the reference image between smooth areas and detailed areas.

### Claim 12 (depends on 10)

The method of claim 10, wherein the edge activity map Φ(x, y) for each sharpened image is determined based on a Sobel operator.

### Claim 13 (depends on 11)

The method of claim 11, wherein α=10 and β=0.5.

### Claim 14 (depends on 11)

The method of claim 11, wherein the edge activity map ΦR(x, y) for the reference image is determined based on a Sobel operator.

### Claim 15 (depends on 10)

The method of claim 10, wherein the weight map W(x, y) has values between [−1 1].

### Claim 16 (depends on 10)

The method of claim 10, where the at least one sharpening method includes a Laplacian sharpening method and an edge preserving sharpening method.

### Claim 17 (depends on 10)

The method of claim 10, further comprising:
determining an edge sharpness metric (ESM) for each sharpened image based on the weight map W(x, y) and the edge activity map Φ(x, y) for each sharpened image,
wherein the ESM is expressed as:
S
=
∑
y
=
0
M
-
1
⁢
∑
x
=
0
N
-
1
⁢
W
⁡
(
x
,
y
)
⁢
Φ
⁡
(
x
,
y
)
MN
,
where M is a width of the reference image, and Nis a height of the reference image.

### Claim 18 (depends on 10)

The method of claim 10, wherein
Φ
R
⁡
(
x
,
y
)
=
G
vR
⁡
(
x
,
y
)
2
+
G
hR
⁡
(
x
,
y
)
2
,
where
G
vR
⁡
(
x
,
y
)
=
[
1
0
-
1
2
0
-
2
1
0
-
1
]
*
I
R
⁡
(
x
,
y
)
,
and
G
hR
⁡
(
x
,
y
)
=
[
1
2
1
0
0
0
-
1
-
2
-
1
]
*
I
R
⁡
(
x
,
y
)
.
