Hardware-based adjustable lossy compression method

A compression method and an adjustable technology, applied in the field of image processing, can solve the problem of high computational complexity and achieve the effect of reducing the amount of calculation

Active Publication Date: 2019-08-06
新岸线(北京)科技集团有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In order to meet the requirements of different compression ratios and image quality, and make it easier for the algorithm to be implemented at the hardware level (for example, the existing commonly used jpeg lossy compression method has too high computational complexity and is difficult to implement based on hardware), so the study of hardware-based Regulating lossy compression methods has important practical significance

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
  • Hardware-based adjustable lossy compression method
  • Hardware-based adjustable lossy compression method
  • Hardware-based adjustable lossy compression method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] see figure 1 , the existing compression methods are as follows:

[0041] Step 101: Divide the input image into blocks, and transform each macroblock to obtain image transformation result parameters;

[0042] Step 102: Summarize and organize the parameters of the image transformation results to obtain a list of image compression parameters;

[0043] Step 103: Encoding and compressing the image according to the image compression parameter list to obtain a compressed image file;

[0044] Embodiment 1 of the present invention improves on the basis of the existing compression method to realize adjustable lossy compression. The improved compression method is specifically:

[0045] A hardware-based compression method for adjustable lossy compression, such as figure 2 As shown, the method includes:

[0046] Step 201: divide the input image into blocks, calculate the pixel mean value and pixel range of each macroblock and save them;

[0047] Step 202: Determine whether the...

Embodiment 2

[0087] see image 3 , the existing decompression method is specifically:

[0088] Step 301: Decompress according to the compressed image file to obtain an image compression parameter list;

[0089] Step 302: Decoding according to the image compression parameter list to obtain a parameter list of each macroblock transformation result;

[0090] Step 303: Perform inverse transformation on the parameter list of each macroblock transformation result and summarize to obtain a decompressed image.

[0091] Embodiment 2 of the present invention improves on the basis of the existing decompression method, corresponds to the improved compression method in Embodiment 1, and realizes adjustable lossy compression. The improved decompression method is specifically:

[0092] A hardware-based decompression method for adjustable lossy compression, such as Figure 4 As shown, the method includes:

[0093] Step 401: Decompress according to the compressed image file to obtain an image compressi...

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 a hardware-based adjustable lossy compression method. The technical scheme comprises: carrying out the blocking of an input image, and calculating the pixel mean value and pixel range of each macro block; when the pixel range is greater than a set threshold, quantifying each macro block to obtain a macro block transformation result parameter list; when the pixel range is not larger than the set threshold value, setting a macro block transformation result parameter list according to the pixel mean value; and obtaining an image compression parameter list according to themacro block transformation result parameter list, and performing write compression on the image compression parameter list to obtain a compressed image file. By adopting the technical scheme of the invention, the calculated amount can be greatly reduced, and the calculation can be conveniently realized in a hardware environment only by using a small amount of addition, subtraction and comparison operations. Moreover, adjustable parameters such as a transformation threshold value are provided, the optimal result meeting the current requirement can be selected more flexibly, and various different compression requirements are met.

Description

technical field [0001] The invention relates to the field of image processing, in particular to a hardware-based adjustable lossy compression method. Background technique [0002] During image or video transmission, due to the limitation of transmission bandwidth and transmission rate, it is necessary to compress the transmitted video or image. Due to the huge amount of original sampling data, the limited storage capacity of the memory, and the limitations of factors such as bandwidth and transmission rate during data transmission, the lossy compression of high-compression ratio image or video files is imperative. [0003] In order to meet the requirements of different compression ratios and image quality, and make it easier for the algorithm to be implemented at the hardware level (for example, the existing commonly used jpeg lossy compression method has too high computational complexity and is difficult to implement based on hardware), so the study of hardware-based Regul...

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/124H04N19/176
CPCH04N19/176H04N19/124
Inventor 刘超赵勃王宇张师群罗旻鲍东山
Owner 新岸线(北京)科技集团有限公司
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