Unlock instant, AI-driven research and patent intelligence for your innovation.

Character block compression method, device, image compression method and device

A compression method and text block technology, applied in the field of image processing, can solve problems such as poor compression effect, achieve good screen video image compression, and solve the effect of poor compression effect

Active Publication Date: 2017-05-17
上海京达芯联信息技术有限公司
View PDF5 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a text block compression method and device as well as an image compression method and device, to at least solve the problem in the prior art that the color value of each pixel of a text block is independently coded, resulting in poor compression effect question

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Character block compression method, device, image compression method and device
  • Character block compression method, device, image compression method and device
  • Character block compression method, device, image compression method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0020] According to an embodiment of the present invention, an embodiment of a method for compressing text blocks is provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and , although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0021] figure 1 It is a flowchart of a method for compressing text blocks according to an embodiment of the present invention, such as figure 1 As shown, the method includes the following steps:

[0022] Step S102, acquiring text blocks in the image.

[0023] Specifically, the above-mentioned image can be a frame of image in the screen video. Taking the size of the image as W×H as an example, after acquiring the image in the screen video, it can be divided into m×n blocks, and the size of each block is...

Embodiment 2

[0083] According to an embodiment of the present invention, an embodiment of an image compression method is provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, although A logical order is shown in the flowcharts, but in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0084] figure 2 is a flowchart of an image compression method according to an embodiment of the present invention, such as figure 2 As shown, in the compression method of any text block in the method embodiment 1, after encoding the main color and the non-main color of each text block respectively, the image compression method also includes the following steps:

[0085] In step S201, a picture block in an image is obtained, and a compressed code stream of the picture block is obtained by encoding the pictur...

Embodiment 3

[0107] According to an embodiment of the present invention, an embodiment of an image compression device is provided, Figure 4 is a schematic diagram of an image compression device according to an embodiment of the present invention, combined with Figure 4 As shown, the device includes:

[0108] The first acquisition module 40 is configured to acquire text blocks in the image.

[0109] A determination module 42, configured to determine the main color of each text block.

[0110] The encoding module 44 is configured to encode the main color and the non-main color of each text block, and output the compressed code stream of the text block.

[0111] Optionally, according to the foregoing embodiments of the present application, the determining module includes:

[0112] The first acquisition sub-module is used to acquire the color value in each text block and the number of occurrences of each color value in each text block.

[0113] The determination sub-module is used to use...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention discloses a character block compression method, a character block compression device, an image compression method and an image compression device. The character block compression method includes the following steps that: character blocks in an image are obtained; the main color of each character block is obtained; and the main color and the non-main color of each character block are encoded, and the compressed code stream of the character blocks is outputted. With the character block compression method adopted, the technical problem of a poor compression effect of independent encoding of the color of each pixel of character blocks in the prior art can be solved.

Description

technical field [0001] The present invention relates to the field of image processing, in particular to a text block compression method and device, and an image compression method and device. Background technique [0002] Similar to traditional video image compression methods, screen video images usually use block-based compression methods. However, the screen video image is a kind of complex video sequence, and each frame of its image is a composite image, which contains not only ordinary picture information but also text information. The loss of ordinary image information is often acceptable to the human eye, but the loss of text information is often unacceptable, so text blocks often use lossless compression or near-lossless compression technology. Therefore, efficient text block lossless / near lossless compression technology is a key technology in screen video image compression. Each frame of the screen video image is a composite image, and there are a large number of t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04N19/186H04N19/176
CPCH04N19/176H04N19/186
Inventor 苏睿
Owner 上海京达芯联信息技术有限公司