# US 2017/0257613 A1 · Image device with image defocus function and method generating a defocus image thereof

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

- Number: US 2017/0257613 A1
- Document ID: US20170257613A1
- Status: Published application
- Kind: A1
- Application number: 15/155,084
- Filed: 2016-05-16
- Published: 2017-09-07
- Earliest claimed: 2016-03-02
- Assignees: eYs3D Microelectronics, Co.
- Applicants: eYs3D Microelectronics, Co.
- Inventors: Chi-Feng Lee
- Web page: https://patentgrep.com/patent/US20170257613A1

## CPC

- H04N 13/128: Adjusting depth or disparity
- H04N 13/204: using stereoscopic image cameras (stereoscopic photography G03B35/00)
- H04N 13/257: Colour aspects
- H04N 13/271: wherein the generated image signals comprise depth maps or disparity maps
- H04N 23/60: Control of cameras or camera modules
- H04N 23/843: {Demosaicing, e.g. interpolating colour pixel values}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An image device with image defocus function includes an image capture unit, a depth map generation unit, and a processor. The image capture unit captures an image corresponding to an object. The depth map generation unit generates a depth map corresponding to the object. The processor determines an integration block corresponding to each pixel image of the image according to a depth of the depth map corresponding to the each pixel image and a predetermined depth corresponding to the each pixel image, utilizes the integration block to generate a defocus color pixel value corresponding to the each pixel image, and outputs a defocus image corresponding to the image according to defocus color pixel values corresponding to all pixel images of the image, wherein the each pixel image of the image corresponds to a pixel of the image capture unit.

## Claims

### Claim 1

An image device with image defocus function, comprising:
an image capture unit capturing an image corresponding to an object;
a depth map generation unit generating a depth map corresponding to the object;
a processor coupled to the image capture unit and the depth map generation unit for determining an integration block corresponding to each pixel image of the image according to a depth of the depth map corresponding to the each pixel image and a predetermined depth corresponding to the each pixel image, utilizing the integration block to generate a defocus color pixel value corresponding to the each pixel image, and outputting a defocus image corresponding to the image according to defocus color pixel values corresponding to all pixel images of the image;
wherein the each pixel image of the image corresponds to a pixel of the image capture unit.

### Claim 2 (depends on 1)

The image device of claim 1, wherein the processor generates a defocus index corresponding to the each pixel image according to the depth corresponding to the each pixel image and the predetermined depth corresponding to the each pixel image, and determines the integration block corresponding to the each pixel image according to a coordinate of the each pixel image and the defocus index corresponding to the each pixel image.

### Claim 3 (depends on 2)

The image device of claim 2, wherein the processor generates the defocus index corresponding to the each pixel image according to the following equation:
DI=a×|d−df|;
wherein:
DI is the defocus index corresponding to the each pixel image;
a is a coefficient;
d is the depth corresponding to the each pixel image; and
df is the predetermined depth corresponding to the each pixel image.

### Claim 4 (depends on 2)

The image device of claim 2, wherein the processor generates the defocus index corresponding to the each pixel image according to the following equation:
DI=Σan×|d−df|n;
wherein:
DI is the defocus index corresponding to the each pixel image;
an is a coefficient of an nth order polynomial;
d is the depth corresponding to the each pixel image; and
df is the predetermined depth corresponding to the each pixel image.

### Claim 5 (depends on 1)

The image device of claim 1, wherein the processor utilizes an integral image and an area corresponding to the integration block to generate the defocus color pixel value corresponding to the each pixel image.

### Claim 6

A method of an image device generating a defocus image, wherein the image device comprises an image capture unit, a depth map generation unit, and a processor, the method comprising:
the image capture unit capturing an image corresponding to an object;
the depth map generation unit generating a depth map corresponding to the object;
the processor determining an integration block corresponding to each pixel image of the image according to a depth corresponding to the each pixel image and a predetermined depth corresponding to the each pixel image, wherein the each pixel image of the image corresponds to a pixel of the image capture unit;
the processor utilizing the integration block to generate a defocus color pixel value corresponding to the each pixel image; and
the processor outputting a defocus image corresponding to the image according to defocus color pixel values corresponding to all pixel images of the image.

### Claim 7 (depends on 6)

The method of claim 6, wherein the processor determining the integration block corresponding to the each pixel image comprises:
the processor generating a defocus index corresponding to the each pixel image according to the depth corresponding to the each pixel image and the predetermined depth corresponding to the each pixel image; and
the processor determining the integration block corresponding to the each pixel image according to a coordinate of the each pixel image and the defocus index corresponding to the each pixel image.

### Claim 8 (depends on 7)

The method of claim 7, wherein the processor generates the defocus index corresponding to the each pixel image according to the following equation:
DI=a×|d−df|;
wherein:
DI is the defocus index corresponding to the each pixel image;
a is a coefficient;
d is the depth corresponding to the each pixel image; and
df is the predetermined depth corresponding to the each pixel image.

### Claim 9 (depends on 7)

The method of claim 7, wherein the processor generates the defocus index corresponding to the each pixel image according to the following equation:
DI=Σan×|d−df|n;
wherein:
DI is the defocus index corresponding to the each pixel image;
an is a coefficient of an nth order polynomial;
d is the depth corresponding to the each pixel image; and
df is the predetermined depth corresponding to the each pixel image.

### Claim 10 (depends on 6)

The method of claim 6, wherein the processor generating the defocus color pixel value corresponding to the each pixel comprises:
the processor utilizing an integral image and an area corresponding to the integration block to generate the defocus color pixel value corresponding to the each pixel image.
