JPEG to WebP image coding method and apparatus

An image coding and entropy coding technology, which is applied in image communication, digital video signal modification, electrical components, etc., and can solve the problems of high complexity of coding algorithm and low conversion performance.

Active Publication Date: 2018-06-12
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF11 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide an image coding method and device for converting JPEG to WebP, so as to solve the problems of high coding algorithm complexity and low conversion performance in the prior art

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
  • JPEG to WebP image coding method and apparatus
  • JPEG to WebP image coding method and apparatus
  • JPEG to WebP image coding method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0039] A flow chart of a specific embodiment of the JPEG-to-WebP image encoding method provided by the present invention is as follows figure 1 As shown, the method includes:

[0040] Step S101: Obtain the JPEG file to be converted, and obtain JPEG image file data by parsing the JPEG file to be converted;

[0041] According to the JPEG image file compression method, the directly read image source data is a b...

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 a JPEG to WebP image coding method. The method comprises the following steps: obtaining a JPEG file to be converted, and obtaining the JPEG image file data by parsing the JPEGfile to be converted; performing Huffman decoding on the JPEG image file data to obtain macroblock data of a frequency domain space; performing macroblock prediction on the frequency domain data, andselecting an optimal prediction mode of the macroblock; performing residual data calculation on the macroblock data of the frequency domain space according to the selected optimal prediction mode to obtain macroblock residual coefficient data; performing entropy encoding on the macroblock residual coefficient data of the frequency domain data space to obtain WebP image file data, and packaging theWebP image file data into a WebP image file format. By adoption of the JPEG to WebP image coding method, the complexity of the JPEG to WebP image coding algorithm is reduced, and the conversion performance is improved. In addition, the invention further provides a JPEG to WebP image coding apparatus having the above technical advantages.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to an image encoding method and device for converting JPEG to WebP. Background technique [0002] In the era of big data, due to the increase in the scale of image data, it has brought serious challenges to the storage cost and network bandwidth of the data center. In order to reduce the size of image storage, the image file format WebP with a higher compression rate is often used to replace the existing JPEG image file. Compared with the JPEG lossy compression algorithm, the WebP image lossy compression algorithm can reduce the file size by about 30%. Using the WebP image compression algorithm on the data center server to encode and convert JPEG files can effectively relieve the pressure on data center storage and network bandwidth access brought about by the increase in image size. [0003] When converting a JPEG image file into a WebP file format, the JPEG file needs to...

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/105H04N19/124H04N19/13H04N19/176H04N19/587H04N19/625
CPCH04N19/105H04N19/124H04N19/13H04N19/176H04N19/587H04N19/625
Inventor 郭振华魏士欣范宝余
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products