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

Method and device for compressing image

A technology of image compression and compression algorithm, which is applied in the field of image processing, can solve the problems of low image compression processing efficiency and waste of computer computing power, and achieve the effects of saving computer computing power, fast image types, and flexible implementation methods

Active Publication Date: 2007-11-21
TENCENT TECH (SHENZHEN) CO LTD +1
View PDF0 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] However, the disadvantage of this scheme is: in this technique, when compressing the image, the computer image needs to be compressed twice, the first time the DCT algorithm is used for compression to obtain the compression ratio multiple, and when it is judged as a computer image, the computer image needs to be compressed twice. Lossless compression algorithms such as Deflate need to be used for compression, so the image compression processing efficiency is low, and it will also greatly waste computer computing power

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
  • Method and device for compressing image
  • Method and device for compressing image
  • Method and device for compressing image

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to make the object, technical solution and advantages of the present invention more clearly, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0038] The main idea of ​​the present invention is: before starting to compress the image, first determine the type of the image. For computer images with a small number of colors and the color values ​​have some characteristics of the same direction, the lossless compression algorithm is used to compress; for natural landscape images with a large number of colors and the frequency of color value changes quickly, a lossy compression algorithm is used to compress the image. The image is compressed.

[0039] FIG. 3 is a flowchart of an exemplary method for compressing images according to the present invention. As shown in Figure 3, the method includes:

[0040] Step 301: Select at least two statistical points from the image.

[0041]...

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

A method for compressing image includes selecting at least two statistic points from image, judging whether color number sum of two selected statistic points is greater than preset color number threshold or not and applying destructive compression algorithm to carry out compression on image if it is or otherwise applying nondestructive compression algorithm to carry out compression on image. The compression device used for realizing said method is also disclosed.

Description

technical field [0001] The present invention relates to the technical field of image processing, and more specifically, the present invention relates to an image compression method and device. Background technique [0002] The process of performing artificial compression on image information (data) is called image compression. Image compression is a technique to represent an image or the information contained in an image with as few bits as possible. Compression schemes can preserve the original information, that is, the original image can be reconstructed from the compressed image without error. Compression schemes can also be non-information preserving, ie allow some reasonable degree of distortion from the original image. At present, commonly used compression methods include: image transformation, predictive compression technology, adaptive compression technology, color image compression, binary image compression, run-length coding, "high frequency component" and "low f...

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): G06T9/00
Inventor 伍海君
Owner TENCENT TECH (SHENZHEN) 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