A lossy image compression transmission method and system

An image compression and transmission method technology, applied in the field of the Internet of Things, can solve the problems of less memory, high system memory and CPU requirements, and weak CPU computing power, and achieve the goal of improving the compression loss rate, reducing the difficulty, and reducing the difficulty of data transmission. Effect

Active Publication Date: 2022-05-03
SHENZHEN ZHANYIN TECH CO LTD
View PDF13 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the rise of the Internet of Things, smart hardware has brought a lot of convenience to people's lives. Due to cost considerations, many smart hardware use RTOS real-time operating systems, which are characterized by less memory, weak CPU computing power, and relatively low communication speed. , the storage space is relatively tight, but because of some application scenarios, it is necessary to transmit some pictures, animations, or real-time images
If you directly use the naked image data transmission, it will cause a relatively large pressure on the transmission bandwidth, and the use of conventional JPG, PNG, GIF-related compression algorithms requires relatively high system memory and CPU
Can not meet the actual needs very well

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
  • A lossy image compression transmission method and system
  • A lossy image compression transmission method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0019] This embodiment provides as figure 1 The encoding process shown: S1, obtain the transmission request, attribute the color in the image that meets a certain hue range to a corresponding color; S2, mark the first frame image of the image to be compressed as an I-frame image, and obtain the I-frame image The color type value of the color, mark it as the basic color value; S3, calculate the difference of the color type value between each subsequent frame image and the previous I frame image in turn, when the difference is greater than the basic color value, mark it down A frame image is an I frame image, and the non-I frame image is marked as an F frame; S4, repeating step S3 until all images are marked; S5, analyzing the I and F frame images to obtain color distribution information, according to the color of the I and F frames Establish a color list used to describe the color category, when the specification of the color list is greater than the limit threshold, then execu...

Embodiment 2

[0038] This embodiment provides as figure 2 The steps of the decoding process shown: S01, obtain the decoding request and the compression coding of at least one frame of image, and analyze the compression coding according to the preset decoding rules; S02, when the image corresponding to the compression coding belongs to an I frame, then execute the step S03, otherwise execute step S04; S03, establish or update the color index table according to the color list, and execute step S05; S04, update the color index table according to the color list; S05, search and obtain the color information of the pixel of the image according to the pixel bit and the color index table .

[0039] Specific steps include:

[0040] One: Create a decoding handle, clear all members, and complete the initialization;

[0041] Two: Wait for the user to decode the request, if there is a decoding request, turn to the third step;

[0042] Three: The user sends in a frame of encoded data (encode_data) to...

Embodiment 3

[0049] This embodiment provides a lossy image compression transmission system, including an encoding end and a decoding end, which are respectively used to execute the above encoding process and decoding process.

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 lossy image compression transmission method and system. The encoding process is: S1, attribute the colors that meet the range into one color; S2, mark the first frame as an I frame, obtain the color type value, and mark it as the basis Color value; S3, calculate the difference, when the difference is greater than the basic color value, then mark the next frame as an I frame, otherwise it is an F frame; S5, analyze the I and F frames to obtain color distribution information and establish a color list, the color list is greater than threshold, execute S6, otherwise S7; S6, reduce color types and re-execute S1; S7, establish compression code according to the color distribution information and output it. The system is used to execute the method. The present invention reduces the difficulty of forming the color list by distinguishing the type of the frame, improves the compression loss rate through the limitation of the color list, reduces the difficulty of data transmission, can reasonably complete the compression of the image and can reduce the difficulty of data transmission according to the requirements, and is beneficial in Used in IoT systems with low processing power.

Description

technical field [0001] The invention relates to the technical field of the Internet of Things, in particular to a lossy image compression transmission method and system. Background technique [0002] With the rise of the Internet of Things, smart hardware has brought a lot of convenience to people's lives. Due to cost considerations, many smart hardware use RTOS real-time operating systems, which are characterized by less memory, weak CPU computing power, and relatively low communication speed. , and the storage space is relatively tight, but because of some application scenarios, some pictures, animations, or real-time images need to be transmitted. If you directly use the raw image data transmission, it will cause a relatively large pressure on the transmission bandwidth, and use the conventional compression algorithms related to JPG, PNG, and GIF, and the requirements for system memory and CPU are relatively high. Can not meet the actual needs very well. Contents of th...

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 Patents(China)
IPC IPC(8): H04N19/172H04N19/186H04N19/463
Inventor 余朝亮艾骏
Owner SHENZHEN ZHANYIN TECH CO LTD
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