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

Image compression method and apparatus

A technology for image compression and space compression, which is applied in the computer field and can solve problems such as inability to support custom image compression rates

Active Publication Date: 2017-05-31
INSPUR FINANCIAL INFORMATION TECH CO LTD
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, existing image compression methods can only support lossy compression or lossless compression alone, and cannot support custom image compression ratios.

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 compression method and apparatus
  • Image compression method and apparatus
  • Image compression method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part 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 those of ordinary skill in the art without creative work belong to the protection of the present invention. scope.

[0044] Such as figure 1 As shown, the embodiment of the present invention provides an image compression method, which may include the following steps:

[0045] Step 101: Obtain original bitmap data corresponding to an image file to be compressed including at least one pixel.

[0046] Step 102: According to at least three types of data values ​​corresp...

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 provides an image compression method and apparatus. The method comprises the steps of obtaining original bitmap data of a to-be-compressed image file comprising at least one pixel point, and setting at least three corresponding data layers according to at least three types of data values of each pixel point; for each data layer, setting a spatial geometric body corresponding to each data value, thereby obtaining a data space structure corresponding to the data layer; for each data space structure, performing compression processing on the associated spatial geometric body; and when it is judged that a set image compression rate corresponds to lossless compression, outputting the compressed data space structure, otherwise, performing erasure processing on the compressed data space structure according to the image compression rate to a corresponding degree, and outputting the erased data space structure. Based on the set image compression rate, the image file can be correspondingly processed to achieve the image compression effect. Therefore, the scheme can support self-definition of the image compression rate.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to an image compression method and device. Background technique [0002] With the rapid development of Internet technology, in order to meet the file transmission needs of different users, the format of image files has become more and more abundant. [0003] At present, in order to reduce the size of the file for easy transmission, the original file can be compressed into jpg format losslessly, or compressed into png format losslessly. [0004] However, existing image compression methods can only support lossy compression or lossless compression only, and cannot support custom image compression rates. Contents of the invention [0005] The invention provides an image compression method and device, which can support self-defined image compression rate. [0006] In order to achieve the above object, the present invention is achieved through the following technical solutions: ...

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): G06T3/40
CPCG06T3/40
Inventor 张家重董毅李光瑞王玉奎
Owner INSPUR FINANCIAL 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