Supercharge Your Innovation With Domain-Expert AI Agents!

Image coding and decoding method and device

An image encoding and encoding technology, applied in the field of image encoding and decoding, can solve problems such as blurred text and too large pictures, achieve good compression effect, avoid blurred text, and solve the effect of blurred text

Active Publication Date: 2021-06-01
XIAN WANXIANG ELECTRONICS TECH CO LTD
View PDF13 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Commonly used lossy compression techniques, such as: JPEG will cause blurred text when compressing text; but using lossless compression methods such as PNG to compress text will cause the compressed image to be too large
[0003] Aiming at the above-mentioned problem of blurred text in the process of lossy image compression, no effective solution has been proposed yet

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
  • Image coding and decoding method and device
  • Image coding and decoding method and device
  • Image coding and decoding method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] According to an embodiment of the present invention, a method embodiment of an image coding 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, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0028] figure 1 is a schematic flowchart of an image coding method according to an embodiment of the present invention, such as figure 1 As shown, at the encoding end, the method includes the following steps:

[0029] Step S102, processing the image to be processed according to the number of channels;

[0030] Specifically, the image coding and compression method provided in the embodiment of the present application can be applied to computer image processing (for example, pictures and text displayed by a comp...

Embodiment 2

[0056] According to an aspect of an embodiment of the present invention, an image decoding method is provided, image 3 is a schematic flowchart of an image decoding method according to an embodiment of the present invention, such as image 3 As shown, on the decoding side, including:

[0057] Step S202, obtaining the encoded code stream and code table;

[0058] Wherein, the Huffman code table and code stream provided by the encoding end in Embodiment 1 are obtained.

[0059] Step S204, decode the code stream according to the code table; wherein, scan the data in each channel according to the preset order, and decode by comparing the difference between each value in each row of data and the first data, Get the decoded data.

[0060] Specifically, decoding is performed according to the inverse process of the encoding method in Embodiment 1, and the following is obtained: Figure 4 The decoding result shown, Figure 4 It is a schematic flow chart of decoding in an image dec...

Embodiment 3

[0062] According to another aspect of the embodiments of the present invention, an image encoding device is also provided, Figure 5 is a schematic diagram of an image encoding device according to an embodiment of the present invention, such as Figure 5 As shown, it includes: a classification module 52, which is used to process the image to be processed according to the number of channels; an encoding module 54, which is used to scan the data in each channel according to a preset order, and compare the data in each line The difference between each numerical value and the first data is encoded to obtain encoded data; the generation module 56 is used to generate a code table and a code stream according to the encoded data.

[0063] Optionally, the encoding module 54 includes: a division unit, used to divide the data in each channel according to the row data; a first scanning unit, used to scan the row data according to the order from left to right; the second scan The unit is ...

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 invention discloses an image coding and decoding method and device. The method comprises the following steps: respectively processing an image to be processed according to the number of channels; scanning the data in each channel according to a preset sequence, and encoding by comparing a difference value between each numerical value in each row of data and the first data to obtain encoded data; and generating a code table and a code stream according to the coded data. According to the invention, the technical problem of character blurring in the lossy compression process of the image on the character is solved.

Description

technical field [0001] The present invention relates to the field of image technology, in particular, to an image encoding and decoding method and device. Background technique [0002] According to the quality of compressed files, compression techniques are divided into: lossy compression and lossless compression. Commonly used lossy compression techniques, such as: JPEG will cause blurred text when compressing text; but using lossless compression methods such as PNG to compress text will cause the compressed image to be too large. [0003] No effective solution has been proposed for the above-mentioned problem of blurred text in the process of image-to-text lossy compression. Contents of the invention [0004] Embodiments of the present invention provide a method and device for encoding and decoding images, so as to at least solve the technical problem of blurred characters in the process of lossy compression of characters by images. [0005] According to an aspect of a...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04N19/42H04N19/48
CPCH04N19/42H04N19/48
Inventor 郭鲲
Owner XIAN WANXIANG ELECTRONICS TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More