# US 2015/0146064 A1 · Image processing apparatus, image processing method, solid-state imaging device, and electronic apparatus

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

- Number: US 2015/0146064 A1
- Document ID: US20150146064A1
- Status: Published application
- Kind: A1
- Application number: 14/549,312
- Filed: 2014-11-20
- Published: 2015-05-28
- Earliest claimed: 2013-11-27
- Assignees: Sony Corporation
- Applicants: Sony Corporation
- Inventors: Shigeki Nakamura; Yasunobu Hitomi; Tomoo Mitsunaga
- Web page: https://patentgrep.com/patent/US20150146064A1

## CPC

- G06T 3/4007: based on interpolation, e.g. bilinear interpolation (image demosaicing G06T3/4015; edge-driven or edge-based scaling G06T3/403)
- G06T 3/403: Edge-driven scaling; Edge-based scaling
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

An image processing apparatus includes: a target position selecting unit to select a pixel position on an input image, as a target position; a candidate line setting unit to set two or more sets of candidate lines including a pixel with a value, in the vicinity of the target position; a weighted-value calculating unit to calculate a weighted value that corresponds to a degree of expectation that the target position and the pixel position on the candidate line are on the same pattern; a direction classifying unit to selectively determine a set of candidate lines that are close to a direction of a pattern of the target position in accordance with the weighted value of each pixel on the candidate lines; and a first interpolated-value calculating unit to calculate a pixel value of the target position in accordance with the weighted value of each pixel on the candidate lines.

## Claims

### Claim 1

An image processing apparatus, comprising:
a target position selecting unit configured to select a pixel position on an input image, as a target position in which a pixel value is interpolated;
a candidate line setting unit configured to set two or more sets of candidate lines including a pixel with a value, in the vicinity of the target position;
a weighted-value calculating unit configured to calculate a weighted value that corresponds to a degree of expectation that the target position and the pixel position on the candidate line are on the same pattern;
a direction classifying unit configured to selectively determine a set of candidate lines that are close to a direction of a pattern of the target position in accordance with the weighted value of each pixel on the candidate lines; and
a first interpolated-value calculating unit configured to calculate a pixel value of the target position in accordance with the weighted value of each pixel on the candidate lines.

### Claim 2 (depends on 1)

The image processing apparatus according to claim 1, wherein
the first interpolated-value calculating unit is configured to set an interpolated value smoothed in an extending direction of the candidate lines, as a provisional pixel value for interpolation, in a pixel without a value on the candidate lines, and then calculate the pixel value of the target position.

### Claim 3 (depends on 2)

The image processing apparatus according to claim 2, wherein
the first interpolated-value calculating unit is configured to calculate the pixel value of the target position by using only a pixel on the candidate lines that are close to the direction of the pattern of the target position.

### Claim 4 (depends on 2)

The image processing apparatus according to claim 2, wherein
the first interpolated-value calculating unit is configured to calculate an interpolated value for each of the sets of candidate lines,
the image processing apparatus further comprising an interpolated-value selecting unit configured to select an interpolated value calculated from pixels on the candidate lines that are close to the direction of the pattern of the target position, from interpolated values calculated for the respective sets of candidate lines.

### Claim 5 (depends on 1)

The image processing apparatus according to claim 1, further comprising:
a second interpolated-value calculating unit configured to calculate an interpolated value in which the direction of the pattern of the target position is not taken into consideration;
a pattern classifying unit configured to classify the pattern of the target position in accordance with the weighted value of each pixel on the candidate lines; and
an interpolated-value selecting unit configured to select one of the interpolated value calculated by the first interpolated-value calculating unit and the interpolated value calculated by the second interpolated-value calculating unit, in accordance with a result of the classification of the pattern of the target position.

### Claim 6 (depends on 1)

The image processing apparatus according to claim 1, further comprising a pattern classifying unit configured to classify the pattern of the target position in accordance with the weighted value of each pixel on the candidate lines, wherein
the first interpolated-value calculating unit is configured to calculate an interpolated value in accordance with a result of the classification of the pattern of the target position.

### Claim 7 (depends on 1)

The image processing apparatus according to claim 1, wherein
the candidate line setting unit is configured to set the candidate lines to be parallel to each other in each set and to be symmetric to each other with respect to the target position in each set.

### Claim 8 (depends on 7)

The image processing apparatus according to claim 7, wherein
the candidate line setting unit is configured to set the sets of candidate lines to be orthogonal to each other.

### Claim 9 (depends on 8)

The image processing apparatus according to claim 8, wherein
the candidate line setting unit is configured to set the candidate lines to pass through the target position.

### Claim 10 (depends on 1)

The image processing apparatus according to claim 1, wherein
the direction of the pattern of the target position includes one of a horizontal direction and a vertical direction on the input image.

### Claim 11 (depends on 1)

The image processing apparatus according to claim 1, wherein
the input image includes an image enlarged in at least one of a horizontal direction and a vertical direction.

### Claim 12 (depends on 1)

The image processing apparatus according to claim 1, wherein
the input image includes an image obtained from an output value of a solid-state imaging device using a color filter array including a predetermined array.

### Claim 13 (depends on 1)

The image processing apparatus according to claim 1, wherein
the input image includes an image including a defect pixel of a solid-state imaging device.

### Claim 14

An image processing method for an image processing apparatus, the method comprising:
selecting a pixel position on an input image, as a target position in which a pixel value is interpolated;
setting two or more sets of candidate lines including a pixel with a value, in the vicinity of the target position;
calculating a weighted value that corresponds to a degree of expectation that the target position and the pixel position on the candidate line are on the same pattern;
selectively determining a set of candidate lines that are close to a direction of a pattern of the target position in accordance with the weighted value of each pixel on the candidate lines; and
calculating a pixel value of the target position in accordance with the weighted value of each pixel on the candidate lines.

### Claim 15

A solid-state imaging device, comprising:
a pixel array unit configured to regularly dispose pixels in a matrix, the pixels corresponding to a plurality of respective color components; and
a signal processing unit configured to perform predetermined signal processing on a pixel signal from the pixel array unit, the signal processing unit including
a target position selecting unit configured to select a pixel position on an input image, as a target position in which a pixel value is interpolated, the input image being obtained from the pixel signal from the pixel array unit,
a candidate line setting unit configured to set two or more sets of candidate lines including a pixel with a value, in the vicinity of the target position,
a weighted-value calculating unit configured to calculate a weighted value that corresponds to a degree of expectation that the target position and the pixel position on the candidate line are on the same pattern,
a direction classifying unit configured to selectively determine a set of candidate lines that are close to a direction of a pattern of the target position in accordance with the weighted value of each pixel on the candidate lines, and
an interpolated-value calculating unit configured to calculate a pixel value of the target position in accordance with the weighted value of each pixel on the candidate lines.

### Claim 16

An electronic apparatus, comprising:
a solid-state imaging device; and
an image processing unit,
the solid-state imaging device including
a pixel array unit configured to regularly dispose pixels in a matrix, the pixels corresponding to a plurality of respective color components, and
a signal processing unit configured to perform predetermined signal processing on a pixel signal from the pixel array unit,
the image processing unit including
a target position selecting unit configured to select a pixel position on an input image, as a target position in which a pixel value is interpolated, the input image being obtained from the pixel signal from the solid-state imaging device,
a candidate line setting unit configured to set two or more sets of candidate lines including a pixel with a value, in the vicinity of the target position,
a weighted-value calculating unit configured to calculate a weighted value that corresponds to a degree of expectation that the target position and the pixel position on the candidate line are on the same pattern,
a direction classifying unit configured to selectively determine a set of candidate lines that are close to a direction of a pattern of the target position in accordance with the weighted value of each pixel on the candidate lines, and
an interpolated-value calculating unit configured to calculate a pixel value of the target position in accordance with the weighted value of each pixel on the candidate lines.
