# US 2011/0234842 A1 · Image processing device

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

- Number: US 2011/0234842 A1
- Document ID: US20110234842A1
- Status: Published application
- Kind: A1
- Application number: 12/952,467
- Filed: 2010-11-23
- Published: 2011-09-29
- Earliest claimed: 2009-11-26
- Assignees: Nikon Corporation
- Inventors: Kenichi ISHIGA
- Web page: https://patentgrep.com/patent/US20110234842A1

## CPC

- H04N 23/843: {Demosaicing, e.g. interpolating colour pixel values}
- H04N 23/88: for colour balance, e.g. white-balance circuits or colour temperature control
- H04N 25/134: {based on three different wavelength filter elements}
- H04N 25/68: applied to defects
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An image processing device that corrects a pixel value in image data, includes: an input unit that inputs image data having a plurality of color components and including a plurality of pixels each holding one color component; a calculation unit that calculates a maximum value among pixel values of a plurality of same-color neighboring pixels each holding a color component identical to a color component held in a processing target pixel selected from the pixels included in the image data and pixel values of a plurality of different-color neighboring pixels each holding a color component different from the color component held in the processing target pixel, which take up positions closer to the processing target pixel than the plurality of same-color neighboring pixels; and a correction unit that compares a pixel value of the processing target pixel with the maximum value and replaces the pixel value of the processing target pixel with the maximum value if the pixel value of the processing target pixel is greater than the maximum value.

## Claims

### Claim 1

An image processing device that corrects a pixel value in image data, comprising:
an input unit that inputs image data having a plurality of color components and including a plurality of pixels each holding one color component among the plurality of color components;
a calculation unit that calculates a maximum value among pixel values of a plurality of same-color neighboring pixels each holding a color component identical to a color component held in a processing target pixel selected from the pixels included in the image data and pixel values of a plurality of different-color neighboring pixels each holding a color component different from the color component held in the processing target pixel, which take up positions closer to the processing target pixel than the plurality of same-color neighboring pixels; and
a correction unit that compares a pixel value of the processing target pixel with the maximum value and replaces the pixel value of the processing target pixel with the maximum value if the pixel value of the processing target pixel is greater than the maximum value.

### Claim 2

An image processing device that corrects a pixel value in image data, comprising:
an input unit that inputs image data having a plurality of color components and including a plurality of pixels each holding one color component among the plurality of color components;
a calculation unit that calculates a maximum value among pixel values of a plurality of neighboring pixels, which include, at least, pixel values of a plurality of different-color neighboring pixels each holding a color component different from a color component held in a processing target pixel selected from the pixels included in the image data taking up a position closer to the processing target pixel than a plurality of same-color neighboring pixels each holding a color component identical to the color component held in the processing target pixel; and
a correction unit that compares a pixel value of the processing target pixel with the maximum value and replaces the pixel value of the processing target pixel with the maximum value if the pixel value of the processing target pixel is greater than the maximum value.

### Claim 3

An image processing device that corrects a pixel value in image data, comprising:
an input unit that inputs image data having a plurality of color components and including a plurality of pixels each holding one color component among the plurality of color components;
a calculation unit that calculates a minimum value among pixel values of a plurality of same-color neighboring pixels each holding a color components identical to a color component held in a processing target pixel selected from the pixels included in the image data and pixel values of a plurality of different-color neighboring pixels each holding a color component different from the color component held in the processing target pixel, which take up positions closer to the processing target pixel than the plurality of same-color neighboring pixels; and
a correction unit that compares a pixel value of the processing target pixel with the minimum value and replaces the pixel value of the processing target pixel with the minimum value if the pixel value of the processing target pixel is smaller than the minimum value.

### Claim 4

An image processing device that corrects a pixel value in image data, comprising:
an input unit that inputs image data having a plurality of color components and including a plurality of pixels each holding one color component among the plurality of color components;
a calculation unit that calculates a minimum value among pixel values of a plurality of neighboring pixels, which include, at least, pixel values of a plurality of different-color neighboring pixels each holding a color component different from a color component held in a processing target pixel selected from the pixels included in the image data taking up a position closer to the processing target pixel than a plurality of same-color neighboring pixels each holding a color component identical to the color component held in the processing target pixel; and
a correction unit that compares a pixel value of the processing target pixel with the minimum value and replaces the pixel value of the processing target pixel with the minimum value if the pixel value of the processing target pixel is smaller than the minimum value.

### Claim 5 (depends on 1)

An image processing device according to claim 1, wherein:
the calculation unit further calculates a minimum value among the pixel values of the pixels having been referenced when calculating the maximum value;
the image processing device further comprises a setting unit that calculates a difference by subtracting the minimum value from the maximum value having been calculated and sets a value obtained by multiplying the difference by a constant as a threshold value for the processing target pixel; and
the correction unit compares the pixel value of the processing target pixel with a sum obtained by adding the threshold value to the maximum value and replaces the pixel value of the processing target pixel with the maximum value if the pixel value of the processing target pixel is greater than the sum.

### Claim 6 (depends on 2)

An image processing device according to claim 2, wherein:
the calculation unit further calculates a minimum value among the pixel values of the pixels having been referenced when calculating the maximum value;
the image processing device further comprises a setting unit that calculates a difference by subtracting the minimum value from the maximum value having been calculated and sets a value obtained by multiplying the difference by a constant as a threshold value for the processing target pixel; and
the correction unit compares the pixel value of the processing target pixel with a sum obtained by adding the threshold value to the maximum value and replaces the pixel value of the processing target pixel with the maximum value if the pixel value of the processing target pixel is greater than the sum.

### Claim 7 (depends on 3)

An image processing device according to claim 3, wherein:
the calculation unit further calculates a maximum value among the pixel values of the pixels having been referenced when calculating the minimum value;
the image processing device further comprises a setting unit that calculates a difference by subtracting the minimum value from the maximum value having been calculated and sets a value obtained by multiplying the difference by a constant as a threshold value for the processing target pixel; and
the correction unit compares the pixel value of the processing target pixel with a remainder obtained by subtracting the threshold value from the minimum value and replaces the pixel value of the processing target pixel with a minimum value if the pixel value of the processing target pixel is smaller than the remainder.

### Claim 8 (depends on 4)

An image processing device according to claim 4, wherein:
the calculation unit further calculates a maximum value among the pixel values of the pixels having been referenced when calculating the minimum value;
the image processing device further comprises a setting unit that calculates a difference by subtracting the minimum value from the maximum value having been calculated and sets a value obtained by multiplying the difference by a constant as a threshold value for the processing target pixel; and
the correction unit compares the pixel value of the processing target pixel with a remainder obtained by subtracting the threshold value from the minimum value and replaces the pixel value of the processing target pixel with a minimum value if the pixel value of the processing target pixel is even smaller than the remainder.

### Claim 9 (depends on 1)

An image processing device according to claim 1, wherein:
the calculation unit references the pixel values of the different-color pixels having undergone gain adjustment executed in reference to the color component held in the processing target pixel by using a white balance adjustment value determined in advance among the color components of the image data.

### Claim 10 (depends on 2)

An image processing device according to claim 2, wherein:
the calculation unit references the pixel values of the different-color pixels having undergone gain adjustment executed in reference to the color component held in the processing target pixel by using a white balance adjustment value determined in advance among the color components of the image data.

### Claim 11 (depends on 3)

An image processing device according to claim 3, wherein:
the calculation unit references the pixel values of the different-color pixels having undergone gain adjustment executed in reference to the color component held in the processing target pixel by using a white balance adjustment value determined in advance among the color components of the image data.

### Claim 12 (depends on 4)

An image processing device according to claim 4, wherein:
the calculation unit references the pixel values of the different-color pixels having undergone gain adjustment executed in reference to the color component held in the processing target pixel by using a white balance adjustment value determined in advance among the color components of the image data.

### Claim 13 (depends on 1)

An image processing device according to claim 1, wherein:
when the image data assumes a square grid array format, the calculation unit uses pixel values of different-color pixels present within a 3×3 pixel range centered on the processing target pixel as the pixel values of the plurality of different-color neighboring pixels.

### Claim 14 (depends on 2)

An image processing device according to claim 2, wherein:
when the image data assumes a square grid array format, the calculation unit uses pixel values of different-color pixels present within a 3×3 pixel range centered on the processing target pixel as the pixel values of the plurality of different-color neighboring pixels.

### Claim 15 (depends on 3)

An image processing device according to claim 3, wherein:
when the image data assumes a square grid array format, the calculation unit uses pixel values of different-color pixels present within a 3×3 pixel range centered on the processing target pixel as the pixel values of the plurality of different-color neighboring pixels.

### Claim 16 (depends on 4)

An image processing device according to claim 4, wherein:
when the image data assumes a square grid array format, the calculation unit uses pixel values of different-color pixels present within a 3×3 pixel range centered on the processing target pixel as the pixel values of the plurality of different-color neighboring pixels.

### Claim 17

An image processing device that corrects a pixel value in image data, comprising:
a calculation unit that calculates a maximum value and a minimum value among pixel values of a plurality of neighboring pixels surrounding a processing target pixel selected from the pixels included in the image data;
a setting unit that calculates a difference by subtracting the calculated minimum value from the calculated maximum value and sets a value obtained by multiplying the difference by a constant as a threshold for the processing target pixel; and
a correction unit that compares a pixel value of the processing target pixel with a sum obtained by adding the threshold value to the maximum value and replaces the pixel value of the processing target pixel with the maximum value if the pixel value of the processing target pixel is greater than the sum.

### Claim 18

An image processing device that corrects a pixel value in image data, comprising:
a calculation unit that calculates a maximum value and a minimum value among pixel values of a plurality of neighboring pixels surrounding a processing target pixel selected from the pixels included in the image data;
a setting unit that calculates a difference by subtracting the calculated minimum value from the calculated maximum value and sets a value obtained by multiplying the difference by a constant, as a threshold for the processing target pixel; and
a correction unit that compares a pixel value of the processing target pixel with a remainder obtained by subtracting the threshold value from the minimum value and replaces the pixel value of the processing target pixel with the minimum value if the pixel value of the processing target pixel is smaller than the remainder.

### Claim 19 (depends on 17)

An image processing device according to claim 17, wherein:
the correction unit replaces the pixel value of the processing target pixel with a value falling within a range between the maximum value and the sum.

### Claim 20 (depends on 18)

An image processing device according to claim 18, wherein:
the correction unit replaces the pixel value of the processing target pixel with a value falling within a range between the minimum value and the remainder.
