# US 2022/0284631 A1 · Image processing apparatus, recording medium having image processing program recorded thereon, and image processing method

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

- Number: US 2022/0284631 A1
- Document ID: US20220284631A1
- Status: Published application
- Kind: A1
- Application number: 17/673,484
- Filed: 2022-02-16
- Published: 2022-09-08
- Earliest claimed: 2021-03-05
- Assignees: Sharp Kabushiki Kaisha
- Applicants: Sharp Kabushiki Kaisha
- Inventors: TERUHIKO MATSUOKA; AKIHITO YOSHIDA; MASAHIKO TAKASHIMA
- Web page: https://patentgrep.com/patent/US20220284631A1

## CPC

- G06T 7/90: Determination of colour characteristics
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/14: Coding unit complexity, e.g. amount of activity or edge presence estimation (H04N19/146 takes precedence)
- H04N 19/172: the region being a picture, frame or field
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/85: using pre-processing or post-processing specially adapted for video compression
- G06T 2207/10008: from scanner, fax or copier
- G06T 2207/10024: Color image
- G06T 2207/30176: Document
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A multifunction peripheral includes a color number conversion determiner. The color number conversion determiner determines whether it is appropriate to perform either an index color process or a full-color process based on a color distribution degree, which is a distribution degree of pixel values of the respective sets of pixel data included in input image data, a photograph area ratio, which is a ratio of photograph area pixel data forming a photograph area to the pixel data, and a color uniformity area ratio, which is a ratio of white base area pixel data forming a white base area to the pixel data.

## Claims

### Claim 1

An image processing apparatus comprising:
a color distribution degree deriver that derives a color distribution degree that is a distribution degree of pixel values of respective sets of pixel data included in input image data;
a photograph area ratio deriver that derives a photograph area ratio that is a ratio of photograph area pixel data forming a photograph area to the pixel data;
a color uniformity area ratio deriver that derives a color uniformity area ratio that is a ratio of color uniformity area pixel data forming a color uniformity area where the pixel values may be regarded as being uniform to the pixel data; and
a determiner that determines whether it is appropriate to perform either an index color process to perform a compression process using a lossless compression method after performing a color reduction process on the input image data or a full-color process to perform a compression process using a lossy compression method without performing the color reduction process on the input image data based on the color distribution degree, the photograph area ratio, and the color uniformity area ratio.

### Claim 2 (depends on 1)

The image processing apparatus according to claim 1, wherein the determiner determines that it is appropriate to perform the index color process only when the color distribution degree is less than a first reference value, the photograph area ratio is less than a second reference value, and the color uniformity area ratio is more than a third reference value.

### Claim 3 (depends on 1)

The image processing apparatus according to claim 1, wherein the color distribution degree deriver includes
a determination color reducer that performs a determination color reduction process using a median cut algorithm on the input image data to cut a color space, which is a coordinate space of the input image data, into subspaces corresponding to a predetermined number of colors, and
a color distribution degree derivation executor that derives the color distribution degree based on a size of the subspace after division corresponding to the predetermined number of colors by the determination color reducer.

### Claim 4 (depends on 3)

The image processing apparatus according to claim 3, wherein the determination color reducer divides the color space into an achromatic space, which may be regarded as a space having an achromatic color, and a chromatic space, which may be regarded as a space having a chromatic color, and then cuts the color space including the achromatic space and the chromatic space into the subspaces corresponding to the predetermined number of colors.

### Claim 5 (depends on 4)

The image processing apparatus according to claim 4, wherein the determination color reducer divides the color space into the one achromatic space and the two or more predetermined chromatic spaces and then cuts the color space including the achromatic space and the chromatic spaces into the subspaces corresponding to the predetermined number of colors.

### Claim 6 (depends on 1)

The image processing apparatus according to claim 1, wherein the photograph area ratio deriver includes
an entropy deriver that derives, for each block that is a group of the pixel data in a predetermined number of units, an entropy that is a feature value of a histogram of pixel values of the pixel data included in the block,
a photograph area block determiner that determines whether, for the each block, the block is a photograph area block forming the photograph area based on the entropy, and
a photograph area ratio derivation executor that derives, as the photograph area ratio, a ratio of a number of the photograph area blocks to a number of all the blocks.

### Claim 7 (depends on 6)

The image processing apparatus according to claim 6, wherein the entropy deriver derives the entropy after excluding character area pixel data forming a character area from the pixel data included in the block.

### Claim 8 (depends on 1)

The image processing apparatus according to claim 1, wherein the color uniformity area ratio deriver includes
a specifier that specifies, as color uniformity pixel data, more than a predetermined number of sets of the pixel data where the pixel values may be regarded as being uniform, and
a color uniformity area ratio derivation executor that derives, as the color uniformity area ratio, a ratio of a number of sets of the color uniformity pixel data to a number of all sets of the pixel data.

### Claim 9 (depends on 1)

The image processing apparatus according to claim 1, wherein the color uniformity area ratio deriver includes
a specifier that specifies, as color uniformity pixel data, the pixel data where the pixel value may be regarded as a value representing white, and
a color uniformity area ratio derivation executor that derives, as the color uniformity area ratio, a ratio of a number of sets of the color uniformity pixel data to a number of all sets of the pixel data.

### Claim 10 (depends on 1)

The image processing apparatus according to claim 1, wherein the input image data includes read image data by an image reading apparatus that reads an image of a document.

### Claim 11

A non-transitory computer-readable recording medium having an image processing program recorded thereon, the image processing program causing a computer to execute:
deriving a color distribution degree that is a distribution degree of pixel values of respective sets of pixel data included in input image data;
deriving a photograph area ratio that is a ratio of photograph area pixel data forming a photograph area to the pixel data;
deriving a color uniformity area ratio that is a ratio of color uniformity area pixel data forming a color uniformity area where the pixel values may be regarded as being uniform to the pixel data; and
determining whether it is appropriate to perform either an index color process to perform a compression process using a lossless compression method after performing a color reduction process on the input image data or a full-color process to perform a compression process using a lossy compression method without performing the color reduction process on the input image data based on the color distribution degree, the photograph area ratio, and the color uniformity area ratio.

### Claim 12

An image processing method comprising:
deriving a color distribution degree that is a distribution degree of pixel values of respective sets of pixel data included in input image data;
deriving a photograph area ratio that is a ratio of photograph area pixel data forming a photograph area to the pixel data;
deriving a color uniformity area ratio that is a ratio of color uniformity area pixel data forming a color uniformity area where the pixel values may be regarded as being uniform to the pixel data; and
determining whether it is appropriate to perform either an index color process to perform a compression process using a lossless compression method after performing a color reduction process on the input image data or a full-color process to perform a compression process using a lossy compression method without performing the color reduction process on the input image data based on the color distribution degree, the photograph area ratio, and the color uniformity area ratio.
