Compression processor, extension processor, program for compression processing, program for extension processing
By dividing the horizontal axis interval into two sections based on probability and using modified logistic and tent mapping formulas, the method enhances data compression efficiency and decompression effectiveness, achieving a higher compression ratio.
Patent Information
- Application Number
- JP2023059298
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2043-03-31
AI Technical Summary
Existing data compression methods lack emphasis on achieving high compression efficiency and do not provide effective decompression of data with high compression rates.
The method involves dividing the horizontal axis interval into two sections based on the appearance probability value P, using modified logistic and tent mapping formulas to calculate upper and lower limits of compression values, and generating compression codes from these ranges, with a focus on optimizing the initial value to minimize the number of bits required.
This approach achieves a higher compression ratio by optimizing the initial value and using modified logistic and tent mapping formulas, reducing the number of bits needed for compression and enabling effective decompression.
Smart Images

Figure 2024146418000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a compression processing device, a decompression processing device, a compression processing program, and a decompression processing program that perform lossless compression and decompression. [Background technology]
[0002] Patent Document 1 discloses a compression processing device, a decompression processing device, a compression processing program, and a decompression processing program. Patent Document 1 introduces a compression method that traces back a modified Bernoulli shift map. This method uses the occurrence probability of data as the gradient coefficient of the map, and introduces that it is possible to obtain a compression rate equivalent to that of conventional arithmetic coding.
[0003] Patent Document 2 discloses a random number generator, which shows a method of narrowing down the range of the initial value X0 by tracing back with reference to random numbers output by a logistic map that is in a topological conjugate relationship with the tent map. Furthermore, Patent Document 2 shows the interval of the initial value X0 of the Gray code generated from the tent map and the logistic map.
[0004] Patent Document 3 discloses a method for compressing natural image data (still images). This patent document 3 shows that bitmap natural image intensity data is expanded into bitmap gradation value data, an exclusive OR operation is performed between each layer, code conversion based on distribution is performed, and compression using a chaos compression / expansion table is performed to obtain a compressed code. Furthermore, it also shows that expansion is performed by following the reverse process to the above.
[0005] Furthermore, Patent Document 4 discloses that the encoder of the terminal device sequentially applies a chaos map that generates chaos to the original data of the domain, and obtains a compression result that satisfies the criterion and the number of times the chaos map is applied. Meanwhile, it is disclosed that another terminal device obtains the compression result and the number of times the chaos map is applied from the terminal device 22 by communication, and the other terminal device applies the chaos inverse map to the compression result by the decoder the same number of times as the number of applications to obtain data that is the decompression result. [Prior art documents] [Patent documents]
[0006] [Patent Document 1] JP 2019-047450 A [Patent Document 2] JP 2019-168963 A [Patent Document 3] JP 2004-129179 A [Patent Document 4] JP 2009-33474 A Summary of the Invention [Problem to be solved by the invention]
[0007] In the data compression described above, there is no particular focus on obtaining high compression efficiency, nor is there any disclosure of decompressing compressed data with such a high compression ratio.
[0008] The present invention has been made in consideration of the current state of conventional data compression processing and data decompression processing, and has an object to provide a compression processing device, a decompression processing device, a compression processing program, and a decompression processing program that are capable of obtaining a high compression ratio. [Means for solving the problem]
[0009] The compression processing device according to the present invention is characterized in comprising: modified logistic map formula generation means for dividing a horizontal axis section from 0 to 1 into two sections based on an occurrence probability value P of a code constituting decompressed code data before compression processing, and generating a formula of a modified logistic map composed of a first quadratic function from 0 to less than the occurrence probability value P and a second quadratic function equal to or greater than the occurrence probability value P; modified logistic map compression processing means for iteratively calculating an upper limit and a lower limit of a compressed value for each unit data of the decompressed code to obtain a range of the compressed values; and modified logistic map compressed code generation means for generating a compressed code from the range of compressed values finally determined by the modified logistic map compression processing means.
[0010] In the compression processing device according to the present invention, the modified logistic map compression processing means calculates the upper limit and the lower limit of the compression value for each unit data by using a quadratic equation aX 2 Formula for finding the solution to +bX+c=0
number
[0011] In the compression processing device according to the present invention, the modified logistic map formula generation means prepares a plurality of the occurrence probability values P and generates a plurality of modified logistic map formulas based on the plurality of the occurrence probability values P, and the compression processing device comprises a modified logistic map initial value calculation means for calculating an upper limit and a lower limit of a compressed value for a first unit data of the decompression code using the plurality of modified logistic map formulas generated by the modified logistic map formula generation means to obtain an initial value, and a modified logistic map optimal formula acquisition means for comparing the numbers of bits of initial values corresponding to the modified logistic map formulas obtained by the modified logistic map initial value calculation means to obtain the modified logistic map formula which results in an initial value with the smallest number of bits, and the modified logistic map compression processing means performs calculation using the modified logistic map formula obtained by the modified logistic map optimal formula acquisition means.
[0012] The compression processing device according to the present invention includes a code conversion means for converting decompressed code data into a Gray code, dividing the decompressed code data represented by the converted Gray code into a plurality of ranges according to size, and performing code conversion to change decompressed code data at the ends of the ranges into decompressed code data in the middle of the ranges, and the modified logistic map formula generation means, the modified logistic map compression processing means, the initial value processing means, and the optimal formula acquisition means perform processing using the code changed by the code conversion means.
[0013] The compression processing device according to the present invention comprises a modified logistic map formula generating means for dividing a horizontal axis section from 0 to 1 into two sections according to an occurrence probability value P of a code constituting the decompressed code data before compression processing, and generating a formula of a modified logistic map composed of a first quadratic function from 0 to less than the occurrence probability value P and a second quadratic function equal to or greater than the occurrence probability value P; a modified logistic map compression processing means for calculating an upper limit value and a lower limit value of a compressed value for each unit data of the decompressed code, and repeating a calculation to obtain a range of the compressed value; a modified logistic side processing unit configured to have a modified logistic map compressed code generating means for generating a compressed code from the range of compressed values finally obtained by the above-mentioned method; a modified tent mapping formula generating means for dividing a horizontal axis section from 0 to 1 into two sections based on the occurrence probability value P of a code constituting the decompressed code data before compression processing, and generating a formula of a modified tent mapping configured from a first linear function from 0 to less than the occurrence probability value P and a second linear function equal to or greater than the occurrence probability value P; and a modified logistic side processing unit configured to calculate an upper limit value and a lower limit value of a compressed value for each unit data of the decompressed code to obtain the range of the compressed value. and a modified tent side processing unit including a modified tent map compression processing unit which performs an iterative operation of the modified tent map compression processing unit and a modified tent map compressed code generation unit which generates a compressed code from the range of compressed values finally obtained by the modified tent map compression processing unit. The modified logistic map formula generation unit uses a plurality of prepared occurrence probability values P to generate a plurality of modified logistic map formulas based on the plurality of prepared occurrence probability values P, and the modified tent map formula generation unit uses a plurality of prepared occurrence probability values P to generate a plurality of modified tent map formulas based on the plurality of prepared occurrence probability values P. the modified logistic-side processing unit includes a modified logistic-map initial value calculation unit which calculates an upper limit and a lower limit of a compressed value for a first unit data of the decompression code by using a plurality of modified logistic-map equations generated by the modified logistic-map equation generation unit to obtain an initial value, and a modified logistic-map optimal equation acquisition unit which compares the number of bits of the initial values corresponding to the modified logistic-map equations obtained by the modified logistic-map initial value calculation unit to obtain the modified logistic-map equation which provides the initial value with the smallest number of bits.the modified tent side processing unit includes a modified tent mapping initial value calculation means for calculating an upper limit and a lower limit of a compressed value for a first unit data of the decompression code using a plurality of modified tent mapping equations generated by the modified tent mapping equation generation means to obtain initial values, and a modified tent mapping optimal equation acquisition means for comparing the bit numbers of initial values corresponding to the modified tent mapping equations obtained by the modified tent mapping initial value calculation means to obtain a modified tent mapping equation that results in an initial value with the smallest number of bits, and an optimum mapping formula comparison result acquisition means for comparing an initial value having the smallest number of bits among the number of bits of an initial value obtained by the modified tent mapping initial value calculation means with an initial value having the smallest number of bits among the initial value corresponding to the modified tent mapping formula obtained by the modified tent mapping initial value calculation means, to obtain a mapping formula which has resulted in the smaller initial value as a result of the comparison, and for obtaining a modified logistic map optimum formula acquisition means corresponding to the mapping formula or a mapping formula acquired by the modified tent mapping optimum formula acquisition means, wherein calculation is performed using the modified logistic map formula or the modified tent mapping formula obtained by the optimum mapping formula comparison result acquisition means.
[0014] The decompression processing device according to the present invention is characterized in comprising: a modified logistic map equation generation means for dividing a data range into two intervals based on an occurrence probability value P used in a compression process, and generating an equation of a modified logistic map consisting of a first quadratic function ranging from 0 to less than the occurrence probability value P, and a second quadratic function equal to or greater than the occurrence probability value P; a modified logistic map decompression processing means for performing an iterative calculation, in which a one-unit data acquisition calculation is performed by performing an operation using the modified logistic map equation on a compressed code to obtain a value corresponding to one unit of data of a decompression code, and a one-unit data acquisition calculation is performed by using the obtained value in an operation using the modified logistic map equation to obtain the next one unit of data, until a predetermined number of times; and a modified logistic map decompression code generation means for converting a value obtained for each one-unit data acquisition calculation by the modified logistic map decompression processing means into one unit of data of a decompression code based on a coefficient of the modified logistic map equation.
[0015] The decompression processing device according to the present invention is characterized by comprising a means for extracting P included in the compressed code and sending it to the modified logistic map formula generating means.
[0016] The compression processing program of the present invention is characterized in that it causes a computer that realizes data compression processing to function as: modified logistic map formula generation means that divides a horizontal axis section from 0 to 1 into two sections based on an occurrence probability value P of the code that constitutes the decompressed code data before compression processing, and generates a modified logistic map formula composed of a first quadratic function from 0 to less than the occurrence probability value P and a second quadratic function equal to or greater than the occurrence probability value P; modified logistic map compression processing means that iteratively performs an operation to calculate an upper limit and a lower limit of the compressed value for each unit data of the decompressed code to obtain the range of the compressed values; and modified logistic map compression code generation means that generates a compressed code from the range of compressed values finally determined by the modified logistic map compression processing means.
[0017] In the compression processing program according to the present invention, when the computer, as the modified logistic map compression processing means, calculates the upper limit and the lower limit of the compression value for each unit data, the computer calculates a quadratic equation aX 2 Formula for finding the solution to +bX+c=0
number
[0018] In the compression processing program of the present invention, the computer functions as the modified logistic map formula generation means to prepare a plurality of the occurrence probability values P and generate a plurality of modified logistic map formulas based on the plurality of the occurrence probability values P, the computer further functions as modified logistic map initial value calculation means for calculating an upper limit and a lower limit of a compression value for a first unit data of the decompression code using the plurality of modified logistic map formulas generated by the modified logistic map formula generation means to obtain initial values, and modified logistic map optimal formula acquisition means for comparing the numbers of bits of initial values corresponding to the modified logistic map formulas obtained by the modified logistic map initial value calculation means to obtain the modified logistic map formula that results in the initial value with the smallest number of bits, and the computer functions as the modified logistic map compression processing means to perform calculation using the modified logistic map formula obtained by the modified logistic map optimal formula acquisition means.
[0019] In the compression processing program of the present invention, the computer functions as a code conversion means that converts decompressed code data into a Gray code, divides the decompressed code data represented by the converted Gray code into a plurality of ranges according to size, and performs code conversion to change decompressed code data at the ends of the ranges to decompressed code data in the middle of the ranges, and the computer functions as the modified logistic map formula generation means, the modified logistic map compression processing means, the initial value processing means, and the optimal formula acquisition means to perform processing using the code changed by the code conversion means.
[0020] The compression processing program according to the present invention includes a computer for implementing data compression processing, which divides a horizontal axis section from 0 to 1 into two sections based on an occurrence probability value P of a code constituting uncompressed decompressed code data to be compressed, and generates a modified logistic map formula consisting of a first quadratic function from 0 to less than the occurrence probability value P and a second quadratic function equal to or greater than the occurrence probability value P; a modified logistic map formula generating means for repeatedly calculating an upper limit and a lower limit of a compressed value for each unit data of the decompressed code to obtain a range of the compressed value; and a modified logistic map compression code generating means for generating a compressed code from the range of compressed values finally obtained by the modified logistic map compression processing means, thereby realizing a modified logistic side processing section. The computer further divides the horizontal axis section from 0 to 1 into two sections based on the occurrence probability value P of the code constituting the decompressed code data before compression, and generates an equation for a modified tent map composed of a first linear function from 0 to less than the occurrence probability value P and a second linear function equal to or greater than the occurrence probability value P. and a modified tent map compression processing means for repeatedly calculating an upper limit and a lower limit of a compressed value for each unit data of the decompression code to obtain a range of the compressed values, and a modified tent map compressed code generation means for generating a compressed code from the range of compressed values finally obtained by the modified tent map compression processing means, thereby realizing a modified tent side processing unit. The computer causes the modified logistic map generation means to function as a modified tent side processing unit by using a plurality of the occurrence probability values P and generating a plurality of modified logistic map expressions based on the plurality of occurrence probability values P. the computer causes the modified tent mapping formula generation means to function to generate a plurality of modified tent mapping formulas based on the plurality of occurrence probability values P prepared by using the plurality of occurrence probability values P; and the computer causes the modified logistic side processing unit to include a modified logistic map initial value calculation means for calculating an upper limit and a lower limit of a compressed value for a first unit data of the decompression code by using the plurality of modified logistic map formulas generated by the modified logistic map formula generation means to obtain initial values;and a modified logistic map optimal equation acquisition means for comparing the numbers of bits of initial values corresponding to the equations of the modified logistic map obtained by the modified logistic map initial value calculation means, and obtaining the equation of the modified logistic map which results in the smallest number of bits of the initial value, and the computer is caused to function so as to include, in the modified tent side processing unit, a modified tent map initial value calculation means for calculating an upper limit and a lower limit of a compressed value for a first unit data of the decompression code, using a plurality of modified tent map equations generated by the modified tent map equation generation means, to obtain an initial value, and a modified tent map optimal equation acquisition means for comparing the numbers of bits of initial values corresponding to the equations of the modified tent map obtained by the modified tent map initial value calculation means, and obtaining the equation of the modified tent map which results in the smallest number of bits of the initial value, and the computer functions as an optimum mapping equation comparison result acquisition means which compares an initial value having the smallest number of bits among the initial value bits corresponding to the modified logistic map equation obtained by the modified logistic map initial value calculation means with an initial value having the smallest number of bits among the initial value bits corresponding to the modified tent map equation obtained by the modified tent map initial value calculation means, obtains a mapping equation which has resulted in the smaller initial value as a result of the comparison, and obtains a mapping equation obtained by the modified logistic map optimum equation acquisition means or a mapping equation obtained by the modified tent map optimum equation acquisition means corresponding to the mapping equation, and the computer causes each means of the modified logistic side processing unit or each means of the modified tent side processing unit to function to perform calculation using the modified logistic map equation or the modified tent map equation obtained by the optimum mapping equation comparison result acquisition means.
[0021] The decompression processing program of the present invention causes a computer, which decompresses compressed data, to function as: modified logistic map equation generation means for dividing a computer, which decompresses compressed data, into two intervals based on an occurrence probability value P used in the compression processing, and generating an equation of a modified logistic map consisting of a first quadratic function from 0 to less than the occurrence probability value P, and a second quadratic function equal to or greater than the occurrence probability value P; modified logistic map decompression processing means for performing an iterative calculation of a one-unit data acquisition calculation, which is a calculation that obtains a value corresponding to one unit of data of a decompression code by performing an operation using the modified logistic map equation on a compressed code, and a one-unit data acquisition calculation that uses this obtained value in an operation using the modified logistic map equation to obtain the next one unit of data, until a predetermined number of times; and modified logistic map decompression code generation means for converting a value obtained for each one-unit data acquisition calculation by the modified logistic map decompression processing means into one unit of data of a decompression code based on a coefficient of the modified logistic map equation.
[0022] The decompression processing program according to the present invention is characterized in that it causes the computer to function as a means for extracting P included in the compressed code and sending it to the modified logistic map formula generating means. [Brief description of the drawings]
[0023] [Figure 1A] FIG. 1 is a configuration diagram of a compression processing device and a decompression processing device according to a first embodiment of the present invention. [Figure 1B] FIG. 11 is a configuration diagram of a compression processing device and a decompression processing device according to a second embodiment of the present invention. [Figure 1C] FIG. 11 is a configuration diagram of a compression processing device and a decompression processing device according to a third embodiment of the present invention. [Figure 1D] FIG. 11 is a configuration diagram of a compression processing device and a decompression processing device according to a fourth embodiment of the present invention. [Diagram 2] FIG. 13 is a diagram showing a logistic map. [Diagram 3] A graph showing the change in time series values due to the logistic map. [Figure 4] FIG. 13 is a diagram showing a tent map. [Diagram 5] A graph showing the change in time series values due to tent mapping. [Figure 6] FIG. 13 shows a tent map for P=0.75. [Figure 7] FIG. 13 is a diagram showing examples of the initial value X0 intervals of the tent map and the logistic map, and the notation of the Gray code and binary code generated corresponding to each interval. [Figure 8] FIG. 13 is a flowchart showing a process for performing compression according to equation (4) of the tent map. [Figure 9] FIG. 13 is a diagram showing the transition of determining the initial value X0 interval when compressing the tent mapping formula by going back through it. [Figure 10] FIG. 13 is a flowchart showing a process for performing decompression according to the tent mapping formula. [Figure 11] A diagram showing the process of expanding the compressed code (0.1011)2 according to the tent mapping equation (3). [Figure 12] A diagram showing the transition of determining the initial value X0 interval when compressing by going back through the formula for the logistic map with P=0.5. [Figure 13] A diagram showing a modified logistic map that is similar to the modified tent map when P=0.75. [Figure 14] A diagram showing the right half of the P=1 / 4 logistic map moved by plus 1 / 2 along the X-axis. [Figure 15] A diagram showing modified logistic maps for P=1 / 8, 2 / 8, 3 / 8, 4 / 8, 5 / 8, 6 / 8, and 7 / 8. [Figure 16] 4 is a flowchart showing the operation of the compression processing device according to the first embodiment of the present invention. [Figure 17] FIG. 13 is a diagram showing an example of compression processing for tracing back the modified logistic map when P=0.75. [Figure 18] 4 is a flowchart showing the operation of the decompression processing device according to the first embodiment of the present invention. [Figure 19] FIG. 13 shows the results of compressing data with an occurrence probability value of P=0.75 using two methods, the modified tent map and the modified logistic map, to find the initial value X0. [Figure 20]This is a graph in which P is plotted on the horizontal axis, P is changed to obtain a deformed tent map, and each map is used to obtain an initial value X0 range, which is assigned to the vertical axis. [Figure 21] This is a graph in which P is plotted on the horizontal axis, P is changed to obtain a modified logistic map, and each map is used to obtain an initial value X0 range, which is assigned to the vertical axis. [Figure 22] 10 is a flowchart showing the operation of a compression processing device according to a second embodiment of the present invention. [Figure 23] A diagram showing the extension process using the modified logistic map with P=5 / 8(0.625) and initial value X0=0.75. [Figure 24] FIG. 13 shows the results of comparing the results of compressing P in the first embodiment as the probability of occurrence of "0" in 254 patterns excluding data with all 8 bits being "0" and all being "1" and compressing P by varying it in the second embodiment. [Diagram 25] FIG. 13 is a flowchart showing an example of processing related to code conversion (bit inversion) according to the third embodiment. [Figure 26] FIG. 13 is a diagram showing the contents of a compressed code obtained according to the third embodiment. [Figure 27] FIG. 13 shows a comparison result of the number of compressed code bits (vertical axis) of an initial value X0 compressed using a modified logistic map in which the count number of bit 0 is the occurrence probability value P (dotted line) and the number of compressed code bits (vertical axis) of an initial value X0 compressed using a modified logistic map in which P is varied (solid line). [Figure 28] 10 is a flowchart showing the operation of a decompression processing device according to a third embodiment of the present invention. [Figure 29] 10 is a flowchart of a process performed by a compression processing device according to a fourth embodiment of the present invention. [Diagram 30] A graph showing a comparison of the number of initial value X0 bits (vertical axis) after compression of 8-bit (horizontal axis) data using the modified logistic map and the modified tent map. [Diagram 31] 11 is a flowchart of a process performed by a decompression processing device according to a fourth embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0024] Hereinafter, a compression processing device, a decompression processing device, a compression processing program, and a decompression processing program according to the present invention will be described with reference to the accompanying drawings. In each drawing, the same components are given the same reference numerals and duplicated explanations are omitted. The embodiment of the present invention is a lossless compression device with a high compression ratio using a modified logistic map. Therefore, we will start by explaining the logistic map and the tent map.
[0025] <About the logistic map> The logistic map is defined by the following equation (1).
number
[0026] <About the tent map> The tent map is defined by the following equation (2):
number
number
[0027] Here, the effect of the lossless compression method by the compression processing device using the modified logistic map formula according to this embodiment will be considered. The aforementioned Patent Document 1 introduces a compression method that traces back the modified Bernoulli shift map, and describes that a compressed code equivalent to a conventional arithmetic code can be obtained. Since the slope coefficient of the modified Bernoulli shift map is linear, it is presumed that a compression rate equivalent to that obtained when compression processing is performed using a modified tent map, which also has a linear slope coefficient P, can be obtained.
[0028] On the other hand, Figure 11 in Patent Document 2, Chapter 23 is the same as Figure 7 in the present application. Figure 7 shows the intervals of the initial value X0 of the Gray code generated from the tent map and the logistic map, and comparing the intervals of the initial value X0, it can be seen that they are different. For this reason, when the logistic map is used as a compression function, a range of initial values X0 different from that of the tent map is obtained, and it is expected to achieve a high compression rate that cannot be obtained with arithmetic coding, depending on the data pattern to be compressed.
[0029] A compression method using modified tent mapping is explained. When the digital data to be compressed is represented as a binary number and the frequency of “0” and “1” is represented as the occurrence probability value P, the following equation (4) is used for compression going back through the modified tent map of equation (3).
number
[0030] A flowchart showing the process of compression according to equation (4) is shown in Fig. 8. As an example, Fig. 9 shows the transition when tracing back 4 bits of the bit pattern "0100" to find the initial value X0 range. In this case, since there are 3 bits with 0, P is set to 3 / 4, and the half-open range of the initial value X0 found using equation (4) with the lower limit X3=0 and upper limit X3=1 is given, and is [0.64453125, 0.75). This compression code is expressed in bit values in the interval [(0.10100101)2, (0.11)2], and the compression code has the smallest number of bits within this range, (0.1011)2, which is 0.6875 in decimal and becomes the initial value X0 of the compressed value.
[0031] A flowchart showing the decompression process is shown in FIG. 10. As a specific example of the decompression process, the process of decompressing the compressed code (0.1011)2 is shown in FIG. 11. As shown in FIG. 11, when an initial value X0 is set in the formula (3) and the mapping X i If the bit is less than 0.75, a bit "0" is output, and if it is 0.75 or more, a bit "1" is output, and the process ends after outputting four bits. In Fig. 11, the compressed code "0100" is output as the decompressed bits.
[0032] <Embodiment 1> Next, a first embodiment of the present invention will be described. Fig. 1A shows a configuration diagram of a compression processing device 100 and a decompression processing device 200 according to the first embodiment of the present invention. The compression processing device 100 includes a modified logistic map formula generation means 101, a modified logistic map compression processing means 110, and a modified logistic map compression code generation means 120. The decompression processing device 200 includes a modified logistic map formula generation means 201, a modified logistic map decompression processing means 210, and a modified logistic map decompression code generation means 220.
[0033] The compression processing device 100 and the decompression processing device 200 can be configured by different computers, or may be configured by a single computer. Reference numeral 300 denotes a storage unit for decompression code, which may be located inside the compression processing device 100 or the decompression processing device 200, or may be located in an external storage device or another computer. Reference numeral 400 denotes a storage unit for compressed code, which may be located inside the compression processing device 100 or the decompression processing device 200, or may be located in an external storage device or another computer.
[0034] The modified logistic map equation generating means 101 divides the horizontal axis interval from 0 to 1 into two intervals based on the occurrence probability value P of the code constituting the decompressed code data before compression processing, and generates an equation of the modified logistic map composed of a first quadratic function from 0 to less than the occurrence probability value P, and a second quadratic function equal to or greater than the occurrence probability value P.
[0035] The modified logistic map compression processing means 110 calculates the upper and lower limit values of the compressed value for each unit data of the decompression code, and repeats the calculation to obtain the range of the compressed value. Here, the compressed value is obtained by calculating an initial value corresponding to the compressed code and this value, and is a value represented as "Xi" below. The modified logistic map compression code generation means 120 generates a compressed code from the range of compressed values finally obtained by the modified logistic map compression processing means 110. When the decompression code is composed of the numerical values 1 and 0, one unit data of the decompression code refers to these 1 and 0. Also, when the decompression code is composed of alphabets such as abcd..., one unit data of the decompression code refers to one character such as a, b, c, d,.... Furthermore, when the decompression code is composed of a character string such as "Hello World!!\ " (generally, a data string) as one code, as will be described later, it refers to this character string such as "Hello World!!\ " (generally, a data string).
[0036] The modified logistic map formula generating means 201 divides the horizontal axis section from 0 to 1 into two sections according to the occurrence probability value P of the code constituting the decompressed code data before compression processing, and generates a formula of the modified logistic map composed of a first quadratic function from 0 to less than the occurrence probability value P, and a second quadratic function equal to or greater than the occurrence probability value P. Therefore, the modified logistic map formula generating means 201 may share the modified logistic map formula generating means 101.
[0037] The modified logistic map decompression processing means 210 performs an iterative calculation, which repeats a predetermined number of times, a one-unit data acquisition calculation that performs an operation using the modified logistic map equation on the compressed code to obtain a value corresponding to one unit data of the decompressed code, and a one-unit data acquisition calculation that uses the obtained value in an operation using the modified logistic map equation to obtain the next one unit data. The modified logistic map decompression code generation means 220 converts a value obtained for each one-unit data acquisition calculation by the modified logistic map decompression processing means into one unit data of the decompressed code based on the coefficients of the modified logistic map equation.
[0038] In this embodiment, the compression method is shown by assuming the logistic map of equation (1) as a modified logistic map. From the modified logistic map, X i < 0.5, get bit 0, 0.5 ≤ X i When , we obtain bit 1 and get a continuous bit string. We consider tracing back the bit string to find the range of the initial value X0. FIG. 12 shows an example of tracing back the logistic map when the bit string is "0010". First, since the last bit is “0”, it can be seen that X3 is always a value in the range “0≦X3<0.5”. Next, the equation “X3=4X2(1-X2)” is a quadratic equation “4X2 2 -4X2+X3=0" and applying the lower limit X3=0 results in X2=1 or X2=-1, but "X i>0”, so we can see that “X2=1”. If we apply the upper limit of X3 = 0.5, it becomes 4X2 2 -4X2+0.5=0" quadratic equation aX 2 The formula for the solution of +bX+c=0
number
[0039] Next, the equation “X2=4X1(1-X1)” is a quadratic equation “4X1 2 -4X1+X2=0" and similarly, the upper limit X2=1 from the previously calculated range of X2 is "4X1 2 From "-4X1+1=0", the solution to the quadratic equation is X1=0.5. The lower limit X2=0.853553390593 is “4X1 2 From the solution of the quadratic equation, "-4X1-0.853553390593=0", we obtain X1=0.308658283817 and X1=0.691341716183. Since the observed bit of X1 is 0, it is in the interval "0≦X1<0.5", and therefore it can be seen that X1=0.308658283817. As a result, we can see that the interval for X1 is calculated from "0.308658283817≦X1<0.5". Finally, “X1=4X0(1-X0)” is also “4X0 2 -4X0-0.5=0" and "4X0 2By finding the solution to the quadratic equation transformed into "-4X0-0.308658283817=0" and taking into account that bit 0 has been observed, the range for the initial value X0 can finally be narrowed down to "0.084265193849≦X0<0.146446609407". From the narrowed down range, the logistic map of formula (1) is given an initial value X0 and iterated, and X i This means that when is 0.5 or more, a bit “1” is obtained, and when it is less than 0.5, taking four consecutive bits of “0” always results in the bit string “0010”.
[0040] In this way, the modified logistic map compression processing means 110 calculates the upper and lower limits of the compression value for each unit data by using the quadratic equation aX 2 Formula for finding the solution to +bX+c=0
number
[0041] The results of finding 4 bits (16 patterns in total) using the procedure for finding the range of the initial value X0 of the logistic map from the observed bit string as described above are shown in the table "Initial value X0 range of the logistic map" in Figure 7 (the table shows the decimal point up to 6 digits). The example in Figure 12 is <4> This section is as follows. Figure 7 <1> ~ <16> Iteratively calculate the logistic map formula (1) from the interval of each initial value X0 of X i When is 0.5 or more, a bit "1" is obtained, and when it is less than 0.5, a bit string that conforms to the "Gray code" sequence is generated by taking four consecutive bits of "0".
[0042] The modified logistic map used in this embodiment will be defined. Equation (1) is a recurrence formula for a general logistic map with a control parameter of 4, and is a quadratic polynomial. In the above example, this is treated as a modified logistic map. In this embodiment, following the modified tent map of equation (3), a modified logistic map consisting of a quadratic polynomial with a variable parameter like P in equation (4) is defined. That is, the modified logistic map equation generating means 101 generates a modified logistic map equation as follows.
[0043] As an example, FIG. 13 shows a modified logistic map similar to the modified tent map in FIG. 6 when P=0.75. In Figure 13, P=3 / 4 or less is expressed by the following second-order polynomial (first quadratic function).
number
number
number
[0044] Here, in the equation where f(x)=0 when x=0 as in equation (1), the coefficient c=0, so the equation becomes the following quadratic equation.
number
number
number
number
number
number
number
number
[0045] Next, a method for obtaining a quadratic expression of equation (6) with P=3 / 4 or more will be described. Since the quadratic curve of equation (6) above P=3 / 4 in Figure 13 does not pass through the origin (0,0) of the XY axis, we consider finding coefficients a, b, and c of the quadratic equation of the quadratic curve obtained by shifting the quadratic curve by +1 / 2 in the X-axis direction when P=1 / 4 as shown in Figure 14.
[0046] When x = 1 / 4, f(1 / 4) = 1, so the following equation (13) holds.
number
number
number
number
number
number
[0047] As described above, the modified logistic map used in this embodiment can be defined as a quadratic polynomial consisting of two types with the probability value P of occurrence of the code constituting the decompressed code data before compression in which the horizontal axis section from 0 to 1 is compressed as a variable parameter, with this P as the boundary. The modified logistic map equation generating means 101 of this embodiment generates an equation of a modified logistic map composed of a first quadratic function from 0 to less than the occurrence probability value P, and a second quadratic function equal to or greater than the occurrence probability value P.
[0048] In this embodiment, a modified logistic map initial value calculation means is provided that calculates the initial value X0 of the modified logistic map using a formula for solving a quadratic equation, just as in the case of calculating the interval of the initial value X0 in the case of equation (1) shown in FIG. The compression processing device 100 of this embodiment realizes compression processing that traces back the modified logistic map by executing a program corresponding to the flowchart shown in Fig. 16. Fig. 17 shows an example in which an initial value X0 for a data pattern (data before compression) "0100" is obtained using equations (5) and (6) when P=3 / 4 in this flowchart.
[0049] First, the pre-compression data is read and the data volume N is acquired (S11). In this case, the pre-compression data is "0100", so N=4. Next, the number C of 0s in the N-bit data is counted (S12). In this case, C=3. Next, the initial value parameters are set (S13). Here, the occurrence probability value P of the initial value parameters is P=C / N=3 / 4, and i=(N-1)=3.
[0050] The logistic map equation is generated by the modified logistic map equation generating means 101 as follows. That is, when P is less than 3 / 4, coefficient a=-16 / 9, coefficient b=8 / 3, and coefficient c=0 are substituted into equation (7) to generate equation (5). When P is 3 / 4 or more, coefficient a=-16, coefficient b=24, and coefficient c=8 are substituted into equation (7) to generate equation (6).
[0051] Next, the first bit of the pre-compression data is extracted (S15), and a calculation is performed by tracing back the modified logistic map (S16). The result of finding the interval of the initial value X0 from the solution of the quadratic equation, which is the formula of the modified logistic map as described above, is a half-open interval (0.57838655, 0.75], shown to the eighth decimal point. On the other hand, the half-open interval of the initial value X0 tracing back the modified tent map of P=3 / 4 shown in FIG. 9 is (0.64453125, 0.75], which is different from the value found by tracing back the modified logistic map in FIG. 17 according to this embodiment. Note that these initial value X0 intervals will be described in the second embodiment described later, but the vertical double arrows in FIG. 20 indicate the intervals found by the modified tent map, and the vertical double arrows in FIG. 21 indicate the intervals found by the modified logistic map.
[0052] The width of the initial value X0 interval is "0.75-0.64453125=0.10546875" for the modified tent mapping, and "0.75-0.57838655=0.17161345" for the modified logistic mapping of this embodiment. It can be seen that the initial value X0 interval obtained by the modified logistic mapping of this embodiment is 62.7% larger than the initial value X0 interval obtained by the modified tent mapping.
[0053] Conventional arithmetic coding focuses on the fact that the range of the initial value X0 determined by the data occurrence probability value P increases or decreases, and since the larger the bias in the occurrence probability, the larger the initial value X0 range can be set, it is a lossless compression method that adopts the initial value X0 with the smallest number of bits within the range as the compression code. It has been shown that the compression method that traces back the Bernoulli shift map described in Patent Document 1 above has the same compression rate as arithmetic coding. Since the larger the initial value X0 interval, the smaller the number of bits of the initial value X0 that becomes the compressed code can be adopted, it is expected that the number of compressed bits can be reduced by finding the interval of the initial value X0 using the modified logistic map depending on the data pattern.
[0054] In the first step S16, after obtaining the initial value X0, it is detected that the number of times i of the backward calculation becomes 0 (S17). If it is NO, it returns to step S15, and steps S15 to S17 are repeated. If it is YES in step S17, the compression code is calculated from the finally obtained semi-open interval [lower limit X i , upper limit X i ) (S18), the compression code and the dictionary area are output (S19), and the process ends. In the dictionary area, the appearance probability value P of the code of the data before compression and the initial value X0 are stored.
[0055] The expansion processing device 200 of the present embodiment executes an expansion processing operation based on the modified logistic map shown in FIG. 18. That is, the compressed data is taken in, and the appearance probability value P and the initial value X0 are taken out from the dictionary area of the compressed data (S21). The formula of the modified logistic map is generated from the above P (S22), and the process of obtaining the compression code at that time by the operation of the modified logistic map is performed, and the number of processing times i is incremented by one step (S23). Next, when X i <P, 1 bit of the expansion code is output as 0, and when X i ≧P, 1 bit of the expansion code is output as 1 (S24). Next, it is detected whether the number of processing times i has become N (the number of bits after expansion) (S25). If it is NO, it returns to step S23 to continue the process. If it branches to YES in step S25, the process ends. That is, in the process of steps S23 to S25, when "X i <P", the bit "0" is output, and when "P≦X i ", the bit "1" is continuously output, and the expansion process ends by outputting N bits of the data amount after expansion.
[0056] As a specific example, data with a data capacity to be compressed of 8 bits and an appearance probability value P = 0.75 is processed in two ways, the modified tent map in FIG. 8 and the modified logistic map in FIG. 16, and the initial value X0 is obtained. The range of the initial value X0 and the compression bit code for the compression process of the 8-bit data "01000010" are shown in FIG. 19. When the modified tent map is used, the initial value X0 interval is [0.690673828125, 0.701797485351562), and the compressed code is 7 bits of “1011001”. When the modified logistic map is used, the initial value X0 interval is [0.683767000917306, 0.702201771440963), and the compressed code is 4 bits of “1011”. As a result, when the modified logistic map is used, it is possible to reduce the compressed code by 3 bits.
[0057] As another example, an example of compressing 8-bit data "01010101" with an occurrence probability value P = 0.5 is shown. The initial value X0 interval obtained by compression processing using the tent mapping is [0.3984375, 0.40234375], and the compressed code is 9 bits of "011110101", with an initial value X0 = 0.478515625. The initial value X0 interval obtained by compression processing using the same data using the modified logistic mapping is [0.343159129800554, 0.348997025340386], and the compressed code is 5 bits of "01011", with an initial value X0 = 0.34375. Comparing these, the modified logistic mapping results in a 4-bit reduction in the amount of data, resulting in a higher compression rate.
[0058] The formula for solving the quadratic equation uses √. In the case of the calculation going back to the modified logistic map in Figure 12, the decimal representation of the range of the initial value X0 is “0.084265193849≦X0<0.146446609407”. However, when expressed as √,
number
[0059] <Embodiment 2> Next, a second embodiment of the present invention will be described. Fig. 1B shows a configuration diagram of a compression processing device 100B and a decompression processing device 200B according to the second embodiment of the present invention. The compression processing device 100B includes a modified logistic map formula generation means 101B, a modified logistic map compression processing means 110, a modified logistic map compressed code generation means 120, a modified logistic map initial value calculation means 130, and a modified logistic map optimal formula acquisition means 140.
[0060] The modified logistic map formula generating means 101B of this embodiment prepares a plurality of occurrence probability values P, and generates a plurality of modified logistic map formulas based on the plurality of occurrence probability values P. The modified logistic map initial value calculating means 130 calculates upper and lower limit values of the compressed value for the first unit data of the decompression code, using the plurality of modified logistic map formulas generated by the modified logistic map formula generating means 101B, to obtain initial values.
[0061] The modified logistic map optimal equation acquisition means 140 compares the number of bits of the initial values corresponding to the modified logistic map equation obtained by the modified logistic map initial value calculation means 130 and obtains the modified logistic map equation which results in the initial value with the smallest number of bits. The modified logistic map compression processing means 110 of this embodiment performs calculations using the modified logistic map equation obtained by the modified logistic map optimal equation acquisition means 140.
[0062] The calculation performed by the modified logistic map compression processing means 110 of this embodiment is the same as that of the first embodiment, that is, the calculation of the upper limit and the lower limit of the compression value for each unit data of the decompression code to obtain the range of the compression value, and this calculation is repeated by the modified logistic map compression processing means 110. Also, the modified logistic map compression code generation means 120 has the same configuration as that of the first embodiment.
[0063] Figure 7 of Patent Document 1, which has already been mentioned, shows a graph in which 16 patterns of 4-bit data are assigned to the vertical axis with an initial value X0 interval calculated from the horizontal axis gradient P. Similarly to this graph, Figure 20 shows a graph in which P is assigned to the horizontal axis, P is changed to obtain a modified tent map, and initial value X0 intervals are obtained using each map, and these are assigned to the vertical axis. Figure 21 shows a graph in which P is assigned to the horizontal axis, P is changed to obtain a modified logistic map, and initial value X0 intervals are obtained using each map, and these are assigned to the vertical axis.
[0064] FIG. 20 shows a graph in which 16 sets of 4-bit Gray code strings shown in FIG. 7 are prepared, and the initial value X0 interval obtained by performing compression processing by tracing back the modified tent map is assigned to the vertical axis, and each P is assigned to the horizontal axis. For example, in FIG. <6> When the deformed tent mapping is performed according to the flow chart shown in FIG. 10 using the combination of P and the initial value X0 in the region, <6> The Gray code bit sequence (0111) is always obtained.
[0065] FIG. 21 shows a graph in which the initial value X0 interval obtained as a result of performing a retroactive calculation of the modified logistic map on 16 data sets of 4 bits in the flow chart of FIG. 16 is assigned to the vertical axis, and each P is assigned to the horizontal axis. <6> When the calculation is performed by the modified logistic map according to the flowchart shown in FIG. 18, using the combination of the slope P and the initial value X0 in the region, <6> The bit sequence (0111) is always obtained.
[0066] Next, we present the protocol that defines the dictionary area of compressed data and the file structure of compressed code. In this embodiment, the amount of data handled is 8 bits, and the first 3 bits are used as the dictionary area to store P. As shown in the modified logistic map in Figure 15, seven types of P are used: P = 1 / 8, 2 / 8, 3 / 8, 4 / 8, 5 / 8, 6 / 8, and 7 / 8.
[0067] For example, when compressing "11010010" as 8-bit data, the compression process is performed using the seven P values shown in FIG. 15 to calculate the initial value X0 range. The initial value X0 with the smallest number of bits among the seven values is adopted as the compression code. In this example, 5 / 8 (=0.625) is selected as P, and the bit value is "101". The compression code becomes 2 bits of "11", and the initial value X0=0.75. Therefore, by concatenating the 3-bit P value "101" in the dictionary area with the compression code "11", the compressed data becomes "10111". The 8 bits of the data before compression described above become 5 bits after compression, so the compression rate is 5 / 8=0.625.
[0068] In the compression method shown in the first embodiment, the occurrence probability value P of a bit of "1" or "0" in the data is 0.5, so the bit string is "100" 3 bits. When the initial value X0 section is obtained by modified logistic for the data "11010010" with P=0.5, the initial value X0 with the smallest number of bits is "0.671875", and the bit string is "101011" 6 bits. When concatenated, it becomes "100101011" 9 bits, and the compression ratio is 9 / 8=1.125, so the number of compressed bits is larger with P=0.5 than with P=0.625. Changing P to 5 / 8 (=0.625) is an example of a good compression ratio because it is 4 bits smaller in comparison.
[0069] In the second embodiment, the specifications of the compressed file for compressing 8 bits of data are such that 3 bits are reserved as a dictionary area for storing P, and the 4th bit and onwards store a bit code of the initial value X0. The capacity of the data to be compressed is handled as a power of 2, such as 8 bits → 16 bits → 32 bits → ...
[0070] The amount of information for P is 3 bits → 4 bits → 5 bits → ..., so the amount of information for P is E bits, and the uncompressed data is 2 E When expanding, the number of bits of compressed data is determined in advance, and the number of mappings is set to “2 E -1” to restore the decompressed code.
[0071] Other specifications are as follows. These are for cases where the data to be compressed is all "0" and cases where it is all "1". For example, when the data capacity is 8 bits, since P is defined as having 7 values as above, the 3 bits in the area that stores P will not be used as "000". For this reason, the header part of the compression will be "000", and the initial value X0 from the 4th bit onwards will store "0" when the data is all "0", and store 1 bit of "1" when the data is all "1".
[0072] 22 shows a flowchart of the process performed by the compression processing device 100B. This flowchart includes the operation of the compression process performed by the modified logistic map optimal equation acquisition means 140, which changes P of the modified logistic map and searches for the initial value X0 with the smallest number of bits. As described above, the target is the case where the pre-compression data is data other than all "0" or "1". When all are "0" or "1", P is set to E bits of "0", and when the initial value X0 is all "0", one bit is set to "0", and when all are "1", one bit is set to "1", and a routine is provided separately to create a compressed file.
[0073] The process performed by the compression processor 100B will be described with reference to the flow chart of Fig. 22. First, the uncompressed data is read and the data volume N is taken in, and the number k of equations of the modified logistic map to be generated is set to 1, and 2 is set to the initial compression code C0. E+1 Then, the number of times the mapping is traced back is set to (N-1) (S31). Furthermore, the occurrence probability value P is set to k / 2 E (S32), and generate two quadratic polynomials that trace the modified logistic map back from P (S33).
[0074] Next, the first bit of the pre-compression data is extracted (S34), a calculation is performed by tracing back the modified logistic map, i is incremented by one (S35), and it is detected whether i has become 0 (S36). If the result in step S36 is NO, steps S34 to S36 are repeated. If the result in step S36 is YES, the compression code (initial value X0) is output from the half-open interval [lower limit X0, upper limit X0), and the number of compressed bits is set to C k (S37), k is incremented by one (S38), and it is detected whether the calculation has been performed until k reaches the final value E (S39). If NO in step S39, the process returns to step S32 to continue the process, and if YES in step S39, the process proceeds to step S40 to E The smallest number of compressed codes Ck among them is detected (S40), and a compressed code is obtained based on the pre-compression data using the modified logistic map equation which resulted in this number of compressed codes Ck. A compressed code which stores data indicating the required data used in the dictionary area together with the actual compressed code is output (S40A).
[0075] Next, the decompression processing device 200B will be described. The decompression processing device 200B includes a modified logistic map formula generating means 201, a modified logistic map decompression processing means 210, and a modified logistic map decompression code generating means 220, similar to the decompression processing device 200 of the first embodiment. The decompression processing device 200B operates according to the flowchart shown in Fig. 18, which has already been described. Here, an example of decompression processing will be described in which the compressed data obtained by compressing the pre-compression data "11010010" is "10111".
[0076] The first three bits of the compressed code are set to P. The fourth bit onwards is set to the initial value X0. Here, since the bit code of P is "101", P = 5 / 8 (= 0.625) is set. The initial value X0 becomes the two bits of "11", so the initial value X0 = 0.75 is selected.
[0077] Since P=5 / 8, the following two equations (18) are generated as the modified logistic map, similarly to the first embodiment.
[0078]
number
[0079] In order to see the effect of compression with varying P, an experiment was carried out in which data volume to be compressed was compressed with 254 patterns excluding two patterns, "00000000" where all data is 0 and "11111111" where all data is 1, with the data volume being 8 bits, and the average data volume after compression was obtained. The graph in Fig. 24 shows the results of a comparison between compression with P as the occurrence probability of "0" in the first embodiment and compression with P varying in the second embodiment, with 254 patterns excluding data with all 8 bits being "0" and all 8 bits being "1". In Fig. 24, the horizontal axis indicates 8-bit data from 0 to 255, and the vertical axis indicates the number of bits of the initial value X0 after each 8-bit data is compressed.
[0080] Data with all bit values of "0" becomes "0" shown in the "speech bubble" in Fig. 24, and as described above, the compressed code is "0" and becomes 1 bit. Data with all bit values of "1" becomes "170" shown in the "speech bubble" in Fig. 24, and as described above, the compressed code is "1" and becomes 1 bit. The solid line shows the results when P is varied, and the dotted line shows the results when P shown in embodiment 1 is set to the occurrence probability of "0". Overall, it can be seen that varying P tends to result in fewer bits after compression, resulting in a higher compression rate.
[0081] The average number of bits after compression is examined. In the method of the first embodiment shown by the dotted line in FIG. 24, the average compressed code of the initial value X0 is 6.65 bits, and in the method of the second embodiment shown by the solid line in FIG. 24, which varies P, the average compressed code is 5.33 bits. In comparison, the present embodiment is 1.32 bits less on average, and it was confirmed that the compression rate is increased by varying P. The method of calculating the average value was "total number of compressed bits / 256" for the number of compressed bits on the vertical axis of each data on the horizontal axis in FIG. 24. Note that the number of bits of the average compressed code is calculated only for the capacity of the code of the initial value X0, excluding the 3 bits of the header part P. The average number of bits of the entire compressed file is the capacity plus 3 bits.
[0082] In the second embodiment, the amount of data to be compressed is 8 bits. P of the dictionary area is 3 bits, and the ratio is 3 / 8, which is a large ratio, occupying 37.5%. When the amount of data to be compressed is 16 bits, it is 4 / 16=0.25, and when it is 32 bits, it is 5 / 32=0.15625. As the amount of data to be compressed increases, the ratio of the dictionary area tends to decrease, and therefore it is estimated that the compression effect will be increased.
[0083] <Embodiment 3> Next, a third embodiment of the present invention will be described. In the second embodiment, a method was shown in which P was varied and an initial value X0 was obtained that had the smallest amount of information. However, when observing the initial value X0 range of the logistic map with P=0.5 shown in FIG. 7, <1> " and "1 <16> Since the initial value X0 section is smaller than the others in the section closer to "0", it is inferred that the bit amount of the initial value X0 becomes larger. This phenomenon can also be seen from the graph in FIG. <1> " and "1 <16> It was observed that the closer the area is to "0", the narrower the range of the initial value X0, and therefore the worse the compression rate is. It can also be seen from the experimental results in FIG. 24 that the closer the area is to 0 and 255, the larger the bit amount of the initial value X0 that becomes the compressed value tends to be.
[0084] Here, in Fig. 7 <1> ~ <4> The first two bits of the area are “00”. <13> ~ <16> Let's focus on the Gray code that results in "10" in the region. <1> ~ <4> If you invert the bits in the area <9> ~ <12> For example, <3> The bit value “0011” becomes “1100” when inverted. <9> The bit value is the same as that of <13> ~ <16> If you invert the bits in the area <5> ~ <8> Focusing on this point, we consider providing a one-bit code that determines whether or not to compress by bit inversion as the dictionary area of the compression code.
[0085] The first two bits of the data to be compressed are checked, and if they are "00" or "10", a one-bit inversion discrimination code in the dictionary area is set to "1" as described later, and the data is inverted before compression. By carrying out compression through this process, the initial value X0 code after compression is <5> ~ <12> Since the range of the initial value X0, which is the compression code, is selected, it is expected that the compression rate can be increased by expanding the space of the initial value X0.
[0086] 1C shows a configuration diagram of a compression processing device 100C and a decompression processing device 200C according to a third embodiment of the present invention. The compression processing device 100C includes a modified logistic map formula generation means 101B, a modified logistic map compression processing means 110, a modified logistic map compressed code generation means 120, a modified logistic map initial value calculation means 130, a modified logistic map optimal formula acquisition means 140, and a code conversion means 150.
[0087] The code conversion means 150 converts the decompressed code data into a Gray code, divides the decompressed code data represented by the converted Gray code into a plurality of ranges according to size, and performs code conversion to change the decompressed code data at the ends of the ranges to decompressed code data at the center of the ranges. The modified logistic map formula generation means 101B, the modified logistic map compression processing means 110, the modified logistic map compressed code generation means 120, the modified logistic map initial value calculation means 130, and the modified logistic map optimal formula acquisition means 140 perform processing using the code changed by the code conversion means 150.
[0088] FIG. 25 shows a flowchart of a process example related to the code conversion (bit inversion) by the code conversion means 150 of the third embodiment. E The first bit of the pre-compression data (bits) is extracted (S41) and it is detected whether the first bit of the pre-compression data is "00" or "10" (S42). If the pre-compression data is binary code, it is converted into gray code. If the first bit is "00" or "10", the pre-compression data is inverted between 1 and 0. If inversion has been performed, "INV=1" is set, and if not, "INV=0" is set in the dictionary area of the compressed code (S43, S44).
[0089] As described above, the compression process after the code conversion process is performed is performed as shown in the flowchart in Fig. 22, similar to the second embodiment. That is, P is varied and the same process as in the second embodiment is performed, and after compression, 1 bit of the INV value is placed at the beginning as shown in Fig. 26, and the second bit and onwards constitute a dictionary area that stores E bits of P values. The "E+2" bit and onwards stores the initial value X0 as the compressed code, forming a compressed file (compressed code).
[0090] The invention of the third embodiment, which judges whether or not to perform bit inversion on pre-compression data by referring to the first two bits, was applied to pre-compression data with a bit amount of 8 bits, and an experiment was conducted to obtain the average value of the compressed code. In this experiment, compression was performed by the modified logistic map while varying P for 254 patterns, excluding two patterns, namely, an example of a pattern in which all bits are "0" such as "00000000", and an example of a pattern in which all bits are "1" such as "11111111", to obtain the average value of the compressed code. The results of the above experiment are shown in the graph of FIG. 27. The horizontal axis of the graph indicates 8-bit data from 0 to 255, and the vertical axis indicates the bit amount of the initial value X0 after each 8-bit data is compressed.
[0091] In FIG. 27, the result of performing the inversion process is shown by a solid line, and the result of not performing the inversion process but only varying P as in the solid line of FIG. 24 is shown by a dashed line. When the bit values are all "0", it becomes the "0" part shown in the balloon of FIG. 27, and the compressed code becomes "0" as described above as 1 bit. When the bit values are all "1", it becomes the "170" part shown in the balloon of FIG. 27, and the compressed code becomes "1" as described above as 1 bit. Also, as shown in FIG. 27, the compressed code is the same between "64 and 191" because the inversion process is not performed. It can be seen that the compressed code amount is smaller between 0 and 63 and between 192 and 255, where the inversion process is performed, than when the inversion process is not performed, and it can be seen that the compression is effective.
[0092] As a result of the above experiment, the average value of the initial value X0 data amount after compression was 4.76 bits when inversion processing was performed, and was 5.33 bits on average in the example where only the compression method by the logistic map that varies P as in the second embodiment was adopted. It was found that the inversion processing resulted in a reduction effect of 0.57 bits. Compared to the second embodiment, since 1 bit of information was added to the dictionary area, the average value became 5.76 bits, which was a result larger than the variation of P, but in the third embodiment, the amount of information to be compressed is small at 8 bits, so the proportion of 1 bit as the dictionary area is large. As mentioned above, since the amount of information of the data to be compressed increases, the proportion of the dictionary area decreases, so it is expected that the addition of 1 bit will produce a compression effect.
[0093] Next, the decompression processing device 200C will be described. The decompression processing device 200C includes a modified logistic map formula generating means 201, a modified logistic map decompression processing means 210, and a modified logistic map decompression code generating means 220, similar to the decompression processing device 200B of the second embodiment. The decompression processing device 200C operates according to the flowchart shown in FIG.
[0094] The operation of the decompression process will be described with reference to the flowchart shown in Fig. 28. First, the compressed data is extracted, and the inversion code data INV at the first bit from the beginning of this compressed data is extracted, along with the following P and the next initial value X0 (S51). Next, an equation for the modified logistic map corresponding to P is generated (S52), and decompression processing for N bits is performed based on the initial value X0 (S53). Here, N indicates the number of bits of data after decompression.
[0095] When the actual decompression process is completed as described above, INV is extracted from the dictionary area at the beginning of the compressed data, and it is detected whether INV is "1" (S54). If the result is YES in step S54, the bit of the decompressed data is inverted (S55). When this step S55 is completed, or if the result is NO in step S54, the decompressed data is output (S56), and the process ends. During the above decompression process, when the first bit is "0" according to the data format of the compressed file shown in Fig. 26, E bits are extracted from the second bit, and the "3+E"th bit and after are set as the initial value X0, and decompression is performed by carrying out the process corresponding to the flowchart shown in Fig. 18. When the first bit is 1, E bits of P are extracted from the second bit, and the "3+E"th bit and after are set as the initial value X0, and after decompression is performed by carrying out the process corresponding to the flowchart shown in Fig. 18, inversion processing is performed on the decompressed data.
[0096] <Embodiment 4> Next, a fourth embodiment of the present invention will be described. In this fourth embodiment, a compression ratio is increased by selecting a compression algorithm, either a modified logistic map or a modified tent map. FIG. 1D shows a configuration diagram of a compression processing device 100D and a decompression processing device 200D according to the fourth embodiment of the present invention. The compression processing device 100D according to the fourth embodiment includes a modified logistic side processing unit 500, a modified tent side processing unit 600, and an optimal mapping formula comparison result acquisition unit 700.
[0097] The modified logistic map processing section 500 includes a modified logistic map formula generating means 101D, a modified logistic map compression processing means 110, a modified logistic map compressed code generating means 120, a modified logistic map initial value calculating means 130, and a modified logistic map optimal formula acquiring means 140.
[0098] The modified logistic map formula generating means 101D divides the horizontal axis section from 0 to 1 into two sections according to the occurrence probability value P of the code constituting the decompressed code data before compression processing, and generates a formula of the modified logistic map composed of a first quadratic function from 0 to less than the occurrence probability value P, and a second quadratic function equal to or greater than the occurrence probability value P. The modified logistic map compression processing means 110 iteratively performs a calculation to calculate the upper and lower limit values of the compressed value for each unit data of the decompressed code and obtain the range of the compressed value. The modified logistic map compressed code generating means 120 generates a compressed code from the range of the compressed value finally obtained by the modified logistic map compression processing means. The modified logistic map formula generating means 101D uses a plurality of the occurrence probability values P prepared, and generates a plurality of modified logistic map formulas based on the plurality of the occurrence probability values P.
[0099] The modified logistic map initial value calculation means 130 calculates the upper and lower limit values of the compressed value for the first unit data of the decompression code, using the multiple modified logistic map equations generated by the modified logistic map equation generation means 101D, to obtain initial values. The modified logistic map optimal equation acquisition means 140 compares the number of bits of the initial values corresponding to the modified logistic map equations obtained by the modified logistic map initial value calculation means 130, and obtains the modified logistic map equation that results in the initial value with the smallest number of bits.
[0100] The modified tent side processing unit 600 includes a modified tent mapping equation generating means 601 , a modified tent mapping compression processing means 610 , a modified tent mapping compressed code generating means 620 , a modified tent mapping initial value calculating means 630 , and a modified tent mapping optimal equation obtaining means 640 .
[0101] The modified tent mapping equation generating means 601 divides the horizontal axis section from 0 to 1 into two sections based on the occurrence probability value P of the code constituting the decompressed code data before compression processing, and generates a modified tent mapping equation consisting of a first linear function from 0 to less than the occurrence probability value P, and a second linear function equal to or greater than the occurrence probability value P. The modified tent mapping compression processing means 610 iteratively calculates the upper and lower limit values of the compressed value for each unit data of the decompressed code, and obtains the range of the compressed values. The modified tent mapping compressed code generating means 620 generates a compressed code from the range of compressed values finally determined by the modified tent mapping compression processing means.
[0102] The modified tent mapping initial value calculation means 630 calculates an upper limit and a lower limit of the compressed value for the first unit data of the decompression code to obtain an initial value, using a plurality of modified tent mapping equations generated by the modified tent mapping equation generation means 601. The modified tent mapping optimal equation acquisition means 640 compares the number of bits of the initial value corresponding to the modified tent mapping equations obtained by the modified tent mapping initial value calculation means 630, and obtains the modified tent mapping equation which results in the initial value with the smallest number of bits.
[0103] The optimal mapping formula comparison result acquisition means 700 does not belong to either the modified logistic side processing unit 500 or the modified tent side processing unit 600. However, the optimal mapping formula comparison result acquisition means 700 uses the calculation result by the modified logistic mapping initial value calculation means 130 of the modified logistic side processing unit 500 and the calculation result by the modified tent mapping initial value calculation means 630 of the modified tent side processing unit 600. That is, the optimal mapping formula comparison result acquisition means 700 compares the initial value having the smallest number of bits among the initial value number of bits corresponding to the modified logistic map formula obtained by the modified logistic map initial value calculation means 130 with the initial value having the smallest number of bits among the initial value number of bits corresponding to the modified tent map formula obtained by the modified tent map initial value calculation means 630, determines the mapping formula that resulted in the smaller initial value in the comparison result, and determines the mapping formula obtained by the modified logistic map optimal formula acquisition means 140 or the modified tent map optimal formula acquisition means 640 that corresponds to the mapping formula.
[0104] The compression processor 100D according to the fourth embodiment of the present invention performs calculations using the modified logistic map equation or the modified tent map equation found by the optimum mapping equation comparison result acquisition means 700.
[0105] Fig. 29 shows a flow chart of the process performed by the compression processing device 100D according to the fourth embodiment of the present invention, and the procedure of the process will be described. First, the uncompressed bits are extracted, P is varied to generate an equation for a modified tent map, and compression processing is performed using this equation to find the initial value TX0 that results in the smallest amount of data and the value TP of P at that time (S61). Next, P is varied to generate an equation for a modified logistic map, and compression processing is performed using the uncompressed bits using this equation to find the initial value LX0 that results in the smallest amount of data and the value LP of P at that time (S62). Of course, either step S61 or step S62 may be performed first.
[0106] After steps S61 and S62 are completed, the data amount of TX0 is compared with the data amount of LX0 (S63). If the comparison result shows that the data amount of TX0 is less than that of LX0, the selection information of the modified tent map and the compressed code up to the initial value are output (S64), and if the data amount of LX0 is less than that of TX0, the selection information of the modified logistic map and the compressed code up to the initial value are output (S65). The output of either the selection information of the modified tent map or the selection information of the modified logistic map is written in the first bit of the dictionary area by "0" or "1". After step S64 or step S65, the remaining uncompressed bits are compressed using the selection information of the modified tent map and the selected mapping of the modified logistic map, and output (S66).
[0107] An experiment was conducted in which the bit capacity of the pre-compression bits was 8 bits, and 254 types of data excluding "00000000" and "11111111" were compressed according to the fourth embodiment to obtain the average value of the number of compressed bits of the initial value X0. Compression according to the fourth embodiment is compression using a modified tent map or modified logistic map that varies P. FIG. 30 shows a graph of the results. The horizontal axis represents 8-bit data from 0 to 255, and the vertical axis represents the amount of bits of the initial value X0 after each 8-bit data is compressed. The solid line represents the compression result using a modified logistic map that varies P, and the dotted line represents the compression result using a modified tent map that varies P.
[0108] In the compression method using the modified logistic map that varies P, which corresponds to the solid line in Figure 30, the initial value X0 was 5.33 bits on average. In the compression method using the modified tent map that varies P, which corresponds to the dotted line, the initial value X0 was 5.73 bits on average. Comparing these, the result was that the method using the modified logistic map was 0.4 bits smaller.
[0109] It is also possible to compare the two compressed bit numbers on the vertical axis of the graph in Fig. 30 by using a program that makes the modified logistic map and modified tent map of the fourth embodiment compete with each other, and adopt the program that results in the smaller bit number. With this method, the bit length of the compressed code of the initial value X0 is 4.63 bits on average. With the inversion processing method of the third embodiment, the average is 4.76 bits. Therefore, the fourth embodiment is 0.13 bits smaller than the third embodiment.
[0110] Next, the decompression processing device 200D will be described. The decompression processing device 200D is provided with a mapping formula determination unit 280, a modified logistic side decompression unit 800A, and a modified tent side decompression unit 800B. The mapping formula determination unit 280 refers to the first bit of the dictionary area to determine whether to use a modified logistic mapping or a modified tent mapping, and further specifies P using E bits from the second bit onwards, specifies the mapping formula used in the compression process, and sends it to the modified logistic side decompression unit 800A or the modified tent side decompression unit 800B. That is, when the first bit of the dictionary area indicates a modified logistic mapping, it is sent to the modified logistic side decompression unit 800A, and when the first bit of the dictionary area indicates a modified tent mapping, it is sent to the modified tent side decompression unit 800B.
[0111] The only difference between the modified logistic side decompression unit 800A and the modified tent side decompression unit 800B is whether the processing is performed based on the modified logistic map equation or the modified tent map equation. The modified logistic side decompression unit 800A is provided with a modified logistic map equation generation means 201, a modified logistic map decompression processing means 210, and a modified logistic map decompression code generation means 220, as with the decompression processing device 200B of the second embodiment. The modified tent side decompression unit 800B is provided with a modified tent map equation generation means 801 whose processing mapping equation is different from that of the modified tent map equation generation means 201, a modified tent map decompression processing means 810 whose processing mapping equation is different from that of the modified logistic map decompression processing means 210, and a modified tent map decompression code generation means 820 whose processing mapping equation is different from that of the modified logistic map decompression code generation means 220.
[0112] The decompression processor 200D operates according to the flowchart shown in Fig. 31. The operation will be described based on this flowchart. In the decompression process, the first bit of the compressed file is referenced to determine whether to use the modified logistic map or the modified tent map. P is set in E bits from the second bit onwards, and an initial value X0 is set from the "2+E"th bit onwards. The compressed data is then extracted, and the first bit is discriminated while P and the initial value X0 are extracted (S71). Then, it is detected whether the first bit is "1" (S72).
[0113] If the answer is YES in step S72, an equation for a modified logistic map corresponding to P is generated (S73), and an initial value X0 is set and decompression processing for the number of bits N of the decompressed data is performed using the equation for the modified logistic map (S74). On the other hand, if the answer is NO in step S72, an equation for a modified tent map corresponding to P is generated (S75), and an initial value X0 is set and decompression processing for the number of bits N of the decompressed data is performed using the equation for the modified tent map (S76). Following steps S74 and S76, the decompressed pre-compression data for N bits is output (S77).
[0114] To briefly summarize the above, when the first bit of the compressed data is "0", P is set to the modified tent map of equation (3). An initial value X0 is set and decompression processing is performed. Also, when the first bit of the compressed data is "1", a modified logistic map equation is generated from P. An initial value X0 is set and decompression processing is performed. This fourth embodiment relieves the case where, depending on the data pattern to be compressed, the compression rate using the modified tent map becomes larger than the compression rate when the modified logistic map equation is used.
[0115] As described above, according to each embodiment of the present invention, since the modified logistic map is nonlinear and the range of the initial value X0 that becomes the compressed value is different from that of conventional arithmetic coding, it can be said that the compression rate can be increased by the data pattern. Also, by adopting a mechanism for varying the control parameter P of the modified logistic map, a higher compression rate can be achieved. In coding compression, data with information entropy close to 1 cannot be compressed to a value lower than the original data amount, but each embodiment of the present invention is an arithmetic formula, so a compression effect can be expected. [Explanation of symbols]
[0116] 100, 100B, 100C, 100D Compression processing device 101, 101B, 101D Modified logistic map formula generating means 110 Modified logistic map compression processing means 120 Modified logistic map compressed code generator 130 Modified logistic map initial value calculation means 140 Method for obtaining optimal equation for modified logistic map 150 Code conversion method 200, 200B, 200C, 200D Decompression processing device 201 Modified logistic map formula generating means 210 Modified logistic map extension processing means 220 Modified logistic map decompression code generation means 280 Mapping Formula Determination Unit 300 Storage area for extension cord 400 Compressed code storage 500 Transformed Logistics Side Processing Unit 600 Deformed tent side processing section 601 Deformed tent mapping generation means 610 Transformed tent mapping compression processing means 620 Transformed Tent Mapping Compressed Code Generator 630 Deformed tent mapping initial value calculation means 640 Means for obtaining optimal equation for deformation tent mapping 700 Means for obtaining optimal mapping formula comparison results 800A modified logistic side extension 800B Deformed tent side extension 801 Deformed tent mapping generator 810 Deformed tent map extension processing means 820 Modified tent mapping decompression code generator
Claims
1. a modified logistic map formula generating means for dividing a horizontal axis section from 0 to 1 into two sections based on an occurrence probability value P of a code constituting the decompressed code data before compression processing, and generating a formula of a modified logistic map composed of a first quadratic function from 0 to less than the occurrence probability value P and a second quadratic function equal to or greater than the occurrence probability value P; a modified logistic map compression processing means for repeatedly calculating an upper limit and a lower limit of a compression value for each unit data of the decompression code to obtain a range of the compression value; a modified logistic map compressed code generating means for generating a compressed code from the range of compressed values finally obtained by the modified logistic map compression processing means; A compression processing device comprising:
2. The modified logistic map compression processing means calculates the upper limit and the lower limit of the compression value for each unit data by using a quadratic equation aX 2 Formula to find the solution of +bX+c=0 [0010] 2. The compression processing apparatus according to claim 1, wherein a solution is obtained using the above formula and the calculation is performed using the solution.
3. the modified logistic map formula generating means prepares a plurality of occurrence probability values P, and generates a plurality of modified logistic map formulas based on the plurality of occurrence probability values P; a modified logistic map initial value calculation means for calculating an upper limit and a lower limit of a compression value for a first unit data of the decompression code by using a plurality of modified logistic map equations generated by the modified logistic map equation generation means, thereby obtaining initial values; a modified logistic map optimal equation acquisition means for comparing the numbers of bits of initial values corresponding to the equations of the modified logistic map obtained by the modified logistic map initial value calculation means and obtaining the equation of the modified logistic map which has resulted in an initial value with the smallest number of bits; having 2. The compression processing device according to claim 1, wherein the modified logistic map compression processing means performs calculations using the equation of the modified logistic map obtained by the modified logistic map optimum equation acquisition means.
4. a code conversion means for converting the expanded code data into a gray code, dividing the expanded code data represented by the converted gray code into a plurality of ranges according to size, and changing the expanded code data at the ends of the ranges into expanded code data at the center of the ranges; 4. The compression processing device according to claim 3, wherein the modified logistic map formula generating means, the modified logistic map compression processing means, the initial value processing means, and the optimum formula obtaining means perform processing using the code changed by the code conversion means.
5. a modified logistic map formula generating means for dividing a horizontal axis section from 0 to 1 into two sections based on an occurrence probability value P of a code constituting the decompressed code data before compression processing, and generating a formula of a modified logistic map composed of a first quadratic function from 0 to less than the occurrence probability value P and a second quadratic function equal to or greater than the occurrence probability value P; a modified logistic map compression processing means for repeatedly calculating an upper limit and a lower limit of a compression value for each unit data of the decompression code to obtain a range of the compression value; a modified logistic map compressed code generating means for generating a compressed code from the range of compressed values finally obtained by the modified logistic map compression processing means; A modified logistics side processing unit configured to include a modified tent mapping formula generating means for dividing a horizontal axis section from 0 to 1 into two sections based on an occurrence probability value P of a code constituting the decompressed code data before compression processing, and generating a modified tent mapping formula comprising a first linear function from 0 to less than the occurrence probability value P and a second linear function equal to or greater than the occurrence probability value P; a modified tent mapping compression processing means for repeatedly calculating an upper limit and a lower limit of a compression value for each unit data of the decompression code to obtain a range of the compression value; a modified tent map compressed code generating means for generating a compressed code from the range of compressed values finally determined by the modified tent map compression processing means; A deformed tent side processing section configured to include Equipped with the modified logistic map formula generating means uses a plurality of prepared occurrence probability values P to generate a plurality of modified logistic map formulas based on the plurality of occurrence probability values P; the modified tent mapping equation generating means uses a plurality of prepared occurrence probability values P to generate a plurality of modified tent mapping equations based on the plurality of occurrence probability values P; The modified logistics side processing section includes: a modified logistic map initial value calculation means for calculating an upper limit and a lower limit of a compression value for a first unit data of the decompression code by using a plurality of modified logistic map equations generated by the modified logistic map equation generation means, thereby obtaining initial values; a modified logistic map optimal equation acquisition means for comparing the numbers of bits of initial values corresponding to the equations of the modified logistic map obtained by the modified logistic map initial value calculation means and obtaining the equation of the modified logistic map which has resulted in an initial value with the smallest number of bits; is provided, The deformed tent side processing section includes: a modified tent mapping initial value calculation means for calculating an upper limit and a lower limit of a compressed value for a first unit data of the decompression code by using a plurality of modified tent mapping equations generated by the modified tent mapping equation generation means to obtain an initial value; a modified tent map optimal equation acquisition means for comparing the number of bits of initial values corresponding to the modified tent map equation obtained by the modified tent map initial value calculation means and determining the modified tent map equation that results in the smallest number of bits; is provided, an optimum mapping formula comparison result acquisition means for comparing an initial value having the smallest number of bits among the initial values corresponding to the modified logistic map formula obtained by said modified logistic map initial value calculation means with an initial value having the smallest number of bits among the initial values corresponding to the modified tent map formula obtained by said modified tent map initial value calculation means, to obtain a mapping formula which has brought about the smaller initial value as a result of the comparison, and for obtaining a modified logistic map optimum formula acquisition means corresponding to said mapping formula or a mapping formula acquired by the modified tent map optimum formula acquisition means, A compression processing device characterized in that a calculation is performed using the modified logistic map equation or the modified tent map equation obtained by said optimum mapping equation comparison result acquisition means.
6. a modified logistic map formula generating means for dividing the probability of occurrence P used in the compression process into two intervals and generating a formula of a modified logistic map including a first quadratic function from 0 to less than the probability of occurrence P and a second quadratic function equal to or greater than the probability of occurrence P; a modified logistic map decompression processing means for performing an iterative calculation, which repeats a one-unit data acquisition calculation, which is a calculation for obtaining a value corresponding to one unit data of a decompressed code by performing an operation using a modified logistic map formula on the compressed code, and a one-unit data acquisition calculation, which is a calculation for obtaining a next one unit data by using the obtained value in an operation using the modified logistic map formula, until a predetermined number of times; a modified logistic map decompression code generating means for converting a value obtained for each unit data acquisition calculation of the modified logistic map decompression processing means into one unit data of a decompression code based on a coefficient of the modified logistic map formula; 13. A decompression processing device comprising:
7. 7. The decompression processing device according to claim 6, further comprising means for extracting P contained in the compressed code and sending it to said modified logistic map formula generating means.
8. A computer that realizes data compression processing is a modified logistic map formula generating means for dividing a horizontal axis section from 0 to 1 into two sections based on an occurrence probability value P of a code constituting the decompressed code data before compression processing, and generating a formula of a modified logistic map constituted by a first quadratic function from 0 to less than the occurrence probability value P and a second quadratic function equal to or greater than the occurrence probability value P; a modified logistic map compression processing means for repeatedly calculating an upper limit and a lower limit of a compression value for each unit data of the decompression code to obtain a range of the compression value; a modified logistic map compressed code generating means for generating a compressed code from the range of compressed values finally determined by said modified logistic map compression processing means; A compression processing program characterized by causing the program to function as follows.
9. When the computer, as the modified logistic map compression processing means, calculates the upper limit and the lower limit of the compression value for each unit data, the quadratic equation aX 2 Formula to find the solution of +bX+c=0 [0025] 9. The compression processing program according to claim 8, further comprising: a function for obtaining a solution using the above formula (1) and performing calculations using the solution.
10. the computer functions as the modified logistic map formula generating means to prepare a plurality of occurrence probability values P and generate a plurality of modified logistic map formulas based on the plurality of occurrence probability values P; The computer further comprises: a modified logistic map initial value calculation means for calculating an upper limit value and a lower limit value of a compressed value for a first unit data of the decompression code by using a plurality of modified logistic map equations generated by the modified logistic map equation generation means, thereby obtaining initial values; a modified logistic map optimal equation acquisition means for comparing the numbers of bits of initial values corresponding to the equations of the modified logistic map obtained by the modified logistic map initial value calculation means and determining the equation of the modified logistic map which results in an initial value with the smallest number of bits; It functions as 9. The compression processing program according to claim 8, wherein the computer functions as the modified logistic map compression processing means to perform a calculation using the equation of the modified logistic map obtained by the modified logistic map optimal equation acquisition means.
11. The computer includes: a code conversion means for converting the expanded code data into a Gray code, dividing the expanded code data represented by the converted Gray code into a plurality of ranges according to size, and changing the expanded code data at the ends of the ranges into expanded code data at the center of the ranges; 11. The compression processing program according to claim 10, wherein the computer functions to perform processing using the code changed by the code conversion means as the modified logistic map equation generating means, the modified logistic map compression processing means, the initial value processing means, and the optimal equation obtaining means.
12. A computer that realizes data compression processing is a modified logistic map formula generating means for dividing a horizontal axis section from 0 to 1 into two sections based on an occurrence probability value P of a code constituting the decompressed code data before compression processing, and generating a formula of a modified logistic map constituted by a first quadratic function from 0 to less than the occurrence probability value P and a second quadratic function equal to or greater than the occurrence probability value P; a modified logistic map compression processing means for repeatedly calculating an upper limit and a lower limit of a compression value for each unit data of the decompression code to obtain a range of the compression value; a modified logistic map compressed code generating means for generating a compressed code from the range of compressed values finally determined by said modified logistic map compression processing means; to realize a modified logistics side processing unit; Furthermore, the computer a modified tent mapping formula generating means for dividing a horizontal axis section from 0 to 1 into two sections based on an occurrence probability value P of a code constituting the decompressed code data before compression processing, and generating a modified tent mapping formula comprising a first linear function from 0 to less than said occurrence probability value P and a second linear function equal to or greater than said occurrence probability value P; a modified tent mapping compression processing means for repeatedly calculating an upper limit and a lower limit of a compression value for each unit data of the decompression code to obtain a range of the compression value; a modified tent mapping compressed code generating means for generating a compressed code from the range of compressed values finally determined by said modified tent mapping compression processing means; and functioning as a deformation tent side processing part, the computer causes the modified logistic map formula generation means to function to generate a plurality of modified logistic map formulas based on the plurality of occurrence probability values P by using the plurality of occurrence probability values P; the computer causes the modified tent mapping equation generating means to function to generate a plurality of modified tent mapping equations based on the plurality of occurrence probability values P by using the plurality of occurrence probability values P; The computer causes the modified logistics side processing unit to a modified logistic map initial value calculation means for calculating an upper limit value and a lower limit value of a compressed value for a first unit data of the decompression code by using a plurality of modified logistic map equations generated by the modified logistic map equation generation means, thereby obtaining initial values; a modified logistic map optimal equation acquisition means for comparing the numbers of bits of initial values corresponding to the equations of the modified logistic map obtained by the modified logistic map initial value calculation means and determining the equation of the modified logistic map which results in an initial value with the smallest number of bits; and causing the device to function so as to include The computer causes the deformation tent side processing unit to a modified tent mapping initial value calculation means for calculating upper and lower limit values of a compressed value for a first unit data of the decompression code by using a plurality of modified tent mapping equations generated by the modified tent mapping equation generation means, thereby obtaining initial values; a modified tent map optimal equation acquisition means for comparing the number of bits of initial values corresponding to the modified tent map equation obtained by the modified tent map initial value calculation means and determining the modified tent map equation which results in the initial value with the smallest number of bits; and causing the device to function so as to include the computer functions as an optimum mapping formula comparison result acquisition means which compares an initial value having the smallest number of bits among the initial values corresponding to the modified logistic map formula obtained by the modified logistic map initial value calculation means with an initial value having the smallest number of bits among the initial values corresponding to the modified tent map formula obtained by the modified tent map initial value calculation means, to obtain a mapping formula which has brought about the smaller initial value as a result of the comparison, and which acquires a modified logistic map optimum formula acquisition means corresponding to the mapping formula or a mapping formula acquired by the modified tent map optimum formula acquisition means, The computer is a compression processing program characterized in that it causes each means of the modified logistic side processing unit or each means of the modified tent side processing unit to function to perform calculations using the modified logistic map equation or the modified tent map equation obtained by the optimal map equation comparison result acquisition means.
13. A computer that decompresses the compressed data. a modified logistic map formula generating means for dividing the probability of occurrence P used in the compression process into two intervals and generating a formula of a modified logistic map composed of a first quadratic function from 0 to less than the probability of occurrence P and a second quadratic function equal to or greater than the probability of occurrence P; a modified logistic map decompression processing means for performing an iterative calculation, which repeats a one-unit data acquisition calculation, which is a calculation for obtaining a value corresponding to one unit data of the decompressed code by performing an operation using a modified logistic map formula on the compressed code, and a one-unit data acquisition calculation, which is a calculation for obtaining a next one unit data by using the obtained value in an operation using the modified logistic map formula, until a predetermined number of times; a modified logistic map decompression code generating means for converting a value obtained for each unit data acquisition calculation of the modified logistic map decompression processing means into one unit data of a decompression code based on a coefficient of the modified logistic map formula; 23. A decompression processing program comprising:
14. 14. The decompression program according to claim 13, wherein the computer is caused to function as a means for extracting P included in a compressed code and sending it to the modified logistic map formula generating means.
Citation Information
Patent Citations
Compression method of natural picture data
JP2004129179A
Data encoder and data encoding communication device
JP2009033474A
Compression processing device, decompression processing device, compression processing program, and decompression processing program
JP2019047450A
Random number generator
JP2019168963A
