# US 2022/0046144 A1 · Apparatus, 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 2022/0046144 A1
- Document ID: US20220046144A1
- Status: Published application
- Kind: A1
- Application number: 17/390,307
- Filed: 2021-07-30
- Published: 2022-02-10
- Earliest claimed: 2020-08-05
- Assignees: Canon Kabushiki Kaisha
- Applicants: Canon Kabushiki Kaisha
- Inventors: Hiroyuki Sakai; Reiji Misawa
- Web page: https://patentgrep.com/patent/US20220046144A1

## CPC

- H04N 1/00005: {relating to image data}
- H04N 1/58: Edge or detail enhancement; Noise or error suppression, e.g. colour misregistration correction (H04N1/62 takes precedence)
- H04N 1/6063: {dependent on the contents of the image to be reproduced}
- H04N 1/644: {using a reduced set of representative colours, e.g. each representing a particular range in a colour space}
- H04N 1/00023: {Colour systems}
- H04N 1/00034: {Measuring, i.e. determining a quantity by comparison with a standard (H04N1/00031 takes precedence)}
- H04N 1/00806: {According to type of the original, e.g. colour paper or transparency, or reading a plurality of different types of original}
- H04N 1/411: for the transmission {or storage} or reproduction of two-tone pictures, e.g. black and white pictures
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An apparatus includes a reduction unit configured to perform color reduction processing for quantizing a color in the generated image data, a change unit configured to change, in a case where brightness of an edge pixel indicating an edge portion in an image based on the image data with the color quantized is equal to or higher than a threshold value, a pixel value of the edge pixel to a pixel value of a color of a pixel having highest brightness among pixels surrounding the edge pixel, and change, in a case where the brightness of the edge pixel is lower than the threshold value, the pixel value of the edge pixel to a pixel value of a color of a pixel having lowest brightness among the pixels surrounding the edge pixel.

## Claims

### Claim 1

An apparatus comprising:
a reading unit configured to read an image on a document and generate image data;
a reduction unit configured to perform color reduction processing for quantizing a color in the generated image data;
a change unit configured to change, in a case where brightness of an edge pixel indicating an edge portion in an image based on the image data with the color quantized is equal to or higher than a threshold value, a pixel value of the edge pixel to a pixel value of a color of a pixel having highest brightness among pixels surrounding the edge pixel, and change, in a case where the brightness of the edge pixel is lower than the threshold value, the pixel value of the edge pixel to a pixel value of a color of a pixel having lowest brightness among the pixels surrounding the edge pixel; and
a compression unit configured to compress the image data in which the pixel value of the edge pixel is changed while dividing the data color by color.

### Claim 2 (depends on 1)

The apparatus according to claim 1, further comprising a transmission unit configured to transmit the compressed image data.

### Claim 3 (depends on 1)

The apparatus according to claim 1, wherein the change unit calculates a color difference from the color of the pixel having the highest brightness among the pixels surrounding the edge pixel in the case where the brightness of the edge pixel is equal to or higher than the threshold value, and changes the pixel value of the edge pixel to the pixel value of the color of the pixel having the highest brightness among the pixels surrounding the edge pixel in a case where the color difference is smaller than a second threshold value.

### Claim 4 (depends on 1)

The apparatus according to claim 1, wherein the change unit calculates a color difference from the color of the pixel having the lowest brightness among the pixels surrounding the edge pixel in the case where the brightness of the edge pixel is lower than the threshold value, and changes the pixel value of the edge pixel to the pixel value of the color of the pixel having the lowest brightness among the pixels surrounding the edge pixel in a case where the color difference is smaller than the second threshold value.

### Claim 5 (depends on 1)

The apparatus according to claim 1, wherein the compression unit compresses the image data using the Modified Modified Read (MMR) method.

### Claim 6 (depends on 1)

The apparatus according to claim 1, wherein the change unit changes the pixel value of the edge pixel to the pixel value of the color of the pixel having the highest brightness among pixels excluding the edge pixel from 5×5 pixels arranged around the edge pixel in the case where the brightness of the edge pixel indicating the edge portion in the image based on the image data with the color quantized is equal to or higher than the threshold value, and changes the pixel value of the edge pixel to the pixel value of the color of the pixel having the lowest brightness among the pixels excluding the edge pixel from the 5×5 pixels arranged around the edge pixel in the case where the brightness of the edge pixel is lower than the threshold value.

### Claim 7

A method comprising:
reading an image on a document and generating image data;
performing color reduction processing for quantizing a color in the generated image data;
changing, in a case where brightness of an edge pixel indicating an edge portion in an image based on the image data with the color quantized is equal to or higher than a threshold value, a pixel value of the edge pixel to a pixel value of a color of a pixel having highest brightness among pixels surrounding the edge pixel, and changing, in a case where the brightness of the edge pixel is lower than the threshold value, the pixel value of the edge pixel to a pixel value of a color of a pixel having lowest brightness among the pixels surrounding the edge pixel; and
compressing the image data in which the pixel value of the edge pixel is changed by the changing while dividing the data color by color.

### Claim 8 (depends on 7)

The method according to claim 7, further comprising transmitting the compressed image data.

### Claim 9 (depends on 7)

The method according to claim 7, wherein the changing calculates a color difference from the color of the pixel having the highest brightness among the pixels surrounding the edge pixel in the case where the brightness of the edge pixel is equal to or higher than the threshold value, and changes the pixel value of the edge pixel to the pixel value of the color of the pixel having the highest brightness among the pixels surrounding the edge pixel in a case where the color difference is smaller than a second threshold value.

### Claim 10 (depends on 7)

The method according to claim 7, wherein the changing calculates a color difference from the color of the pixel having the lowest brightness among the pixels surrounding the edge pixel in the case where the brightness of the edge pixel is lower than the threshold value, and changes the pixel value of the edge pixel to the pixel value of the color of the pixel having the lowest brightness among the pixels surrounding the edge pixel in a case where the color difference is smaller than the second threshold value.

### Claim 11 (depends on 7)

The method according to claim 7, wherein the compressing compresses the image data using the Modified Modified Read (MMR) method.

### Claim 12 (depends on 7)

The method according to claim 7, wherein the changing changes the pixel value of the edge pixel to the pixel value of the color of the pixel having the highest brightness among pixels excluding the edge pixel from 5×5 pixels arranged around the edge pixel in the case where the brightness of the edge pixel indicating the edge portion in the image based on the image data with the color quantized is equal to or higher than the threshold value, and changes the pixel value of the edge pixel to the pixel value of the color of the pixel having the lowest brightness among the pixels excluding the edge pixel from the 5×5 pixels arranged around the edge pixel in the case where the brightness of the edge pixel is lower than the threshold value.

### Claim 13

A non-transitory computer-readable storage medium storing a program that, when executed by a computer, causes the computer to perform a method, the method comprising:
reading an image on a document and generating image data;
performing color reduction processing for quantizing a color in the generated image data;
changing, in a case where brightness of an edge pixel indicating an edge portion in an image based on the image data with the color quantized is equal to or higher than a threshold value, a pixel value of the edge pixel to a pixel value of a color of a pixel having highest brightness among pixels surrounding the edge pixel, and changing, in a case where the brightness of the edge pixel is lower than the threshold value, the pixel value of the edge pixel to a pixel value of a color of a pixel having lowest brightness among the pixels surrounding the edge pixel; and
compressing the image data in which the pixel value of the edge pixel is changed by the changing while dividing the data color by color.

### Claim 14 (depends on 13)

The non-transitory computer-readable storage medium according to claim 13, further comprising transmitting the compressed image data.

### Claim 15 (depends on 13)

The non-transitory computer-readable storage medium according to claim 13, wherein the changing calculates a color difference from the color of the pixel having the highest brightness among the pixels surrounding the edge pixel in the case where the brightness of the edge pixel is equal to or higher than the threshold value, and changes the pixel value of the edge pixel to the pixel value of the color of the pixel having the highest brightness among the pixels surrounding the edge pixel in a case where the color difference is smaller than a second threshold value.

### Claim 16 (depends on 13)

The non-transitory computer-readable storage medium according to claim 13, wherein the changing calculates a color difference from the color of the pixel having the lowest brightness among the pixels surrounding the edge pixel in the case where the brightness of the edge pixel is lower than the threshold value, and changes the pixel value of the edge pixel to the pixel value of the color of the pixel having the lowest brightness among the pixels surrounding the edge pixel in a case where the color difference is smaller than the second threshold value.

### Claim 17 (depends on 13)

The non-transitory computer-readable storage medium according to claim 13, wherein the compressing compresses the image data using the Modified Modified Read (MMR) method.

### Claim 18 (depends on 13)

The non-transitory computer-readable storage medium according to claim 13, wherein the changing changes the pixel value of the edge pixel to the pixel value of the color of the pixel having the highest brightness among pixels excluding the edge pixel from 5×5 pixels arranged around the edge pixel in the case where the brightness of the edge pixel indicating the edge portion in the image based on the image data with the color quantized is equal to or higher than the threshold value, and changes the pixel value of the edge pixel to the pixel value of the color of the pixel having the lowest brightness among the pixels excluding the edge pixel from the 5×5 pixels arranged around the edge pixel in the case where the brightness of the edge pixel is lower than the threshold value.
