Image encryption method based on sum-preserving fuzzy algorithm and chaos
By combining the sum-preserving fuzzy algorithm and the chaotic system, the cascade key is generated and applied to image encryption, which solves the problem of insufficient protection of the area of interest in the existing technology and achieves higher encryption security and key randomness.
Patent Information
- Application Number
- CN202410699940.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-24
AI Technical Summary
Existing image encryption technology has insufficient protection effect when processing images containing areas of interest, and the key generation method is single, which cannot effectively protect the area of interest.
An image encryption method based on the sum-preserving fuzzy algorithm and chaos is used to determine the area of interest through target detection, and the two-dimensional chaotic system and the sum-preserving fuzzy algorithm are used to generate the cascade key, combined with the area of interest detection, sum-preserving fuzzy, and scrambling sum Cyclic coupled diffusion sequentially processes images to improve the protection level of areas of interest.
It achieves a high degree of protection for the area of interest, improves the security of the encryption algorithm, avoids the single method of traditional hash keys, increases the randomness of the key and the correlation of the image, and significantly improves the security of the area of interest. Protection level.
Smart Images

Figure 00000000_0000
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image encryption, and in particular to an image encryption method based on a sum-preserving fuzzy algorithm and chaos. Background Art
[0002] In recent years, encryption algorithms based on various technologies have been proposed. Although many image encryption algorithms have been developed for application scenarios, research on images containing regions of interest is relatively weak.
[0003] Moreover, most of the key application methods of existing image encryption technologies use hash functions as the source of key generation, and the diffusion methods all use a "one-to-one" coupling of chaotic sequences and pixel values. Compared with non-interest areas, the interest areas cannot be further protected during the encryption process.
[0004] In view of this, the present invention provides an image encryption method based on a sum-preserving fuzzy algorithm and chaos. Summary of the invention
[0005] According to the above-mentioned deficiencies, an image encryption method based on sum-preserving fuzzy algorithm and chaos is provided. The present invention mainly uses the two-dimensional chaotic system 2D_ICSM and the sum-preserving fuzzy algorithm to design a highly secure encryption algorithm to protect images with regions of interest. The algorithm has different regions of interest according to different images, thereby generating cascade keys, which increases the relevance of the encryption algorithm and the plaintext image. The image is processed in the order of region of interest detection, sum-preserving fuzzy, new scrambling method, and cyclic coupled diffusion to obtain an encrypted image, so that the protection level of the region of interest is improved compared to the non-region of interest.
[0006] The technical means adopted by the present invention are as follows:
[0007] The present invention provides an image encryption method based on a sum-preserving fuzzy algorithm and chaos, comprising:
[0008] Using target detection technology to determine the region of interest of the original image, using a sum-preserving fuzzy algorithm on the region of interest to obtain the blurred region of interest, and calculating the first data group and the second data group based on the blurred region of interest;
[0009] Iterating the two-dimensional chaotic system using the first data group to obtain a first sequence and a second sequence, and iterating the two-dimensional chaotic system using the second data group to obtain a third sequence and a fourth sequence;
[0010] Mapping and cyclic coupling processing are performed according to the first sequence, the second sequence, the third sequence and the fourth sequence to obtain an encrypted image.
[0011] Preferably, the step of using a sum-preserving fuzzy algorithm to obtain the blurred region of interest includes:
[0012] Divide the region of interest into a plurality of blocks, and respectively calculate the initial fuzzy algorithm data corresponding to each of the blocks;
[0013] According to the fuzzy algorithm initial data, a fuzzy block corresponding to the fuzzy algorithm initial data is fuzzy processed by using a sum-preserving fuzzy algorithm to obtain a fuzzy block;
[0014] The blurred blocks correspond to the positions of the blocks one by one, and all the blurred blocks are spliced to obtain the blurred region of interest.
[0015] Preferably, respectively calculating the fuzzy algorithm initial data corresponding to each of the blocks comprises:
[0016] The block includes a plurality of elements arranged in an array;
[0017] The elements located in the first row and first column of the block and the elements located in the first row and second column of the block are combined with the size of the block to calculate the initial data of the fuzzy algorithm corresponding to the block.
[0018] Preferably, calculating the first data set and the second data set according to the blurred region of interest comprises:
[0019] The region of interest includes a plurality of original pixels arranged in an array, and the blurred region of interest includes a plurality of blurred pixels arranged in an array;
[0020] Taking the first Z original pixels from the region of interest in row order, and taking the first Z blurred pixels from the blurred region of interest in row order;
[0021] Using the lowest bit XOR algorithm to process the Z original pixels and the Z blurred pixels to obtain a bit sequence;
[0022] The first data group and the second data group are calculated based on the bit sequence.
[0023] Preferably, the first data group and the second data group are calculated according to the bit sequence in the following manner:
[0024]
[0025] Among them, α1, β1, X1(0) and Y1(0) constitute the first data group, α2, β2, X2(0) and Y2(0) constitute the second data group, and K2 is the bit sequence.
[0026] Preferably, the performing mapping and cyclic coupling processing according to the first sequence, the second sequence, the third sequence and the fourth sequence to obtain the encrypted image includes:
[0027] A Boolean matrix is obtained according to the third sequence and the fourth sequence, and the blurred region of interest is divided by using the Boolean matrix to obtain a fifth sequence and a sixth sequence, and the fifth sequence and the sixth sequence are spliced to obtain a first spliced matrix;
[0028] amplifying the first sequence and dividing it into a first subsequence and a second subsequence, and amplifying the second sequence and dividing it into a third subsequence and a fourth subsequence;
[0029] Performing mapping processing on the first concatenated matrix according to the first subsequence, the second subsequence, the third subsequence, and the fourth subsequence to obtain a mapping matrix;
[0030] The third sequence is reduced to obtain a fifth subsequence, and the fourth sequence is reduced to obtain a sixth subsequence;
[0031] The fifth subsequence and the sixth subsequence are used to perform cyclic coupling processing on the mapping matrix to obtain the encrypted image.
[0032] Preferably, obtaining a Boolean matrix according to the third sequence and the fourth sequence comprises:
[0033] The third sequence and the fourth sequence are concatenated into a second concatenated matrix, values greater than 0 in the second concatenated matrix are transformed into 1, and values less than or equal to 0 in the first concatenated matrix are transformed into 0, and the Boolean matrix is obtained after the transformation.
[0034] Preferably, the mapping process is performed on the first concatenated matrix according to the first subsequence, the second subsequence, the third subsequence and the fourth subsequence to obtain a mapping matrix, which is calculated in the following manner:
[0035] I2(m2(i), n2(j))=G(m1(i), n1(j))
[0036] Among them, I2 is the mapping matrix, G is the first splicing matrix, m1 is the first subsequence, n1 is the second subsequence, m2 is the third subsequence, and n2 is the fourth subsequence.
[0037] Preferably, the fifth subsequence is obtained by reducing the third sequence, and the sixth subsequence is obtained by reducing the fourth sequence, and the calculation is performed in the following manner:
[0038]
[0039]
[0040] Among them, L3 is the third sequence, h1 is the fifth subsequence, L4 is the fourth sequence, and h2 is the sixth subsequence.
[0041] Preferably, the use of the fifth subsequence and the sixth subsequence to perform cyclic coupling processing on the mapping matrix to obtain the encrypted image is calculated in the following manner:
[0042]
[0043] Among them, MN is the size of the blurred region of interest, I2 is the mapping matrix, I3 is the encrypted image, h1 is the fifth subsequence, and h2 is the sixth subsequence.
[0044] Compared with the prior art, the present invention has the following advantages:
[0045] 1. The image encryption method based on sum-preserving fuzzy algorithm and chaos provided by the present invention realizes dual cascade keys by combining sum-preserving fuzzy, chaotic system and plaintext image. The key is completely random and avoids the single method of using traditional hash keys.
[0046] 2. The image encryption method based on the sum-preserving fuzzy algorithm and chaos provided by the present invention improves the protection level of the region of interest compared to the non-region of interest.
[0047] 3. The image encryption method based on the sum-preserving fuzzy algorithm and chaos provided by the present invention combines the Boolean matrix to fully scramble the pixels of the image.
[0048] 4. The image encryption method based on the sum-preserving fuzzy algorithm and chaos provided by the present invention reduces the use of chaotic sequences through cyclic coupled diffusion. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0050] Figure 1 A schematic flow chart of an image encryption method based on a sum-preserving fuzzy algorithm and chaos provided by the present invention.
[0051] Figure 2 A schematic diagram of scrambling and loop-coupled diffusion.
[0052] Figure 3 A schematic diagram of an encryption scenario. DETAILED DESCRIPTION
[0053] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0054] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0055] Combination Figure 1 , Figure 1 A flow chart of the image encryption method based on the sum-preserving fuzzy algorithm and chaos provided by the present invention is provided to illustrate a specific embodiment of the image encryption method based on the sum-preserving fuzzy algorithm and chaos provided by the present invention, including:
[0056] The target detection technology is used to determine the region of interest of the original image, and a sum-preserving fuzzy algorithm is used to obtain the blurred region of interest, and the first data group and the second data group are calculated according to the blurred region of interest;
[0057] The first data group is used to iterate the two-dimensional chaotic system to obtain a first sequence and a second sequence, and the second data group is used to iterate the two-dimensional chaotic system to obtain a third sequence and a fourth sequence;
[0058] The encrypted image is obtained by performing mapping and cyclic coupling processing according to the first sequence, the second sequence, the third sequence and the fourth sequence.
[0059] It should be noted that the two-dimensional chaotic system used in this embodiment is the two-dimensional chaotic model 2D_ICSM. The parameters of the two-dimensional chaotic model 2D_ICSM are variable during the iteration process, and no periodic window appears within a large parameter range. Compared with other two-dimensional chaotic models, it is superior.
[0060] It can be understood that by using target detection, the region of interest and position information in the image are obtained, and the initial values and parameters required by the sum-preserving fuzzy algorithm are obtained by mathematical methods, and then the visual effect of the region of interest is changed by using the sum-preserving fuzzy algorithm. Finally, the pixel values of the region of interest after blurring and before blurring are taken, and the parameters and initial values required in the encryption process are generated by some mathematical methods. According to the parameters and initial values obtained by preprocessing, 2D_ICSM is iterated to take out the pixel values of the blurred image one by one in the way of taking out columns. After that, some mixed sequences are mathematically operated, and then the obtained Boolean matrix is used for one confusion, and then the mapping method is used for two confusions. Finally, the chaotic sequence is used in a circular way to calculate a ciphertext image. By combining sum-preserving fuzzy, chaotic system and plaintext image, a double cascade key is realized, the key is completely random, and the single method of using traditional hash keys is avoided at the same time, and the protection level of the region of interest is improved compared with the non-region of interest.
[0061] In some optional embodiments, the region of interest is blurred by using a sum-preserving fuzzy algorithm, including:
[0062] Divide the region of interest into multiple blocks, and calculate the initial data of the fuzzy algorithm corresponding to each block;
[0063] According to the initial data of the fuzzy algorithm, the block corresponding to the initial data of the fuzzy algorithm is fuzzy processed by using the fuzzy algorithm to obtain a fuzzy block;
[0064] The positions of the blurred blocks correspond one to one, and all blurred blocks are concatenated to obtain the blurred region of interest.
[0065] It can be understood that in this embodiment, the size of the block is taken as h×w as an example, of course, it is not limited thereto. According to the initial data of the fuzzy algorithm, the block corresponding to the initial data of the fuzzy algorithm is fuzzy processed by using the sum-preserving fuzzy algorithm to obtain a fuzzy block, which is obtained in the following manner:
[0066] Input: Block of size h×w
[0067] 1.x(1)=Block(1) / (Block(1,1)+Block(1,2))
[0068] 2.y(1)=Block(1) / (Block(1,1)+Block(1,2))
[0069] 3. For i = 1 to h do
[0070] 4. For j = 1 to w step 2 do
[0071] 5. S = Block(i, j) + Block(i, j + 1)
[0072] 6.
[0073] 7. x(n) = sin(π(13x 2 (n - 1) + α)(β - y(n - 1)))
[0074] 8. y(n) = sin(π(13x(n - 1) + α)(β - x(n - 1)y(n - 1)))
[0075] 9. tmp = S - 255
[0076] 10. If tmp > 0
[0077] 11. Block(i, j) = Block(i, j) - tmp
[0078] 12. t1 = mod(Block(i, j) + floor(x(n) × 10 10 + y(n) × 10 13 ),255 - tmp)
[0079] 13. t1 = t1 + tmp
[0080] 14. Else
[0081] 15. t1 = mod(Block(i, j) + floor(x(n) × 10 10 + y(n) × 10 13 ),S)
[0082] 16. End if
[0083] 17. d_Block(i, j) = t1
[0084] 18. d_Block(i, j + 1) = s - t1
[0085] 19. End for i
[0086] 20. End for j
[0087] Output: Blurred block f_Block.
[0088] In some optional embodiments, the fuzzy algorithm initial data corresponding to each block is calculated respectively, including:
[0089] A block includes multiple elements arranged in an array;
[0090] The elements located in the first row and first column of the block and the elements located in the first row and second column of the block are combined with the size of the block to calculate the initial data of the fuzzy algorithm corresponding to the block.
[0091] In some optional embodiments, calculating the first data set and the second data set according to the blurred region of interest includes:
[0092] The region of interest includes a plurality of original pixels arranged in an array, and the blurred region of interest includes a plurality of blurred pixels arranged in an array;
[0093] Take the first Z original pixels from the region of interest in row order, and take the first Z blurred pixels from the blurred region of interest in row order;
[0094] The Z original pixels and the Z blurred pixels are processed by the lowest bit XOR algorithm to obtain a bit sequence;
[0095] The first data set and the second data set are calculated based on the bit sequence.
[0096] It can be understood that, in this embodiment, taking the first 200 original pixels from the region of interest in row order, and taking the first 200 blurred pixels from the blurred region of interest in row order; using the lowest bit XOR algorithm to process the 200 original pixels and 200 blurred pixels to obtain a bit sequence as an example, the length of the bit sequence obtained by using the lowest bit XOR algorithm to process the 200 original pixels and 200 blurred pixels is 200. Of course, the number of original pixels and blurred pixels can also be taken according to actual needs to obtain a bit sequence of a specific length, and this embodiment does not make any specific restrictions on this.
[0097] In some optional embodiments, the first data group and the second data group are calculated according to the bit sequence in the following manner:
[0098]
[0099] Among them, α1, β1, X1(0) and Y1(0) constitute the first data group, α2, β2, X2(0) and Y2(0) constitute the second data group, and K2 is a bit sequence.
[0100] It can be understood that α1, β1, α2 and β2 are used as parameters of the two-dimensional chaotic system, and X1(0), Y1(0), X2(0) and Y2(0) are used as initial values of the two-dimensional chaotic system.
[0101] In some optional embodiments, referring to Figure 2 , Figure 2 A schematic diagram of scrambling and cyclic coupling diffusion is shown. The encrypted image is obtained by mapping and cyclic coupling processing according to the first sequence, the second sequence, the third sequence and the fourth sequence, including:
[0102] A Boolean matrix is obtained according to the third sequence and the fourth sequence, and the blurred region of interest is divided by using the Boolean matrix to obtain a fifth sequence and a sixth sequence, and the fifth sequence and the sixth sequence are spliced to obtain a first spliced matrix;
[0103] amplifying the first sequence and dividing it into a first subsequence and a second subsequence, and amplifying the second sequence and dividing it into a third subsequence and a fourth subsequence;
[0104] Performing mapping processing on the first concatenated matrix according to the first subsequence, the second subsequence, the third subsequence and the fourth subsequence to obtain a mapping matrix;
[0105] The third sequence is reduced to obtain a fifth subsequence, and the fourth sequence is reduced to obtain a sixth subsequence;
[0106] The fifth subsequence and the sixth subsequence are used to perform cyclic coupling processing on the mapping matrix to obtain an encrypted image.
[0107] It can be understood that the pixels of the image are fully disrupted by combining the Boolean matrix, and the use of chaotic sequences is reduced through cyclic coupling diffusion.
[0108] In some optional embodiments, obtaining a Boolean matrix according to the third sequence and the fourth sequence includes:
[0109] The third sequence and the fourth sequence are concatenated into a second concatenated matrix, values greater than 0 in the second concatenated matrix are transformed into 1, and values less than or equal to 0 in the first concatenated matrix are transformed into 0, and a Boolean matrix is obtained after the transformation.
[0110] It can be understood that, in this embodiment, the original image is recorded as P, the blurred region of interest is recorded as P1, the size of the blurred region of interest recorded as P1 is M×N, and the size of the second splicing matrix formed by splicing the third sequence and the fourth sequence is M×N. The values in the second splicing matrix are thresholded, and those greater than 0 are changed to 1, and those less than 0 are changed to 0, to obtain a Boolean matrix C. According to the Boolean matrix C, the blurred region of interest recorded as P1 is divided into two sequences: the fifth sequence R0 and the sixth sequence R1, the fifth sequence R0 is a sequence with a value of 0, and the sixth sequence R1 is a sequence with a value of 1. The fifth sequence R0 and the sixth sequence R1 are spliced to obtain the first splicing matrix G.
[0111] In some optional embodiments, amplifying the first sequence and dividing it into a first subsequence and a second subsequence, and amplifying the second sequence and dividing it into a third subsequence and a fourth subsequence, comprises:
[0112] MN is the size of the region of interest after blurring;
[0113] The first subsequence m1 is the index sequence after sorting the first M numbers of the first sequence L1, denoted as:
[0114] [~, m1] = sort(L1(1:M));
[0115] The second subsequence n1 is the index sequence after sorting the last N numbers of the first sequence L1, denoted as:
[0116] [~, n1]=sort(L1(M+1:M+N));
[0117] The third subsequence m2 is the index sequence after sorting the first M numbers of the second sequence L2, denoted as:
[0118] [~, m2] = sort(L2(1:M));
[0119] The fourth subsequence n2 is the index sequence after sorting the last N numbers of the second sequence L2, denoted as:
[0120] [~, n2]=sort(L2(M+1:M+N)).
[0121] In some optional embodiments, the first concatenated matrix is mapped according to the first subsequence, the second subsequence, the third subsequence, and the fourth subsequence to obtain a mapping matrix, which is calculated in the following manner:
[0122] I2(m2(i), n2(j))=G(m1(i), n1(j))
[0123] Among them, I2 is the mapping matrix, G is the first concatenation matrix, m1 is the first subsequence, n1 is the second subsequence, m2 is the third subsequence, and n2 is the fourth subsequence.
[0124] It can be understood that the mapping matrix I2 is obtained by changing the positions of the elements in the first splicing matrix G in a mathematical mapping manner.
[0125] In some optional embodiments, the third sequence is reduced to obtain a fifth subsequence, and the fourth sequence is reduced to obtain a sixth subsequence, and the calculation is performed in the following manner:
[0126]
[0127]
[0128] Among them, L3 is the third sequence, h1 is the fifth subsequence, L4 is the fourth sequence, and h2 is the sixth subsequence.
[0129] It can be understood that all elements of the third sequence L3 and the fourth sequence L4 are scaled so that all elements are restricted to integers within the range of 0-255, and the fifth subsequence h1 and the sixth subsequence h2 are obtained.
[0130] In some optional embodiments, the fifth subsequence and the sixth subsequence are used to perform cyclic coupling processing on the mapping matrix to obtain an encrypted image, which is calculated in the following manner:
[0131]
[0132] Among them, MN is the size of the blurred region of interest, I2 is the mapping matrix, I3 is the encrypted image, h1 is the fifth subsequence, and h2 is the sixth subsequence.
[0133] It can be understood that the fifth subsequence h1 and the sixth subsequence h2 are used to map the matrix I2, and each pixel value in the mapping matrix I2 is changed in a cyclic coupled diffusion manner to obtain the final ciphertext image I3.
[0134] In some optional embodiments, referring to Figure 3 , Figure 3 It is a schematic diagram of an encryption scenario. The encrypted image with the region of interest can be restored to the original image through the decryption method. The encrypted and decrypted ciphertext images, as well as the original and decrypted images, were tested in detail to prove that the key space of the encryption key is large enough and the key is very sensitive; the histogram, histogram variance, NPCR and UACI test analysis, information entropy analysis, chi-square test, etc. of the encrypted image were tested in detail, and it was found that it has a good encryption effect; the robustness of the method of the present invention was analyzed, including salt and pepper attacks, different degrees of cropping attacks, etc., and it was found that the method of the present invention can effectively resist the corresponding attacks and has good security.
[0135] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0136] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0137] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. An image encryption method based on sum-preserving fuzzy algorithm and chaos, characterized in that: include: Using target detection technology to determine the region of interest of the original image, using a sum-preserving fuzzy algorithm on the region of interest to obtain the blurred region of interest, and calculating the first data group and the second data group based on the blurred region of interest; Iterating the two-dimensional chaotic system using the first data group to obtain a first sequence and a second sequence, and iterating the two-dimensional chaotic system using the second data group to obtain a third sequence and a fourth sequence; An encrypted image is obtained by performing mapping and cyclic coupling processing according to the first sequence, the second sequence, the third sequence and the fourth sequence.
2. The image encryption method based on sum-preserving fuzzy algorithm and chaos according to claim 1 is characterized in that: The step of using a sum-preserving fuzzy algorithm to obtain the blurred region of interest includes: Divide the region of interest into a plurality of blocks, and respectively calculate the initial fuzzy algorithm data corresponding to each block; According to the fuzzy algorithm initial data, a fuzzy block corresponding to the fuzzy algorithm initial data is fuzzy processed by using a sum-preserving fuzzy algorithm to obtain a fuzzy block; The blurred blocks correspond to the positions of the blocks one by one, and all the blurred blocks are spliced to obtain the blurred region of interest.
3. The image encryption method based on sum-preserving fuzzy algorithm and chaos according to claim 2 is characterized in that: The step of respectively calculating the fuzzy algorithm initial data corresponding to each of the blocks comprises: The block includes a plurality of elements arranged in an array; The elements located in the first row and first column of the block and the elements located in the first row and second column of the block are combined with the size of the block to calculate the initial data of the fuzzy algorithm corresponding to the block.
4. The image encryption method based on sum-preserving fuzzy algorithm and chaos according to claim 1 is characterized in that: The step of calculating the first data set and the second data set according to the blurred region of interest comprises: The region of interest includes a plurality of original pixels arranged in an array, and the blurred region of interest includes a plurality of blurred pixels arranged in an array; Taking the first Z original pixels from the region of interest in row order, and taking the first Z blurred pixels from the blurred region of interest in row order; Using the lowest bit XOR algorithm to process the Z original pixels and the Z blurred pixels to obtain a bit sequence; The first data group and the second data group are calculated based on the bit sequence.
5. The image encryption method based on sum-preserving fuzzy algorithm and chaos according to claim 4 is characterized in that: The first data group and the second data group are calculated according to the bit sequence in the following manner: Among them, α1, β1, X1(0) and Y1(0) constitute the first data group, α2, β2, X2(0) and Y2(0) constitute the second data group, and K2 is the bit sequence.
6. The image encryption method based on sum-preserving fuzzy algorithm and chaos according to claim 1 is characterized in that: The step of performing mapping and cyclic coupling processing according to the first sequence, the second sequence, the third sequence and the fourth sequence to obtain an encrypted image includes: A Boolean matrix is obtained according to the third sequence and the fourth sequence, and the blurred region of interest is divided by using the Boolean matrix to obtain a fifth sequence and a sixth sequence, and the fifth sequence and the sixth sequence are spliced to obtain a first spliced matrix; amplifying the first sequence and dividing it into a first subsequence and a second subsequence, and amplifying the second sequence and dividing it into a third subsequence and a fourth subsequence; Performing mapping processing on the first concatenated matrix according to the first subsequence, the second subsequence, the third subsequence, and the fourth subsequence to obtain a mapping matrix; The third sequence is reduced to obtain a fifth subsequence, and the fourth sequence is reduced to obtain a sixth subsequence; The fifth subsequence and the sixth subsequence are used to perform cyclic coupling processing on the mapping matrix to obtain the encrypted image.
7. The image encryption method based on sum-preserving fuzzy algorithm and chaos according to claim 6 is characterized in that: The step of obtaining a Boolean matrix according to the third sequence and the fourth sequence includes: The third sequence and the fourth sequence are concatenated into a second concatenated matrix, values greater than 0 in the second concatenated matrix are transformed into 1, and values less than or equal to 0 in the first concatenated matrix are transformed into 0, and the Boolean matrix is obtained after the transformation.
8. The image encryption method based on sum-preserving fuzzy algorithm and chaos according to claim 6 is characterized in that: The mapping process is performed on the first concatenated matrix according to the first subsequence, the second subsequence, the third subsequence and the fourth subsequence to obtain a mapping matrix, which is calculated in the following manner: I2(m2(i), n2(j))=G(m1(i), n1(j)) Among them, I2 is the mapping matrix, G is the first splicing matrix, m1 is the first subsequence, n1 is the second subsequence, m2 is the third subsequence, and n2 is the fourth subsequence.
9. The image encryption method based on sum-preserving fuzzy algorithm and chaos according to claim 6, characterized in that: The fifth subsequence is obtained by reducing the third sequence, and the sixth subsequence is obtained by reducing the fourth sequence, and the calculation is performed in the following manner: Among them, L3 is the third sequence, h1 is the fifth subsequence, L4 is the fourth sequence, and h2 is the sixth subsequence.
10. The image encryption method based on sum-preserving fuzzy algorithm and chaos according to claim 6, characterized in that: The encrypted image is obtained by performing cyclic coupling processing on the mapping matrix using the fifth subsequence and the sixth subsequence, and is calculated in the following manner: Among them, MN is the size of the blurred region of interest, I2 is the mapping matrix, I3 is the encrypted image, h1 is the fifth subsequence, and h2 is the sixth subsequence.
