# US 2024/0203089 A1 · Image processing device and image processing method

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

- Number: US 2024/0203089 A1
- Document ID: US20240203089A1
- Status: Published application
- Kind: A1
- Application number: 18/339,835
- Filed: 2023-06-22
- Published: 2024-06-20
- Earliest claimed: 2022-12-19
- Assignees: SK hynix Inc.
- Applicants: SK hynix Inc.
- Inventors: Joo Young LEE; Jong Hyun BAE; Dae Hyun LEE
- Web page: https://patentgrep.com/patent/US20240203089A1

## CPC

- G06V 10/56: relating to colour
- G06T 7/13: Edge detection
- G06T 7/90: Determination of colour characteristics
- G06V 10/751: {Comparing pixel values or logical combinations thereof, or feature values having positional relevance, e.g. template matching}
- G06V 10/761: {Proximity, similarity or dissimilarity measures}
- G06T 2207/10024: Color image
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

An image processor, and an image processing method, includes an acquirer configured to acquire first pixel data from a first pixel group corresponding to a first color, and acquire second pixel data and third pixel data from a second pixel group and a third pixel group, respectively, which are arranged on both sides of the first pixel group and correspond to a second color. The image processor also includes a determiner configured to determine one of second pixel data and third pixel data as interpolation reference data using different schemes depending on a type of edge detected based on a difference in the first color and the second color in an image region corresponding to the first pixel data. The image processor further includes an interpolator configured to interpolate a part of the first pixel data to correspond to the second color based on interpolation reference data.

## Claims

### Claim 1

An image processor, comprising:
an acquirer configured to acquire first pixel data from a first pixel group corresponding to a first color, and acquire second pixel data and third pixel data from a second pixel group and a third pixel group, respectively, which are arranged on both sides of the first pixel group and correspond to a second color distinguished from the first color;
a determiner configured to determine any one of the second pixel data and the third pixel data as interpolation reference data using different schemes depending on a type of edge that is detected based on a difference in the first color and a difference in the second color in an image region corresponding to the first pixel data; and
an interpolator configured to interpolate a part of the first pixel data to correspond to the second color based on the determined interpolation reference data.

### Claim 2 (depends on 1)

The image processor according to claim 1, wherein the edge comprises one of:
a first edge for which the difference in the first color is less than a threshold value and the difference in the second color is equal to or greater than the threshold value, and
a second edge for which the difference in the first color and the difference in the second color are equal to or greater than the threshold value.

### Claim 3 (depends on 2)

The image processor according to claim 2, wherein the determiner comprises:
an edge determiner configured to determine whether the edge is present in the image region; and
an interpolation reference determiner configured to, in response to a determination that the edge is present in the image region, determine the interpolation reference data using a first scheme corresponding to the first edge or a second scheme corresponding to the second edge.

### Claim 4 (depends on 3)

The image processor according to claim 3, wherein the edge determiner comprises:
a first edge determiner configured to determine whether the first edge is present in the image region based on the first pixel data, the second pixel data, and the third pixel data; and
a second edge determiner configured to, in response to a determination that no first edge is present in the image region, determine whether the second edge is present in the image region.

### Claim 5 (depends on 4)

The image processor according to claim 4, wherein the first edge determiner determines whether the first edge is present in the image region, based on similarities between the first pixel data and pieces of pixel data acquired from pixel groups, which are arranged within a first distance from the first pixel group and correspond to the first color, and similarities between pieces of pixel data acquired from pixel groups, which are arranged within a second distance from the first pixel group and correspond to the second color.

### Claim 6 (depends on 5)

The image processor according to claim 5, wherein the interpolation reference determiner comprises:
a first interpolation reference determiner configured to, in response to a determination by the first edge determiner that the first edge is present in the image region,
identify a pixel group most similar to the part of the first pixel data among pieces of pixel data acquired from the pixel groups, which are arranged within the first distance from the first pixel group and correspond to the first color,
when the most similar pixel group is adjacent to the second pixel group, determine the second pixel data as the interpolation reference data, and
when the most similar pixel group is adjacent to the third pixel group, determine the third pixel data as the interpolation reference data.

### Claim 7 (depends on 4)

The image processor according to claim 4, wherein the determiner comprises:
an estimator configured to acquire first estimated pixel data and second estimated pixel data respectively corresponding to the second pixel group and the third pixel group based on pixel data acquired from pixel groups corresponding to the first color, wherein the first estimated pixel data and the second estimated pixel data correspond to the first color.

### Claim 8 (depends on 7)

The image processor according to claim 7, wherein the second edge determiner determines whether the second edge is present in the image region, based on a gradient in a designated direction included in at least parts of the first pixel data, pieces of pixel data acquired from pixel groups, which are arranged within a first distance from the first pixel group and correspond to the first color, the first estimated pixel data, and the second estimated pixel data.

### Claim 9 (depends on 7)

The image processor according to claim 7, wherein the interpolation reference determiner comprises:
a second interpolation reference determiner configured to, in response to a determination by the second edge determiner that the second edge is present in the image region,
identify a position of the second edge in the image region, based on at least parts of the first pixel data, pieces of pixel data acquired from pixel groups, which are arranged within a first distance from the first pixel group and correspond to the first color, the first estimated pixel data, and the second estimated pixel data, and
determine any one of the second pixel data and the third pixel data as interpolation reference data based on the position of the second edge.

### Claim 10 (depends on 3)

The image processor according to claim 3, wherein the interpolation reference determiner comprises:
a third interpolation reference determiner configured to, in response to a determination by the edge determiner that no edge is present in the image region, interpolate the part of the first pixel data to correspond to the second color based on the second pixel data and the third pixel data.

### Claim 11 (depends on 1)

The image processor according to claim 1, wherein the first color is green (G).

### Claim 12 (depends on 1)

The image processor according to claim 1, wherein the second color is one of red (R) and blue (B).

### Claim 13

An image processing method, comprising:
acquiring first pixel data from a first pixel group corresponding to a first color, and acquiring second pixel data and third pixel data from a second pixel group and a third pixel group, respectively, which are arranged on both sides of the first pixel group and correspond to a second color distinguished from the first color;
determining any one of the second pixel data and the third pixel data as interpolation reference data using different schemes depending on a type of edge that is detected based on a difference in the first color and a difference in the second color in an image region corresponding to the first pixel data; and
interpolating a part of the first pixel data to correspond to the second color based on the determined interpolation reference data.

### Claim 14 (depends on 13)

The image processing method according to claim 13, wherein the edge comprises one of:
a first edge for which the difference in the first color is less than a threshold value and the difference in the second color is equal to or greater than the threshold value, and
a second edge for which the difference in the first color and the difference in the second color are equal to or greater than the threshold value.

### Claim 15 (depends on 14)

The image processing method according to claim 14, wherein determining the interpolation reference data comprises:
determining whether the edge is present in the image region; and
in response to a determination that the edge is present in the image region, determining the interpolation reference data using a first scheme corresponding to the first edge or a second scheme corresponding to the second edge.

### Claim 16

An electronic device, comprising:
an image sensor including a first pixel group corresponding to a first color and a second pixel group and a third pixel group, which are arranged on both sides of the first pixel group and correspond to a second color distinguished from the first color;
an acquirer configured to acquire image data including first pixel data acquired from the first pixel group, second pixel data acquired from the second pixel group, and third pixel data acquired from the third pixel group;
a determiner configured to determine any one of the second pixel data and the third pixel data as interpolation reference data using different schemes depending on a type of edge that is detected based on a difference in the first color and a difference in the second color in an image region corresponding to the first pixel data based on the image data; and
an interpolator configured to interpolate a part of the first pixel data to correspond to the second color based on the determined interpolation reference data.

### Claim 17 (depends on 16)

The electronic device according to claim 16, wherein the first pixel group includes N×N pixels, where N is a natural number equal to or greater than 2.

### Claim 18 (depends on 16)

The electronic device according to claim 16, wherein the first pixel data includes N×N pixel values.

### Claim 19 (depends on 18)

The electronic device according to claim 18, wherein the interpolator interpolates a part of the N×N pixel values included in the first pixel data to correspond to the second color based on the determined interpolation reference data.

### Claim 20 (depends on 19)

The electronic device according to claim 19, wherein the interpolator is configured to:
acquire first estimated pixel data, which corresponds to the second pixel group and corresponds to the first color, based on pixel data corresponding to the first color and included in the image data,
calculate a ratio of an average value of N×N pixel values included in the second pixel data to an average value of N×N pixel values included in the first estimated pixel data, and
perform the interpolation by multiplying the ratio by the part of the N×N pixel values included in the first pixel data in response to a decision that the second pixel data is determined as the interpolation reference data.
