Image compression method

An image compression and image block technology, applied in the field of image processing, can solve the problems of image data loss, image quality impact, unsatisfactory, etc., and achieve the effect of improving compression quality and ensuring image quality.

Inactive Publication Date: 2017-05-24
YANSHAN UNIV
View PDF7 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the current image compression method, the image data may be lost, resulting in the image quality being affected and unsatisfactory.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The present invention will be further described in detail below in conjunction with the accompanying drawings, so that those skilled in the art can implement it with reference to the description.

[0023] Such as figure 1 As shown, the present invention provides a kind of image compression method, comprises:

[0024] Step 1, dividing the original image into multiple image blocks;

[0025] Step 2. Evaluate each image block, select one of the pixels in each image block as a reference pixel, use the original pixel value of the reference pixel to calculate the compressed pixel value of the reference pixel as a compression reference value, and Taking other pixels in the image block as ordinary pixels, calculating the ratio a between each ordinary pixel in the image block and the original pixel value of the reference pixel;

[0026] Step 3: Compress each image block to obtain the compressed image block, and calculate the ratio b between the pixel value of each common pixel ...

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 compression method. The image compression method comprises a first step of segmenting an original image into multiple image blocks; a second step of evaluating each image block, selecting one pixel in each image block as a reference pixel, calculating a pixel value of the reference pixel after being subjected to compression by utilizing the original pixel value of the reference pixel, regarding the pixel value as a compression reference value and calculating a ratio a of the pixel value of each common pixel in the image block and the original pixel value of the reference pixel; a third step of compressing each image block, calculating the ratio b of the pixel value and the compression reference value of each common pixel in the compressed image block, storing the compressed image block if the relationship between the ratio b and the ratio a accords with a preset compression coefficient, and performing pixel compensation on the common pixels if the relationship does not accord with the preset compression coefficient; and a fourth step of composing the multiple compressed image blocks into a compressed image. The image compression method improves the compression quality and guarantees the compressed image quality.

Description

technical field [0001] The invention relates to image processing technology, in particular to an image compression method. Background technique [0002] In recent years, with the development of the times, people's living standards have been improving day by day, which has promoted the progress of electronic integration technology, and the size and resolution of various display devices have continued to increase. An increase in resolution means an increase in the number of pixels per frame of picture, so that the amount of data that needs to be processed during video and image processing will increase sharply, and the cost of video and image processing will also increase accordingly. [0003] Generally speaking, as the resolution supported by the image processing chip increases, the cost of the chip will also increase. This is because the increase in image resolution increases the amount of data that needs to be processed for each frame of image. Especially in the case of da...

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/176H04N19/42
CPCH04N19/176H04N19/42
Inventor 刘宇刘伟马继光王倩
Owner YANSHAN UNIV
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