# US 10,375,275 B2 · Image processing apparatus specifying first and second pixels, and generating processed image data in which the first and second pixels have first and second colors respectively

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

- Number: US 10,375,275 B2
- Document ID: US10375275B2
- Status: Granted
- Kind: B2
- Application number: 15/933,762
- Filed: 2018-03-23
- Published: 2018-10-04
- Granted: 2019-08-06
- Earliest claimed: 2017-03-30
- Assignees: Brother Kogyo Kabushiki Kaisha
- Applicants: Brother Kogyo Kabushiki Kaisha
- Inventors: Ryuji Yamada
- Web page: https://patentgrep.com/patent/US10375275B2

## CPC

- H04N 1/58: Edge or detail enhancement; Noise or error suppression, e.g. colour misregistration correction (H04N1/62 takes precedence)
- H04N 1/4092: {Edge or detail enhancement}
- H04N 1/486: {with separate detectors, each detector being used for one specific colour component}
- H04N 1/405: Halftoning, i.e. converting the picture signal of a continuous-tone original into a corresponding signal showing only two levels
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An image processing apparatus specifies, from among target pixels in a target image, first pixels related to a first color, and determines whether a specific condition is met for each peripheral pixel of the target pixel. The specific condition includes a condition that each peripheral pixel is a candidate for a pixel representing one of colors different from the first color. The apparatus specifies, as a second pixel related to a second color, each peripheral pixel meeting the specific condition. The apparatus performs an image process on target image data by using specified first and second pixels to generate processed image data. In a processed image, first processed pixels correspond to the specified first pixels and have the first color, and second processed pixels correspond to the specified second pixels and have the second color.

## Claims

### Claim 1

An image processing apparatus comprising a processor configured to perform:
acquiring target image data representing a target image, the target image including a plurality of pixels, the plurality of pixels having respective ones of a plurality of pixel values, each of the plurality of pixel values having a gradation value, total levels of the gradation value being larger than three;
specifying a plurality of target pixels from among the plurality of pixels;
specifying a plurality of first pixels from among the plurality of target pixels, each of the plurality of first pixels being a candidate for a pixel representing a first color;
specifying a plurality of peripheral pixels of each first pixel which is located within a prescribed range from the each first pixel;
determining whether a specific condition is met for each peripheral pixel, the specific condition including a condition that the each peripheral pixel is a candidate for a pixel representing one of colors different from the first color, wherein a plurality of distant pixels of the each first pixel is located out of the prescribed range from the each first pixel, is not specified as a peripheral pixel of the each first pixel, and is free from determining whether the specific condition is met;
specifying, as a second pixel, each of the plurality of peripheral pixels meeting the specific condition, the second pixel being a candidate for a pixel representing a second color different from the first color; and
performing an image process on the target image data by using each of specified first pixels and each of specified second pixels to generate processed image data representing a processed image,
wherein the processed image includes a plurality of first processed pixels, a plurality of second processed pixels, and a plurality of processed third pixels, the plurality of first processed pixels corresponding to respective ones of the specified first pixels and having the first color, the plurality of second processed pixels corresponding to respective ones of the specified second pixels and having the second color, each of the plurality of processed third pixels having a color different from the first color and the second color and corresponding to a pixel in the target image for which the determining whether the specific condition is met has not been performed.

### Claim 2 (depends on 1)

The image processing apparatus according to claim 1, wherein the processor is configured to further perform specifying a plurality of edge pixels, each of the plurality of edge pixels constituting an edge in the target image,
wherein the plurality of target pixels includes at least one of the plurality of edge pixels but excludes at least one non-edge pixel.

### Claim 3 (depends on 2)

The image processing apparatus according to claim 2, wherein the processor is configured to further perform executing an expansion process on the target image data and a contraction process on the expansion-processed target image data, the expansion process expanding the edge and the contraction process contracting the expanded edge, wherein the plurality of target pixels is specified on the basis of the edge in the target image data after the expansion process and the contraction process are performed.

### Claim 4 (depends on 1)

The image processing apparatus according to claim 1, wherein the processor determines that the specific condition is met for a specific pixel from among the plurality of peripheral pixels when the specific pixel is a candidate for a pixel representing a color different from the first color and closer to the second color than to the first color.

### Claim 5 (depends on 4)

The image processing apparatus according to claim 4, wherein at least one intermediate pixel is interposed between the first pixel and the specific pixel in a specific direction,
wherein the processor determines that the specific condition is met for the at least one intermediate pixel when the at least one intermediate pixel is a pixel which is a candidate for a pixel representing a color different from the first color.

### Claim 6 (depends on 5)

The image processing apparatus according to claim 5, wherein the specific pixel is set so that number of all pixel interposed between the first pixel and the specific pixel in the specific direction is first number when the target image data has a first resolution in the specific direction and that the number is second number larger than the first number when the target image data has a second resolution greater than the first resolution in the specific direction.

### Claim 7 (depends on 1)

The image processing apparatus according to claim 1, wherein the processor is configured to further perform:
determining whether a first determination condition is met for each target pixel, the first determination condition including a condition that a difference between a pixel value of the each target pixel and a pixel value of the first color falls within a prescribed range;
determining whether a second determination condition is met for the each target pixel when the first determination condition is met for the each target pixel, the second determination condition concerning pixel values of a plurality of second peripheral pixels of the each target pixel; and
specifying the each target pixel as the first pixel when the second determination condition is met for the each target pixel,
wherein when the first determination condition is not met for the each target pixel, the each target pixel is free from determining whether the second determination condition is met.

### Claim 8 (depends on 1)

The image processing apparatus according to claim 1, wherein the plurality of target pixels includes a first target pixel, a second target pixel located downstream of and adjacent to the first target pixel in a specific direction, and a third target pixel located downstream of and adjacent to the second target pixel in the specific direction, the second target pixel meeting a condition concerning the first pixel,
wherein the processor is configured to further perform:
determining whether a first determination condition is met, the first determination condition including a condition that the first target pixel is the first pixel;
specifying the second target pixel as the first pixel when the first determination condition is met;
determining whether a second determination condition is met when the first determination condition is not met, the second determination condition including a condition that a difference between a pixel value of the third target pixel and a pixel value of the first color falls within a second prescribed range; and
specifying the second target pixel as the first pixel when the second determination condition is met.

### Claim 9 (depends on 1)

The image processing apparatus according to claim 1, wherein the second color is a color having a brightness equal to or higher than a reference value.

### Claim 10 (depends on 1)

The image processing apparatus according to claim 1, wherein the processor is configured to further perform executing a smoothing process on the target image data for smoothing the target image to generate intermediate image data,
wherein the processed image data is generated by using the intermediate image data.

### Claim 11 (depends on 10)

The image processing apparatus according to claim 10, wherein the processor is configured to further perform specifying a plurality of edge pixels, each of the plurality of edge pixels meeting a condition concerning an edge in the target image,
wherein the intermediate image data is generated by executing an edge sharpening process on pixel values of the plurality of edge pixels to sharpen the edge in the target image and executing the smoothing process on pixel values of a plurality of non-edge pixels.

### Claim 12 (depends on 1)

The image processing apparatus according to claim 1, wherein each of the plurality of pixel values has a red component value, a blue component value, and a green component value.

### Claim 13 (depends on 1)

The image processing apparatus according to claim 1, wherein the processor is configured to further perform generating printing data by using the processed image data.

### Claim 14 (depends on 1)

The image processing apparatus according to claim 1, wherein the target image data is generated by using an image sensor.

### Claim 15

A non-transitory computer readable storage medium storing a set of program instructions for installation on and execution by a computer, the set of program instructions comprising:
acquiring target image data representing a target image, the target image including a plurality of pixels, the plurality of pixels having respective ones of a plurality of pixel values, each of the plurality of pixel values having a gradation value, total levels of the gradation value being larger than three;
specifying a plurality of target pixels from among the plurality of pixels;
specifying a plurality of first pixels from among the plurality of target pixels, each of the plurality of first pixels being a candidate for a pixel representing a first color;
specifying a plurality of peripheral pixels of each first pixel which is located within a prescribed range from the each first pixel;
determining whether a specific condition is met for each peripheral pixel, the specific condition including a condition that the each peripheral pixel is a candidate for a pixel representing one of colors different from the first color, wherein a plurality of distant pixels of the each first pixel is located out of the prescribed range from the each first pixel, is not specified as a peripheral pixel of the each first pixel, and is free from determining whether the specific condition is met;
specifying, as a second pixel, each of the plurality of peripheral pixels meeting the specific condition, the second pixel being a candidate for a pixel representing a second color different from the first color; and
performing an image process on the target image data by using each of specified first pixels and each of specified second pixels to generate processed image data representing a processed image,
wherein the processed image includes a plurality of first processed pixels, a plurality of second processed pixels, and a plurality of processed third pixels, the plurality of first processed pixels corresponding to respective ones of the specified first pixels and having the first color, the plurality of second processed pixels corresponding to respective ones of the specified second pixels and having the second color, each of the plurality of processed third pixels having a color different from the first color and the second color and corresponding to a pixel in the target image for which the determining whether the specific condition is met has not been performed.

### Claim 16

An image processing method comprising:
acquiring target image data representing a target image, the target image including a plurality of pixels, the plurality of pixels having respective ones of a plurality of pixel values, each of the plurality of pixel values having a gradation value, total levels of the gradation value being larger than three;
specifying a plurality of target pixels from among the plurality of pixels;
specifying a plurality of first pixels from among the plurality of target pixels, each of the plurality of first pixels being a candidate for a pixel representing a first color;
specifying a plurality of peripheral pixels of each first pixel which is located within a prescribed range from the each first pixel;
determining whether a specific condition is met for each peripheral pixel, the specific condition including a condition that the each peripheral pixel is a candidate for a pixel representing one of colors different from the first color, wherein a plurality of distant pixels of the each first pixel is located out of the prescribed range from the each first pixel, is not specified as a peripheral pixel of the each first pixel, and is free from determining whether the specific condition is met;
specifying, as a second pixel, each of the plurality of peripheral pixels meeting the specific condition, the second pixel being a candidate for a pixel representing a second color different from the first color; and
performing an image process on the target image data by using each of specified first pixels and each of specified second pixels to generate processed image data representing a processed image,
wherein the processed image includes a plurality of first processed pixels, a plurality of second processed pixels, and a plurality of processed third pixels, the plurality of first processed pixels corresponding to respective ones of the specified first pixels and having the first color, the plurality of second processed pixels corresponding to respective ones of the specified second pixels and having the second color, each of the plurality of processed third pixels having a color different from the first color and the second color and corresponding to a pixel in the target image for which the determining whether the specific condition is met has not been performed.
