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

Simple color image compression method

A compression method and color technology, applied in image coding, image data processing, instruments, etc., can solve the problems of insufficient compression ratio, low efficiency, lossy compression, etc.

Inactive Publication Date: 2010-09-15
WUXI LANECA TECH
View PDF2 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Among them, bmp is uncompressed, so it takes up a lot of storage space; although jpg is a relatively complete image file compression method, it belongs to lossy compression, and the compression ratio is not high enough
In practical applications, there is a class of image files, such as architectural design drawings, mechanical design drawings, accounting original documents, bank original documents including invoices, receipts, seals and signature documents, etc., which usually have the characteristics of relatively simple images and relatively monotonous colors. At this time, using jpg format will appear to be very inefficient

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
  • Simple color image compression method
  • Simple color image compression method
  • Simple color image compression method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] The step that realizes image compression method of the present invention is as follows:

[0017] 1. Read the header of the bmp image file to be compressed and write it to the lnp file as the header of the lnp file, such as figure 1 shown.

[0018] Second, read in the bmp image to be compressed, and record it into the RGB three-dimensional space according to the RGB value of each pixel.

[0019] 3. From the RGB space in step 2, calculate the color points in it. If the number of points is not greater than 8, store these points in the lnp file header (lossless compression) of the lnp file based on these points. The schematic diagram of the lnp file header is as follows figure 2 shown.

[0020] If the number of color points is greater than 8, see if it can be attributed to the color "cloud" in RGB space, and calculate the center of gravity of each "cloud", and use the RGB value of the center of gravity as the RGB value of all pixels in the "cloud". If the number of "clo...

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 relates to an image compression method, in particular to a simple color image compression method. At present, the most commonly used image file format is bmp and jpg, wherein the bmp is not compressed, so the bmp occupies a relatively big storage space; and though the jpg is a relatively perfect image file compression method, the jpg belongs to loss compression and the compression ratio is not high enough. In practical application, a kind of image file, such as building design paper, mechanical design paper, an accountant primary evidence, and a bank primary evidence including an invoice, a receipt, a print, a signature file and the like, usually has the characteristics of relatively simple image and relatively single color. If the kind of image file adopts the jpg format, the efficiency is very low. The invention provides the compression method which is more efficient than the jpg in order to solve the problem. The compression method defines a new image document format Inp, which has higher compression ratio than the jpg and belongs to lossless compression.

Description

technical field [0001] The invention relates to an image compression method, in particular to a simple color image compression method. Background technique [0002] With the wide application of computer technology, traditional paper documents have been gradually replaced by electronic documents. This not only saves a lot of papermaking raw materials and the space for stacking these documents, but also facilitates fast query and transmission. There are two main types of electronic documents: text files and image files. Because usually the image file is much larger than the text file, which not only requires a large storage space, but also requires a long transmission time, so people study and use various methods to compress the image file. Especially in the popularization of network applications today, the improvement of image compression rate is more practical. [0003] The most commonly used image file formats are bmp and jpg. Among them, bmp is uncompressed, so it take...

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 WUXI LANECA TECH
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