# US 2023/0068158 A1 · High-speed cell-based image compression

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

- Number: US 2023/0068158 A1
- Document ID: US20230068158A1
- Status: Published application
- Kind: A1
- Application number: 17/409,641
- Filed: 2021-08-23
- Published: 2023-03-02
- Earliest claimed: 2021-08-23
- Assignees: KYOCERA Document Solutions Inc.
- Applicants: KYOCERA Document Solutions, Inc.
- Inventors: Kenneth A. Schmidt
- Web page: https://patentgrep.com/patent/US20230068158A1

## CPC

- H04N 1/41: Bandwidth or redundancy reduction (by scanning H04N1/17 {; methods or arrangements for coding, decoding, compressing or decompressing digital video signals H04N19/00})
- G06T 3/40: Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T 9/00: Image coding (bandwidth or redundancy reduction for static pictures H04N1/41; coding or decoding of static colour picture signals H04N1/64; methods or arrangements for coding, decoding, compressing or decompressing digital video signals H04N19/00)
- H04N 1/64: Systems for the transmission or the storage of the colour picture signal; Details therefor, e.g. coding or decoding means therefor {(H04N19/00 takes precedence)}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

An example embodiment may involve obtaining an input pixel map of a digital image containing an array of a×b pixel macro-cells; classifying each of the a×b pixel macro-cells as P class cells for substantially lossless compression or Q class cells for lossy compression; creating a first intermediate pixel map representing: the P class cells as is, and the Q class cells with all zero values; creating a second intermediate pixel map representing: the P class cells with all zero values, and the Q class cells as is; encoding the first intermediate pixel map into a first output stream by using substantially lossless compression; and encoding the second intermediate pixel map into a second output stream by: downsampling the P class cells and the Q class cells therein, and serializing representations the downsampled cells.

## Claims

### Claim 1

A computer-implemented method comprising:
obtaining an input pixel map of a digital image, the input pixel map containing a two-dimensional array of a×b pixel macro-cells;
based on analysis of pixels therein, classifying each of the a×b pixel macro-cells as P class cells suitable for substantially lossless compression or Q class cells suitable for lossy compression;
creating a first intermediate pixel map representing: (i) the P class cells from the input pixel map as is, and (ii) the Q class cells from the input pixel map with all zero values, wherein the P class cells and the Q class cells appear in the first intermediate pixel map at their locations in the input pixel map;
creating a second intermediate pixel map representing: (i) the P class cells from the input pixel map with all zero values, and (ii) the Q class cells from the input pixel map as is, wherein the P class cells and the Q class cells appear in the second intermediate pixel map at their locations in the input pixel map;
encoding the first intermediate pixel map into a first output stream by using substantially lossless compression; and
encoding the second intermediate pixel map into a second output stream by: (i) downsampling the P class cells and the Q class cells into m×n micro-cells, and (ii) serializing representations of pixels of the m×n micro-cells into the second output stream.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
transmitting the first output stream and the second output stream to a decompression device.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, further comprising:
storing, on a computer-readable medium, the first output stream and the second output stream.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the first intermediate pixel map and the second intermediate pixel map represent partial versions of the input pixel map.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, wherein the first intermediate pixel map and the second intermediate pixel map existing in a form of one a×b pixel macro-cell at a time.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the first intermediate pixel map and the second intermediate pixel map have identical dimensions as the input pixel map.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the first intermediate pixel map consists of four or five planes and the second intermediate pixel map consists of four planes.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein the representations of pixels of the m×n micro-cells in the second output stream that were downsampled from P class cells are each a first opcode specifying all zero pixel values, and wherein the representations of pixels of the m×n micro-cells in the second output stream that were downsampled from Q class cells are respective sets of a second opcode and pixel values of the m×n micro-cells.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8, wherein the first opcode and the second opcode are different 1-bit values.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, wherein an array of the a×b pixel macro-cells positioned horizontally in the input pixel map is represented as an array of m×n micro-cells in the second intermediate pixel map, and wherein serializing the representations of pixels of the m×n micro-cells into the second output stream comprises:
serializing, in order from top to bottom, each of n lines of pixels in the array of m×n micro-cells.

### Claim 11 (depends on 1)

The computer-implemented method of claim 1, wherein serializing representations of pixels of the m×n micro-cells into the second output stream comprises:
omitting the m×n micro-cells of the P class cells from the second output stream; and
generating an instruction stream representing commands for a graphics coprocessor that indicate locations of each of the m×n micro-cells in the second output stream with respect to the input pixel map.

### Claim 12

A computer-implemented method comprising:
obtaining a first input stream and a second input stream, which in combination represent a digital image;
decoding the first input stream into a first intermediate pixel map using substantially lossless decompression, wherein the first intermediate pixel map includes P class cells that are a×b pixel macro-cells representing parts of the digital image and Q class cells that are a×b pixel macro-cells with all zero values;
decoding the second input stream into a second intermediate pixel map by: (i) de-serializing representations of m×n micro-cells from the second input stream, and (ii) upsampling the m×n micro-cells into a×b pixel macro-cells, wherein the second intermediate pixel map includes P class cells that are a×b pixel macro-cells with all zero values and Q class cells that are a×b pixel macro-cells representing parts of the digital image; and
merging the first intermediate pixel map and the second intermediate pixel map to form an output pixel map that is a replica of the digital image.

### Claim 13 (depends on 12)

The computer-implemented method of claim 12, wherein the P class cells in the first intermediate pixel map and the Q class cells in the second intermediate pixel map are in non-overlapping locations with respect to their locations in the output pixel map, and wherein merging the first intermediate pixel map and the second intermediate pixel map comprises applying a logical OR operation to the first intermediate pixel map and the second intermediate pixel map.

### Claim 14 (depends on 12)

The computer-implemented method of claim 12, wherein an integrated circuit decodes the first input stream into the first intermediate pixel map, and a software application decodes the second input stream into the second intermediate pixel map and merges the first intermediate pixel map and the second intermediate pixel map.

### Claim 15 (depends on 12)

The computer-implemented method of claim 12, wherein the second input stream represents each of the m×n micro-cells with either a first opcode specifying all zero pixel values, or a second opcode and associated pixel values.

### Claim 16 (depends on 15)

The computer-implemented method of claim 15, wherein de-serializing representations of the m×n micro-cells from the second input stream comprises, for a particular output pixel map location, reading an opcode and any associated pixel values, and wherein merging the first intermediate pixel map and the second intermediate pixel map comprises: (i) skipping to a next opcode and a next output pixel map location when the opcode is the first opcode, and (ii) writing, line by line, b upsampled lines of a pixels to the particular output pixel map location when the opcode is the second opcode.

### Claim 17 (depends on 12)

The computer-implemented method of claim 12, wherein an array of the a×b pixel macro-cells positioned horizontally in the output pixel map is represented as an array of m×n micro-cells in the second intermediate pixel map, and wherein de-serializing representations of the m×n micro-cells from the second input stream comprises de-serializing, in order from top to bottom, each of n lines of pixels into the array of m×n micro-cells.

### Claim 18 (depends on 12)

The computer-implemented method of claim 12, further comprising:
obtaining an instruction stream representing commands for a graphics coprocessor that indicate locations of each of the m×n micro-cells representing Q class cells in the second input stream with respect to the output pixel map; and
wherein merging the first intermediate pixel map and the second intermediate pixel map comprises writing, by the graphics coprocessor, the a×b pixel macro-cells representing Q class cells as upsampled into the locations of the output pixel map in accordance with the commands.

### Claim 19 (depends on 12)

The computer-implemented method of claim 12, wherein the first intermediate pixel map and the second intermediate pixel map represent partial versions of the output pixel map.

### Claim 20

An article of manufacture including a non-transitory computer-readable medium, having stored thereon program instructions that, upon execution by a computing device, cause the computing device to perform operations comprising:
obtaining an input pixel map of a digital image, the input pixel map containing a two-dimensional array of a×b pixel macro-cells;
based on analysis of pixels therein, classifying each of the a×b pixel macro-cells as P class cells suitable for substantially lossless compression or Q class cells suitable for lossy compression;
creating a first intermediate pixel map representing: (i) the P class cells from the input pixel map as is, and (ii) the Q class cells from the input pixel map with all zero values, wherein the P class cells and the Q class cells appear in the first intermediate pixel map at their locations in the input pixel map;
creating a second intermediate pixel map representing: (i) the P class cells from the input pixel map with all zero values, and (ii) the Q class cells from the input pixel map as is, wherein the P class cells and the Q class cells appear in the second intermediate pixel map at their locations in the input pixel map;
encoding the first intermediate pixel map into a first output stream by using substantially lossless compression; and
encoding the second intermediate pixel map into a second output stream by: (i) downsampling the P class cells and the Q class cells into m×n micro-cells, and (ii) serializing representations of pixels of the m×n micro-cells into the second output stream.
