# US 2008/0292145 A1 · Image Processing Device, Image Processing Method, Image Processing Program Product, and Imaging Device

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

- Number: US 2008/0292145 A1
- Document ID: US20080292145A1
- Status: Published application
- Kind: A1
- Application number: 11/921,082
- Filed: 2006-05-29
- Published: 2008-11-27
- Earliest claimed: 2005-06-03
- Assignees: Nikon Corporation
- Inventors: Hideyasu Kuniba
- Web page: https://patentgrep.com/patent/US20080292145A1

## CPC

- H04N 1/6027: {Correction or control of colour gradation or colour contrast (H04N1/6058 takes precedence)}
- G06V 40/161: {Detection; Localisation; Normalisation}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

An image processing device includes: a face detection unit that detects a face region of a person from an image formed by a plurality of pixels; and a scene judgment unit that judges a scene of the image according to a pixel value of the face region of the person detected by the face detection unit and a pixel value of a nonface region excluding the face region in the image.

## Claims

### Claim 1

An image processing device comprising:
a face detection unit that detects a face region of a person from an image formed by a plurality of pixels; and
a scene judgment unit that judges a scene of the image according to a pixel value of the face region of the person detected by the face detection unit and a pixel value of a nonface region excluding the face region in the image.

### Claim 2 (depends on 1)

An image processing device according to claim 1, further comprising:
a tone correction unit that performs different tone correction to the image depending on the scene of the image judged by the scene judgment unit.

### Claim 3 (depends on 1)

An image processing device according to claim 1, further comprising:
a parameter value setting unit that sets a parameter value of a tone correction parameter to perform tone correction to the image depending on the scene of the image judged by the scene judgment unit; and
a tone correction unit that performs tone correction to the image based on the parameter value, set by the parameter value setting unit.

### Claim 4 (depends on 1)

An image processing unit according to claim 1, wherein:
the scene judgment unit judges based on the pixel value of the face region and the pixel value of the nonface region that
(1) if a difference between the pixel value of the face region and the pixel value of the nonface region is less than a predetermined value, the scene of the image is a normal scene,
(2) if the pixel value of the nonface region is greater than the pixel value of the face region by a predetermined value or more, the scene of the image is a backlit scene, or
(3) if the pixel value of the face region is greater than the pixel value of the nonface region by a predetermined value or more, the scene of the image is a night scene.

### Claim 5 (depends on 1)

An image processing device according to claim 1, further comprising:
a scene setting unit that sets a distribution of a set of the pixel value of the face region and the pixel value of the nonface region divided in advance into a range corresponding to a normal scene, a range corresponding to a backlit scene, and a range corresponding to a night scene, wherein:
the scene judgment unit judges the scene of the image by judging which one of the ranges set by the scene setting unit the set of the pixel of the face region and the pixel of the nonface region of the image is included in.

### Claim 6 (depends on 3)

An image processing device according to claim 3, wherein:
the scene judgment unit judges, based on the pixel value of the face region and the pixel value of the nonface region, that
(1) if a difference between the pixel value of the face region and the pixel value of the nonface region is less than a predetermined value, the scene of the image is a normal scene,
(2) if the pixel value of the nonface region is greater than the pixel value of the face region by a predetermined value or more, the scene of the image is a backlit scene, or
(3) if the pixel value of the face region is greater than the pixel value of the nonface region by a predetermined value or more, the scene of the image is a night scene;
the tone correction parameter is a parameter that controls a pixel value of each pixel of the image; and
the parameter setting unit
(4) sets the parameter value so as not to perform tone correction to the image, if the scene of the image is judged by the scene judgment unit to be a normal scene,
(5) sets the parameter value so that tone correction is performed to make the image brighter than the original image, if the scene of the image is judged to be a backlit scene, or
(6) sets the parameter value so that tone correction is performed to make the image brighter than the original image but more weakly than the tone correction in the backlit scene, if the scene of the image is judged to be a night scene.

### Claim 7

An image processing method, comprising:
detecting a face region of a person from an image formed by a plurality of pixels, and
judging a scene of the image based on a pixel value of the detected face region of the person and a pixel value of a nonface region excluding the face region in the image.

### Claim 8 (depends on 7)

An image processing method according to claim 7, further comprising:
performing different tone correction to the image depending on the judged scene of the image.

### Claim 9 (depends on 7)

An image processing method according to claim 7, further comprising:
setting a parameter value of a tone correction parameter for performing tone correction to the image depending on the judged scene of the image; and
performing tone correction to the image based on the set parameter value.

### Claim 10 (depends on 7)

An image processing method according to claim 7, wherein:
when the scene of the image is judged based on the pixel value of the face region and the pixel value of the nonface region,
(1) the scene of the image is judged to be a normal scene, if a difference between the pixel value of the face region and the pixel value of the nonface region is less than a predetermined value,
(2) the scene of the image is judged to be a backlit scene, if the pixel value of the nonface region is greater than the pixel value of the face region by a predetermined value or more, or
(3) the scene of the image is judged to be a night scene, if the pixel value of the face region is greater than the pixel value of the nonface region by a predetermined value or more.

### Claim 11 (depends on 7)

An image processing method according to claim 7, further comprising:
setting a distribution of a set of the pixel value of the face region and the pixel value of the nonface region divided in advance into a range corresponding to a normal scene, a range corresponding to a backlit scene, and a range corresponding to a night scene, wherein;
the judging a scene is performed by judging which one of the ranges set by the scene setting unit the set of the pixel of the face region and the pixel of the nonface region of the image is included in.

### Claim 12 (depends on 9)

An image processing method according to claim 9, wherein:
when the scene of the image is judged based on the pixel value of the face region and the pixel value of the nonface region,
(1) the scene of the image is judged to be a normal scene, if a difference between the pixel value of the face region and the pixel value of the nonface region is less than a predetermined value,
(2) the scene of the image is judged to be a backlit scene, if the pixel value of the nonface region is greater than the pixel value of the face region by a predetermined value or more, or
(3) the scene of the image is judged to be a night scene, if the pixel value of the face region is greater than the pixel value of the nonface region by a predetermined value or more;
the tone correction parameter is a parameter that controls the pixel value of each pixel of the image; and
the parameter value is set
(4) so as not to perform tone correction to the image, if the scene of the image is judged to be a normal scene,
(5) so that tone correction is performed to make the image brighter than the original image, if the scene of the image is judged to be a backlit scene, or
(6) sets the parameter value so that tone correction is performed to make the image brighter than the original image but more weakly than the tone correction in the backlit scene, if the scene of the image is judged to be a night scene.

### Claim 13 (depends on 7)

A computer readable computer program product comprising an image processing program for causing the computer to execute the image processing method according to claim 7.

### Claim 14 (depends on 13)

An imaging device comprising:
an image sensor that captures an image;
a storing unit that stores therein the image captured by the image sensor;
a controlling unit that executes an image processing program that constitutes a computer program product according to claim 13; wherein:
the controlling unit executes the image processing program to perform tone correction processing to the image stored in the storing unit.
