# US 2016/0260199 A1 · Image processing apparatus, image processing method, and storage medium

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

- Number: US 2016/0260199 A1
- Document ID: US20160260199A1
- Status: Published application
- Kind: A1
- Application number: 15/055,891
- Filed: 2016-02-29
- Published: 2016-09-08
- Earliest claimed: 2015-03-03
- Assignees: Canon Kabushiki Kaisha
- Applicants: Canon Kabushiki Kaisha
- Inventors: Atsushi Takahama
- Web page: https://patentgrep.com/patent/US20160260199A1

## CPC

- G06T 5/70: Denoising; Smoothing
- G06T 5/20: using local operators
- G06T 2207/10024: Color image
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Color noise is reduced while suppressing the occurrence of color blurring in the vicinity of an edge. An image processing apparatus including: a first determination unit configured to determine whether or not a first area consisting of a plurality of pixels including a pixel of interest is an area in a uniform color for the pixel of interest in input image data; a second determination unit configured to determine whether or not a second area, different from the first area, consisting of a plurality of pixels including the pixel of interest is an area in a uniform color; a setting unit configured to set a reference area consisting of the pixel of interest and adjacent pixels of the pixel of interest for the pixel of interest; and a first correction unit configured to correct the pixel value of the pixel of interest to a value for which noise has been reduced based on the pixel value of the pixel included in the reference area.

## Claims

### Claim 1

An image processing apparatus comprising:
a first determination unit configured to determine whether or not a first area consisting of a plurality of pixels including a pixel of interest is an area in a uniform color for the pixel of interest in input image data;
a second determination unit configured to determine whether or not a second area, different from the first area, consisting of a plurality of pixels including the pixel of interest is an area in a uniform color;
a setting unit configured to set a reference area consisting of the pixel of interest and adjacent pixels of the pixel of interest for the pixel of interest; and
a first correction unit configured to correct the pixel value of the pixel of interest to a value for which noise has been reduced based on the pixel value of the pixel included in the reference area, wherein
the setting unit sets:
a predetermined area prepared in advance and consisting of a plurality of pixels as the reference area in a case where the first determination unit determines that the first area is an area in a uniform color; and
an area consisting of a plurality of pixels in accordance with determination results by the second determination unit as the reference area in a case where the first determination unit determines that the first area is not an area in a uniform color.

### Claim 2 (depends on 1)

The image processing apparatus according to claim 1, wherein
the second determination unit performs determination for the second area only in the case where the first determination unit determines that the first area is not an area in a uniform color.

### Claim 3 (depends on 1)

The image processing apparatus according to claim 1, wherein
the second area that is used in determination by the second determination unit is an area including a plurality of sub areas, the shape of each sub area having directivity, and a combination of all sub areas being isotropic.

### Claim 4 (depends on 1)

The image processing apparatus according to claim 1, wherein
the first determination unit performs the determination by using an evaluation value representing a degree of uniformity of the color, which is calculated based on a difference between the pixel of interest and each pixel constituting the first area.

### Claim 5 (depends on 4)

The image processing apparatus according to claim 4, wherein
the evaluation value is found by using an expression below
σ
′
=
1
N
-
1

∑
i
=
1
N


x
i
-
u

,
and
in the above-described expression, N is the number of pixels constituting the first area, xi is the pixel value of each pixel constituting the first area, and u is the pixel value of the pixel of interest.

### Claim 6 (depends on 3)

The image processing apparatus according to claim 3, wherein
the second determination unit performs the determination by stepwise reducing the size of each sub area in the area, as the second area, including the plurality of sub areas.

### Claim 7 (depends on 6)

The image processing apparatus according to claim 6, wherein
the second determination unit does not perform the determination in a case where each sub area becomes a one-dimensional area or in a case where the number of pixels constituting each sub area becomes less than or equal to a predetermined number.

### Claim 8 (depends on 3)

The image processing apparatus according to claim 3, wherein
the setting unit sets an area consisting of pixels in the number of pixels constituting the predetermine area or of more pixels as the reference area in a case where the second determination unit determines that there is not an area in a uniform color in any of sub areas included in the area, as the second area, including the plurality of sub areas.

### Claim 9 (depends on 1)

The image processing apparatus according to claim 1, further comprising a conversion unit configured to convert image data, which is the input image data, corresponding to a plurality of color components into image data including a color difference signal, wherein
the first determination unit and the second determination unit perform the determination, respectively, based on image data before being converted by the conversion unit, and the setting unit and the first correction unit perform the setting and the correction, respectively, based on image data after being converted by the conversion unit.

### Claim 10 (depends on 3)

The image processing apparatus according to claim 3, wherein
the setting unit sets all sub areas determined to be an area in a uniform color by the second determination unit as an area consisting of a plurality of pixels in accordance with determination results by the second determination unit.

### Claim 11 (depends on 3)

The image processing apparatus according to claim 3, further comprising a unit configured to set the contents of specific correction processing based on the number of pixels constituting a sub area determined to be an area in a uniform color by the second determination unit, wherein
the first correction unit corrects the pixel value of the pixel of interest to a value for which noise has been reduced in accordance with the contents of the specific correction processing that are set.

### Claim 12 (depends on 3)

The image processing apparatus according to claim 3, further comprising a unit configured to set the contents of specific correction processing in a case the results of determination by the second determination unit indicate that there is not a sub area determined to be an area in a uniform color, wherein
the first correction unit corrects the pixel value of the pixel of interest to a value for which noise has been reduced in accordance with the contents of the specific correction processing that are set.

### Claim 13 (depends on 1)

The image processing apparatus according to claim 1, wherein
a plurality of pieces of image data with different resolutions is generated by performing multi-resolution conversion on the input image data,
the first and second determination units, the setting unit, and the first correction unit perform each piece of processing on image data with each resolution, and
image data with the original resolution is generated by performing inverse multi-resolution conversion on image data with each resolution in which noise has been reduced by correction by the first correction unit.

### Claim 14 (depends on 1)

The image processing apparatus according to claim 1, further comprising a second correction unit configured to perform correction processing with a noise reduction effect more significant than that of the correction by the first correction unit on the pixel of interest in a case where a third area, different from the first area, consisting of a plurality of pixels including the pixel of interest is a high-contrast area where contrast is high and the pixel of interest is a pixel constituting an edge.

### Claim 15 (depends on 14)

The image processing apparatus according to claim 14, further comprising a correction results combination unit configured to output the results of correction by the second correction unit in a case where the pixel in the input image data is a pixel in the high-contrast area and the pixel is a pixel constituting the edge, and to output the results of correction by the first correction unit in a case of a pixel other than the pixel.

### Claim 16 (depends on 15)

The image processing apparatus according to claim 15, further comprising a determination unit configured to determine whether the third area is the high-contrast area by using an evaluation value representing a degree of uniformity of a color difference signal, which is calculated based on a difference in the color difference signal between the pixel of interest and each pixel constituting the third area.

### Claim 17 (depends on 16)

The image processing apparatus according to claim 16, wherein
the evaluation value is found by using expression below
σ
′
=
1
N
-
1

∑
i
=
1
N


x
i
-
u

,
and
in the above-described expression, N is the number of pixels constituting the third area, xi is the pixel value of each pixel constituting the third area, and u is the pixel value of the pixel of interest.

### Claim 18 (depends on 14)

The image processing apparatus according to claim 14, wherein
the third area is an area including a plurality of one-dimensional sub areas, the shape of each one-dimensional sub area having directivity, and a combination of all one-dimensional sub areas being isotropic.

### Claim 19

An image processing method comprising:
a first determination step of determining whether or not a first area consisting of a plurality of pixels including a pixel of interest is an area in a uniform color for the pixel of interest in input image data;
a second determination step of determining whether or not a second area, different from the first area, consisting of a plurality of pixels including the pixel of interest is an area in a uniform color;
a setting step of setting a reference area consisting of the pixel of interest and adjacent pixels of the pixel of interest for the pixel of interest; and
a correction step of correcting the pixel value of the pixel of interest to a value for which noise has been reduced based on the pixel value of the pixel included in the reference area, wherein
in the setting step, a predetermined area prepared in advance and consisting of a plurality of pixels is set as the reference area in a case where the first area is determined to be an area in a uniform color in the first determination step, and an area consisting of a plurality of pixels in accordance with determination results in the second determination step is set as the reference area in a case where the first area is determined not to be an area in a uniform color in the first determination step.

### Claim 20

A non-transitory computer readable storage medium storing a program for causing a computer to perform an image processing method comprising:
a first determination step of determining whether or not a first area consisting of a plurality of pixels including a pixel of interest is an area in a uniform color for the pixel of interest in input image data;
a second determination step of determining whether or not a second area, different from the first area, consisting of a plurality of pixels including the pixel of interest is an area in a uniform color;
a setting step of setting a reference area consisting of the pixel of interest and adjacent pixels of the pixel of interest for the pixel of interest; and
a correction step of correcting the pixel value of the pixel of interest to a value for which noise has been reduced based on the pixel value of the pixel included in the reference area, wherein
in the setting step, a predetermined area prepared in advance and consisting of a plurality of pixels is set as the reference area in a case where the first area is determined to be an area in a uniform color in the first determination step, and an area consisting of a plurality of pixels in accordance with determination results in the second determination step is set as the reference area in a case where the first area is determined not to be an area in a uniform color in the first determination step.
