Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Image encoding method and device for converting jpeg to webp

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: 2021-10-15
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF11 Cites 0 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
  • Image encoding method and device for converting jpeg to webp
  • Image encoding method and device for converting jpeg to webp
  • Image encoding method and device for converting jpeg to webp

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 analyzing the JPEG file to be converted;

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

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 encoding method for converting JPEG to WebP, which comprises obtaining a JPEG file to be converted, and obtaining JPEG image file data by analyzing the JPEG file to be converted; performing Huffman decoding on the JPEG image file data to obtain macroblock data in a frequency domain space; Carry out macroblock prediction on the frequency domain data, and select the optimal prediction mode of the macroblock; perform residual data calculation on the macroblock data in the frequency domain space according to the selected optimal prediction mode, and obtain macroblock residual coefficient data; Entropy encoding is performed on the macroblock residual coefficient data in the domain data space to obtain WebP image file data, and the WebP image file data is encapsulated into a WebP image file format. This application reduces the complexity of the JPEG-to-WebP image encoding algorithm and improves the conversion performance. In addition, the present application also provides a JPEG-to-WebP image encoding device having the above-mentioned 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 Patents(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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products