Method for encrypting visually secure image
Abstract
The present disclosure discloses a method for encrypting a visually secure image based on adaptive block compressed sensing and non-negative matrix decomposition. Firstly, the Tetrolet transform is performed on the plain image, then the sparsity degree is optimized on the sparsity matrix and the matrix scrambling is performed, such that the sparsity degree in each block region of the image matrix is equalized. Then according to the image information, the sampling number of the block region is calculated, the measurement matrix is constructed and optimized, and the image is compressed by using the optimized measurement matrix. The compressed image is then scrambled and diffused to complete the encryption process. Finally, the image information is embedded into the carrier image through non-negative matrix decomposition to obtain a visually safe ciphertext image. The decryption process is the inverse of the encryption process.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 0.
Claims (8 — 1 Independent, 7 Dependent)
- Claim 1Independent Claim
A method for encrypting a visually secure image, comprising the steps of generating parameters and initial values of a six-dimensional hyperchaotic system and a hybrid chaotic system according to plaintext image information; generating a chaotic sequence by iteration of the six-dimensional hyperchaotic system, and constructing a random sequence using the generated chaotic sequence; performing Tetrolet transformation on the plaintext image to generate a coefficient matrix and performing optimized matrix scrambling for the coefficient matrix; regarding a scrambled coefficient matrix, calculating a quantity of samplings allocated to each block after the coefficient matrix is divided into blocks according to a block sampling strategy based on region energy; generating the chaotic sequence by iteration of the hybrid chaotic system, conducting an initial measurement matrix using the generated chaotic sequence, and obtaining a final measurement matrix by optimizing and normalizing the initial
- Claim 2Depends on #1
The method for encrypting a visually secure image according to claim 1, wherein generating parameters and initial values of a six-dimensional hyperchaotic system and a hybrid chaotic system according to plaintext image information is specifically generating in a manner that; first, an SHA512 function is used to generate a 512-bit hash value K for plaintext image: K=SHA 512(img) it is converted into 64 decimal numbers with a set of 8 bits, denoted as array k, to obtain matrices k11-k62 and k7 via k and the calculation process is as follows: { k 11 = reshape ( k ( 1: 6), 3, 2) k 12 = reshape ( k ( 7: 10), 2, 2) k 21 = reshape ( k ( 11: 16), 3, 2) k 22 = reshape ( k ( 17: 20), 2, 2) k 31 = reshape ( k ( 21: 26), 3, 2) k 32 = reshape ( k ( 27: 30), 2, 2) k 41 = reshape ( k ( 31: 36), 3, 2) k 42 = reshape ( k ( 37: 40), 2, 2) k 51 = reshape ( k ( 41: 46), 3, 2) k 52 = reshape ( k ( 47: 50), 2, 2) k 61 = reshape ( k ( 51: 56),
- Claim 3Depends on #2
The method for encrypting a visually secure image according to claim 2, wherein generating a chaotic sequence by iteration of the six-dimensional hyperchaotic system, and constructing a random sequence using the generated chaotic sequence is specifically performed in a manner that: a size of image matrix is set to M ′ × N ′, a total quantity of pixels is num, and sampling interval of the chaotic sequence is d; firstly, an initial value x 0, y 0, z 0, u 0, v 0, w 0 of the six-dimensional hyperchaotic system is substituted into the six-dimensional hyperchaotic system and iteration is performed for num × d times to generate six corresponding chaotic sequences xn, yn, zn, un, vn, wn, and the six chaotic sequences are respectively sampled using d to obtain corresponding sub-sequences; { x 1 = floor ( abs ( xn ( 1: d: end - d + 1) * 100) + 1) x 2 = mod ( floor ( abs ( xn ( 2: d: end - d + 2) * 100) + 1), 256) x 3 = mod ( floor ( abs ( xn ( 3: d: end - d + 3) * 100
- Claim 4Depends on #3
The method for encrypting a visually secure image according to claim 3, wherein regarding a scrambled coefficient matrix calculating a quantity of samplings allocated to each block after the coefficient matrix is divided into blocks according to a block sampling strategy based on region energy is specifically calculating in a manner that: a size of a block region B, an image sampling rate SR and a weight matrix W are set, while a value of the size of B is set as 4, 8 and 16; { W = [ 1, 2, 2, 1 ], if B = 4 W = [ 1, 1, 2, 2, 2, 2, 1, 1 ], if B = 8 W = [ 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1 ], if B = 1 6 the quantity of image blocks G and the quantity of samplings SF are calculated: G =num1 /B 2 SF =num1 × SR wherein num1 represents a quantity of elements of the scrambled coefficient matrix; the image is divided into blocks and energy E i of pixels in the block region is calculated: { E i = sum ( W ′ × W. × X i. / 36), if B = 4 E i = sum ( W ′ × W. × X i. / 144
- Claim 5Depends on #4
The method for encrypting a visually secure image according to claim 4, wherein generating the chaotic sequence by iteration of the hybrid chaotic system, conducting an initial measurement matrix using the generated chaotic sequence, and obtaining a final measurement matrix by optimizing and normalizing the initial measurement matrix is specifically performed in a manner that: an image size is sit to M0 × N0 such that the hybrid chaotic system is iterated for maxAM × M0 × N0+t times according to a maximum quantity maxAM of samplings of the image blocks, and the initial measurement matrix chaosMat of (maxAM × M0) × N0 is generated with the remaining values after discarding the first t values; the initial measurement matrix chaosMat is optimized, to obtain an optimized measurement matrix Φ ′, and the optimization process is performed in a manner of: setting a size B of the block region, dividing the image into blocks and calculating a sum of absolute values of pixel values within the blo
- Claim 6Depends on #5
The method for encrypting a visually secure image according to claim 5, wherein scrambling a quantized measurement value matrix at pixel level by scrambling method based on domino tile issue, and obtaining the measurement value matrix after a first scrambling is performed in a manner that firstly, the sub-sequences x1, y1 of the six-dimensional hyperchaotic system are modulo-operated to obtain x1 ′, y1 ′: { x 1 ′ = mod ( x 1, 16) + 1 y 1 ′ = mod ( y 1, 8) + 1 taking each element in the sequence x1 ′ as a serial number of the four-grid puzzle, mask segmentation is performed and encoding is performed using an encoding rule of the mask, a character sequence dominoesSeq containing ‘ _ ’ and ‘ | ’ is obtained; y ′ is taken as an index sequence for each character sequence dominoesSeq to be indexed, resulting in a flag bit flag with a value of 0 or 1 and finally a flag bit matrix Flags is be obtained: { Flags ( i) = 1, if dominoesSeq ( y 1 ′ ( i)) = ‘ ❘ ’ Flags ( i) = 0, i
- Claim 7Depends on #6
The method for encrypting a visually secure image according to claim 6, wherein scrambling the measurement value matrix at pixel level after the first scrambling by the scrambling method based on domino overturn issue, and obtaining the measurement value matrix after a second scrambling is specifically performed in a manner that: taking sub-sequence v1 of the six-dimensional hyperchaotic system as a mask sequence coveringSeq1, threshold sequence thresholdSeq is used to generate index sequences resultLR, resultUD for binary shifting; dominoes=divideDominoes(coveringSeq1) { horizontalSeq ( i) = ‘ _ ’, if dominoes ( i) = ‘ _ ’ horizontalSeq ( i) = ‘. ’, else { verticalSeq ( i) = ‘. ’, if dominoes ( i) = ‘ _ ’ verticalSeq ( i) = ‘ ❘ ’, else { pushLRSeq = ‘ L ’, if verticalSeq ( i) = ‘ ❘ ’ & thresholdSeq ( i) < 0.5 pushLRSeq = ‘ R ’, if verticalSeq ( i) = ‘ ❘ ’ & thresholdSeq ( i) > 0.5 pushLRSeq = ‘. ’, if verticalSeq ( i) = ‘ ❘ ’ & thresholdSeq ( i)
- Claim 8Depends on #7
The method for encrypting a visually secure image according to claim 7, wherein diffusing the measurement value matrix after the second scrambling using a diffusion method based on a four-grid puzzle to obtain a diffused measurement value matrix, and performing a reverse diffusion operation on the diffused measurement value matrix to obtain a secret image matrix is specifically performed in a manner that: In the diffusion process, the image matrix I pre-processed, i.e., random number sequences seq11-seq41 are added on an outside of the image matrix I to prevent overflow: 1=[seq31,seq32,seq33, [seq11;seq12;seq13;I; seq23;seq22;seq21], seq43,seq42,seq41] then the sequences v2 and w3 are taken as mask sequences coveringSeq2 and coveringSeq3, the four-grid puzzle is segmented so as to form 15 types of mask shapes, diffusion operation is performed on the pre-processed image matrix according to the mask shape, the operation is defined as shape_bitxor, and three adjacent pixel points of the p
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS The present application claims priority to Chinese Patent Application No. 202211168486.0, entitled “ METHOD FOR ENCRYPTING VISUALLY SECURE IMAGE ” , filed on Sep. 19, 2022 before China National Intellectual Property Administration, the entire contents of which are incorporated herein by reference. TECHNICAL FIELD The present disclosure relates to the technical field of compressed sensing and image encryption, and in particular to a method for encrypting a visually secure image lased on adaptive block compressed sensing and non-negative matrix decomposition. BACKGROUND In recent years, image encryption technology has become more and more mature, especially in combination with compression technology, can greatly reduce the transmission and storage space, while ensuring information security kind relieving the pressure of signal transmission. Image compression based on block compressed sensing is one of the hot research directions in recent years. Since this type of method can site the operation Object from the whole image matrix to a single image block matrix, it greatly saves storage space and computational complexity, thus greatly improving the practicality. However, it is difficult to determine the appropriate sparsity of the image, use a fixed sampling rate and unable to construct an appropriate measurement matrix such that the encryption method based on the traditional block compressed sensing theory can not achieve good results, which has become three issues to be solved urgently in this field, and is also our main research direction. In addition, attackers are faced with a wide variety of attacks, making more and more pure image encryption methods unable to eliminate the risk of betty cracked. Therefore, some encryption methods based on visual security are proposed successively, namely, the ciphertext image containing secret information is only a natural image visually, such that the attacker's attention is not aroused and
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (5)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (4)
- “
- Chunyang Sun , Erfu Wang and Bing Zhao; Image Encryption Scheme with Compressed Sensing Based on a New Six-Dimensional Non-Degenerate Discrete Hyperchaotic System and PIaintext-Related Scrambling; FEb. 27, 2021, entropy, 25 pages
- ”
- (Year: 2021).