A method of data compression and decompression
A data compression and decompression technology, applied in electrical components, code conversion, etc., can solve the problems of difficult compression and difficult infrared code signal compression, and achieve the effect of efficient compression and secure data transmission.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0021] Such as figure 1 In the illustrated embodiment, a method for data compression and decompression disclosed in the present invention, the compression process includes the following steps:
[0022] 1), data processing:
[0023] Step 1-1, quantize the continuously changing infrared input level into corresponding values according to time through timing equipment, and store the quantized values of high level and low level into two arrays a and b respectively in order ;
[0024] Step 1-2, respectively mark the elements with particularly large values in the arrays a and b relative to other elements in the array, so that they do not participate in the averaging operation in steps 1-4 and 1-5; An element with a particularly large numerical value refers to an element that is 4 times or more larger than other elements.
[0025] Step 1-3, respectively divide all the elements in the arrays a and b by an appropriate value, so that except for the elements with particularly lar...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

