[go: up one dir, main page]

CN113115053B - Image encryption method based on integer wavelet transform and compressed sensing - Google Patents

Image encryption method based on integer wavelet transform and compressed sensing Download PDF

Info

Publication number
CN113115053B
CN113115053B CN202110378244.3A CN202110378244A CN113115053B CN 113115053 B CN113115053 B CN 113115053B CN 202110378244 A CN202110378244 A CN 202110378244A CN 113115053 B CN113115053 B CN 113115053B
Authority
CN
China
Prior art keywords
image
plaintext
wavelet transform
integer wavelet
compressed sensing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110378244.3A
Other languages
Chinese (zh)
Other versions
CN113115053A (en
Inventor
黄小玲
董友霞
叶国栋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Ocean University
Original Assignee
Guangdong Ocean University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Ocean University filed Critical Guangdong Ocean University
Priority to CN202110378244.3A priority Critical patent/CN113115053B/en
Publication of CN113115053A publication Critical patent/CN113115053A/en
Application granted granted Critical
Publication of CN113115053B publication Critical patent/CN113115053B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/63Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/001Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using chaotic signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • H04N19/126Details of normalisation or weighting functions, e.g. normalisation matrices or variable uniform quantisers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/189Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding
    • H04N19/192Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding the adaptation method, adaptation tool or adaptation type being iterative or recursive

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Image Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

本发明提出一种基于整数小波变换和压缩感知的图像加密方法,解决了当前基于压缩感知的空域图像加密方法在压缩感知后直接进行载体嵌入的方式存在加密安全性不足的问题,该方法对明文图像进行预处理,利用混沌系统生成的随机序列与明文图像信息相关联,能有力抵抗已知明文攻击和选择明文攻击;然后对预处理后的明文图像进行稀疏处理,并依次进行置乱操作;生成测量矩阵,利用测量矩阵对置乱操作后的明文图像进行压缩感知,在嵌入载体图像前,执行扩散操作,进一步提高图像加密的安全性,最后利用整数小波变换得到频率系数,对载体图像进行嵌入操作,而后执行逆整数小波变化,降低因频域变换而导致的数据丢失,提高了图像信息的加密安全性。

Figure 202110378244

The present invention proposes an image encryption method based on integer wavelet transform and compressed sensing, which solves the problem of insufficient encryption security in the way of direct carrier embedding in the current spatial domain image encryption method based on compressed sensing. The image is preprocessed, and the random sequence generated by the chaotic system is associated with the plaintext image information, which can effectively resist the known plaintext attack and the chosen plaintext attack; then the preprocessed plaintext image is sparsely processed, and the scrambling operation is performed sequentially; Generate a measurement matrix, use the measurement matrix to perform compression sensing on the plaintext image after the scrambling operation, and perform a diffusion operation before embedding the carrier image to further improve the security of image encryption. Embedding operation, and then perform inverse integer wavelet transformation, reduce data loss caused by frequency domain transformation, and improve the encryption security of image information.

Figure 202110378244

Description

一种基于整数小波变换和压缩感知的图像加密方法An Image Encryption Method Based on Integer Wavelet Transform and Compressed Sensing

技术领域technical field

本发明涉及图像加密的技术领域,更具体地,涉及一种基于整数小波变换和压缩感知的图像加密方法。The present invention relates to the technical field of image encryption, and more specifically, relates to an image encryption method based on integer wavelet transform and compressed sensing.

背景技术Background technique

随着互联网技术和社会媒体的迅速发展,越来越多的多媒体信息在互联网上生成与传播。在这些数字信息中,数字图像是可以用可视化的方式传递信息的一种信息格式,但这些数字图像中会存在某些隐私图像,隐私图像在网络上传输会有一定的风险。为了防止这些包含大量的隐私信息的数字图像被未经授权的人获取或者利用,图像加密作为有效手段引起了极大关注。With the rapid development of Internet technology and social media, more and more multimedia information is generated and disseminated on the Internet. Among these digital information, digital image is an information format that can transmit information in a visual way, but there will be some private images in these digital images, and the transmission of private images on the network will have certain risks. In order to prevent these digital images containing a large amount of private information from being acquired or used by unauthorized people, image encryption has attracted great attention as an effective means.

数字图像加密按照加密域的不同,可以分为频域加密和空域加密两类方式。空域加密是指将数字图像作为二维矩阵,从空间的角度对二维矩阵进行可逆变换。常用的空域图像加密方案包括置乱和扩散两个阶段,频域是相对于图像的空域而言的,是从频域空间对图像进行处理,一般的可以利用离散余弦变换、快速傅立叶变换以及小波变换等变换方法来实现图像空域和频域之间的转换。频域加密方案的特点是加密速度快,但是通常属于有损加密,即解密图像与明文图像存在少量差异。According to the different encryption domains, digital image encryption can be divided into frequency domain encryption and air domain encryption. Spatial domain encryption refers to the digital image as a two-dimensional matrix, and the reversible transformation of the two-dimensional matrix from the perspective of space. Commonly used spatial domain image encryption schemes include two stages of scrambling and diffusion. The frequency domain is relative to the spatial domain of the image, and the image is processed from the frequency domain space. Generally, discrete cosine transform, fast Fourier transform and wavelet can be used. Transform and other transformation methods to realize the conversion between image space domain and frequency domain. The feature of the frequency domain encryption scheme is that the encryption speed is fast, but it is usually a lossy encryption, that is, there is a small difference between the decrypted image and the plaintext image.

压缩感知理论是一种新型的信号采样理论,能够通过设置欠定线性系统来有效地捕获和恢复信号。压缩感知理论探索在更低的采样率下,如何实现相同的信号重构精度。由于数字图像是具有高冗余属性的,所以在对图像进行处理时,会产生一些不必要的过程。压缩感知刚好可以减少数据的冗余性。在进行数据传输之前,密文图像如果可以进一步被压缩,不仅可以提高效率,而且会更适用于宽带有限的传输信道。加密后的图像具有类纹理或是类噪声的特征,而这些特征会引起攻击者的注意力,这便提高了加密后的图像信息在传输中的攻击率。图像隐藏技术或可减少这种潜在的攻击威胁,与信息隐藏技术相结合,把原始图像加密后嵌入到进行处理后的载体图像中,实现了在视觉上是有意义的图像加密技术,在某种程度上降低了图像被攻击的可能性。Compressive sensing theory is a new signal sampling theory, which can efficiently capture and recover signals by setting up an underdetermined linear system. Compressed sensing theory explores how to achieve the same signal reconstruction accuracy at a lower sampling rate. Since digital images have high redundancy properties, some unnecessary processes will occur when processing images. Compressed sensing just happens to reduce data redundancy. Before data transmission, if the ciphertext image can be further compressed, it can not only improve the efficiency, but also be more suitable for the transmission channel with limited bandwidth. The encrypted image has texture-like or noise-like features, and these features will attract the attention of attackers, which increases the attack rate of encrypted image information during transmission. Image hiding technology may reduce this potential attack threat. Combining with information hiding technology, the original image is encrypted and embedded into the processed carrier image, realizing a visually meaningful image encryption technology. This reduces the possibility of the image being attacked to a certain extent.

2019年2月19日,公布号为CN109360141A的中国发明专利中公开了一种基于压缩感知和三维猫映射的图像加密方法,首先根据明文图像的像素平均值计算三维猫映射混沌系统的初始状态值和系统参数,然后对明文图像的稀疏系数矩阵进行置乱,构建测量矩阵并对置乱后的稀疏系数矩阵进行压缩测量,得到密文图像,基于载体图像,利用嵌入算法将密文图像嵌入到载体图像后得到视觉安全图像,使密文图像在视觉上安全,且避免了频域加密方法最后得到的解密图像与明文图像存在差异的弊端,但该方法中利用压缩感知后直接得到了密文图像,然后就进行了嵌入,加密安全性方面仍有待考量。On February 19, 2019, the Chinese invention patent with the publication number CN109360141A disclosed an image encryption method based on compressed sensing and three-dimensional cat mapping. First, the initial state value of the three-dimensional cat mapping chaotic system is calculated according to the pixel average value of the plaintext image and system parameters, then scramble the sparse coefficient matrix of the plaintext image, build a measurement matrix and perform compression measurement on the scrambled sparse coefficient matrix to obtain the ciphertext image, based on the carrier image, use the embedding algorithm to embed the ciphertext image into The visually secure image is obtained after the carrier image, which makes the ciphertext image visually safe, and avoids the disadvantages of the difference between the decrypted image and the plaintext image obtained by the frequency domain encryption method. However, in this method, the ciphertext The image is then embedded, and the encryption security still needs to be considered.

发明内容Contents of the invention

为解决当前基于压缩感知的空域图像加密方法在压缩感知后直接进行载体嵌入的方式存在加密安全性不足的问题,本发明提供一种基于整数小波变换和压缩感知的图像加密方法,利用整数小波变换可实现可逆性,降低因频域变换而导致的数据丢失,提高了图像信息的加密安全性。In order to solve the problem of insufficient encryption security in the current airspace image encryption method based on compressed sensing after compressed sensing, the present invention provides an image encryption method based on integer wavelet transform and compressed sensing, using integer wavelet transform It can achieve reversibility, reduce data loss caused by frequency domain transformation, and improve the encryption security of image information.

为了达到上述技术效果,本发明的技术方案如下:In order to achieve the above-mentioned technical effect, the technical scheme of the present invention is as follows:

一种基于整数小波变换和压缩感知的图像加密方法,包括:An image encryption method based on integer wavelet transform and compressed sensing, including:

S1.选定混沌系统,设置混沌系统的初始值,确定大小为M×N及像素和为S的明文图像P,对明文图像P进行预处理;S1. Select the chaotic system, set the initial value of the chaotic system, determine the plaintext image P whose size is M×N and the pixel sum is S, and preprocess the plaintext image P;

S2.将M、N、S和初始值代入混沌系统进行迭代,生成随机序列,并经过预处理和量化处理后得到量化随机序列;S2. Substitute M, N, S and the initial value into the chaotic system to iterate, generate a random sequence, and obtain a quantized random sequence after preprocessing and quantization;

S3.对预处理后的明文图像P进行稀疏处理,利用量化随机序列对稀疏处理后的明文图像P进行置乱操作;S3. Perform sparse processing on the preprocessed plaintext image P, and use a quantized random sequence to perform a scrambling operation on the sparsely processed plaintext image P;

S4.生成测量矩阵,利用测量矩阵对置乱操作后的明文图像P进行压缩感知,然后量化合并,得到D;S4. Generate a measurement matrix, use the measurement matrix to perform compressed sensing on the plaintext image P after the scrambling operation, and then quantize and merge to obtain D;

S5.对D执行扩散操作,得到密文图像E;S5. Execute the diffusion operation on D to obtain the ciphertext image E;

S6.引入载体图像Q,对载体图像进行整数小波变换得到频率系数,将密文图像E拆分,嵌入到频率系数中,然后对频率系数执行逆整数小波变化,得到最终的视觉安全图像F。S6. Introduce the carrier image Q, perform integer wavelet transform on the carrier image to obtain the frequency coefficient, split the ciphertext image E, embed it into the frequency coefficient, and then perform inverse integer wavelet transformation on the frequency coefficient to obtain the final visual security image F.

优选地,步骤S1所述的对明文图像P进行预处理的过程为:将明文图像P划分为四个子图Pi,i=1,2,3,4,i表示子图的序号;其中,抽取明文图像P的奇数行奇数列组成第一个子图P1,抽取明文图像P的奇数行偶数列组成第二个子图P2,抽取明文图像P的偶数行奇数列组成第三个子图P3,抽取明文图像P的偶数行偶数列组成第四个子图P4Preferably, the process of preprocessing the plaintext image P described in step S1 is: dividing the plaintext image P into four sub-images P i , i=1, 2, 3, 4, i represents the serial number of the sub-image; wherein, Extract the odd rows and odd columns of the plaintext image P to form the first subimage P1 , extract the odd rows and even columns of the plaintext image P to form the second subimage P2 , and extract the even rows and odd columns of the plaintext image P to form the third subimage P 3. Extract even-numbered rows and even-numbered columns of the plaintext image P to form a fourth sub-image P 4 .

优选地,设混沌系统的初始值为x0,y0,z0,步骤S2中,M、N、S和初始值代入混沌系统进行迭代的次数为M×N+S次,从1+S处开始取M×N个数,生成三个长度为M×N的随机序列x,y和z,对随机序列x,y和z进行预处理的公式为:Preferably, the initial value of the chaotic system is set to x 0 , y 0 , z 0 , and in step S2, M, N, S and the initial value are substituted into the chaotic system for M×N+S iterations, starting from 1+S Start to take M×N numbers at , and generate three random sequences x, y and z of length M×N. The formula for preprocessing the random sequences x, y and z is:

Figure GDA0003911133870000031
Figure GDA0003911133870000031

其中,x',y',z'表示预处理后的随机序列,继续对x',y',z'进行量化处理的公式为:Among them, x', y', z' represent the preprocessed random sequence, and the formula for continuing to quantify x', y', z' is:

Figure GDA0003911133870000032
Figure GDA0003911133870000032

其中,X,Y,Z表示x',y',z'量化处理后得到的量化随机序列。在此,首先对随机序列x,y和z进行预处理,使其具有更强的随机性,之后的量化处理即为映射,混沌系统生成的随机序列与明文图像信息相关联,有力抵抗已知明文攻击和选择明文攻击。Wherein, X, Y, and Z represent quantized random sequences obtained after quantization processing of x', y', and z'. Here, the random sequence x, y, and z is firstly preprocessed to make it more random, and the subsequent quantization process is mapping. The random sequence generated by the chaotic system is associated with the plaintext image information, which is powerful against known Plaintext attack and chosen plaintext attack.

优选地,预处理后的明文图像P已划分为四个子图Pi,i=1,2,3,4,i表示子图的序号,步骤S3中,对明文图像P的第i个子图Pi进行稀疏处理的公式为:Preferably, the preprocessed plaintext image P has been divided into four subgraphs P i , i=1, 2, 3, 4, i represents the serial number of the subgraph, in step S3, for the ith subgraph P of the plaintext image P The formula for sparse processing of i is:

Ai=Psi×Pi×Psi'i=1,2,3,4A i =Psi×P i ×Psi'i=1,2,3,4

其中,Psi表示稀疏基,通过DWT函数得到,Ai表示稀疏处理后的第i个子图。Among them, Psi represents the sparse basis, which is obtained through the DWT function, and A i represents the ith subgraph after sparse processing.

优选地,利用量化随机序列对稀疏处理后的明文图像P进行置乱操作的过程为:Preferably, the process of performing a scrambling operation on the sparsely processed plaintext image P by using a quantized random sequence is:

对量化随机序列的Y进行排序,得到其索引序列SY;Sort the quantized random sequence Y to obtain its index sequence SY;

对稀疏处理后的明文图像P进行置乱操作,设置乱操作后的明文图像P表示为Bi,i=1,2,3,4,满足公式:Perform a scrambling operation on the plaintext image P after the sparse processing, and set the plaintext image P after the scrambling operation as Bi , i=1, 2, 3, 4, satisfying the formula:

Bi(j)=Ai(SY(j));B i (j) = A i (SY (j));

其中,j=1,2,3…,M/2×N/2。Among them, j=1, 2, 3..., M/2×N/2.

优选地,步骤S4所述生成测量矩阵的过程为:Preferably, the process of generating the measurement matrix described in step S4 is:

从量化随机序列的X中抽取前M/2个数形成序列X',对序列X'进行排序,得到其索引序列SX;Extract the first M/2 numbers from the quantized random sequence X to form a sequence X', sort the sequence X', and obtain its index sequence SX;

设混沌系统的压缩比为CR,利用哈达玛矩阵H生成测量矩阵,公式为:Assuming that the compression ratio of the chaotic system is CR, the Hadamard matrix H is used to generate the measurement matrix, and the formula is:

Phi=H(SX(1:CR*M/2),:)Phi=H(SX(1:CR*M/2),:)

其中,Phi表示测量矩阵,利用混沌系统的随机序列来控制生成测量矩阵,减少了测量矩阵的传输。Among them, Phi represents the measurement matrix, and the random sequence of the chaotic system is used to control the generation of the measurement matrix, which reduces the transmission of the measurement matrix.

优选地,置乱操作后的明文图像P表示为Bi,i=1,2,3,4,对置乱操作后的明文图像P进行压缩感知的公式为:Preferably, the plaintext image P after the scrambling operation is expressed as Bi , i=1, 2, 3, 4, and the formula for performing compressed sensing on the plaintext image P after the scrambling operation is:

Ci=Phi×Bi C i =Phi×B i

其中,Ci表示压缩感知后的图像,i=1,2,3,4,对Ci进行量化合并,得到Di,i=1,2,3,4,整合为D,其中,Di的求解公式为:Among them, C i represents the image after compressed sensing, i = 1, 2, 3, 4, and C i is quantized and combined to obtain D i , i = 1, 2, 3, 4, integrated into D, where, D i The solution formula is:

Di=255+255×(Ci-max(Ci(:)))/(max(Ci(:))-min(Ci(:))),在此虽然图像进行了置乱操作,但总的像素数未改变,进行量化合并,将Ci的值映射到[0-255]之间,为后续的嵌入操作做准备。D i =255+255×(C i -max(C i (:)))/(max(C i (:))-min(C i (:))), although the image has been scrambled , but the total number of pixels has not changed, quantization and merging are performed, and the value of C i is mapped to [0-255] to prepare for the subsequent embedding operation.

优选地,步骤S5所述对D执行扩散操作,得到密文图像E的具体过程为:Preferably, the specific process of performing the diffusion operation on D in step S5 to obtain the ciphertext image E is as follows:

设D的大小为md×nd,将随机序列Z重组成大小为md×nd的矩阵W,在对D执行扩散操作时,首先对D进行行方向的加取模扩散,再进行列方向上的加取模扩散,得到密文图像E,过程满足公式:Let the size of D be md×nd, and recombine the random sequence Z into a matrix W with size md×nd. When performing the diffusion operation on D, first perform addition and modulo diffusion on D in the row direction, and then carry out the addition and modulo diffusion in the column direction. Add modulo diffusion to get the ciphertext image E, and the process satisfies the formula:

Figure GDA0003911133870000041
Figure GDA0003911133870000041

其中,p=1,2,3,…,md;k=1,2,3,…,nd,扩散操作进一步提高图像加密的安全性。Wherein, p=1, 2, 3,..., md; k=1, 2, 3,..., nd, the diffusion operation further improves the security of image encryption.

优选地,步骤S6中载体图像Q的大小为2M×2N,所述对载体图像进行的整数小波变换为二级整数小波变换,二级整数小波变换后的大小为:M/2×N/2,得到的频率系数为LL,HL,LH,HH;Preferably, the size of the carrier image Q in step S6 is 2M×2N, and the integer wavelet transform performed on the carrier image is a two-stage integer wavelet transform, and the size after the two-stage integer wavelet transform is: M/2×N/2 , the obtained frequency coefficients are LL, HL, LH, HH;

根据混沌系统的压缩比CR确定密文图像E的大小,根据密文图像E的大小将密文图像E进行拆分,拆分后的密文图像E嵌入到LL,HL,LH,HH中的相应频率系数中,对频率系数执行逆整数小波变换,得到最终的视觉安全图像F。Determine the size of the ciphertext image E according to the compression ratio CR of the chaotic system, split the ciphertext image E according to the size of the ciphertext image E, and embed the split ciphertext image E into LL, HL, LH, HH Among the corresponding frequency coefficients, an inverse integer wavelet transform is performed on the frequency coefficients to obtain the final visual safety image F.

优选地,对频率系数执行的逆整数小波变化为二次逆整数小波变换。Preferably, the inverse integer wavelet transform performed on the frequency coefficients is a quadratic inverse integer wavelet transform.

在此,结合信息隐藏技术,将密文图像E嵌入到载体图像Q中,提升了图像信息的安全隐藏效果,利用整数小波变换以及逆整数小波变换,实现可逆性,可降低因频域变换而导致的数据丢失。Here, combined with information hiding technology, the ciphertext image E is embedded into the carrier image Q, which improves the security hiding effect of the image information, and uses integer wavelet transform and inverse integer wavelet transform to achieve reversibility, which can reduce the loss caused by frequency domain transform. resulting in data loss.

与现有技术相比,本发明技术方案的有益效果是:Compared with the prior art, the beneficial effects of the technical solution of the present invention are:

本发明提出一种基于整数小波变换和压缩感知的图像加密方法,该方法对明文图像进行预处理,然后在混沌系统中进行迭代,生成随机序列,并经过预处理和量化处理后得到量化随机序列,使随机序列具有更强的随机性,混沌系统生成的随机序列与明文图像信息相关联,能有力抵抗已知明文攻击和选择明文攻击;然后对预处理后的明文图像进行稀疏处理,利用量化随机序列对稀疏处理后的明文图像进行置乱操作,生成测量矩阵,利用测量矩阵对置乱操作后的明文图像进行压缩感知,利用混沌系统的随机序列来控制生成测量矩阵,减少了测量矩阵的传输,在嵌入载体图像前,执行扩散操作,进一步提高图像加密的安全性,解决当前基于压缩感知的空域图像加密方法在压缩感知后直接进行载体嵌入的方式存在加密安全性不足的问题,最后对载体图像进行整数小波变换得到频率系数,将密文图像拆分,嵌入到频率系数中,然后对频率系数执行逆整数小波变化,利用整数小波变换可实现可逆性,降低因频域变换而导致的数据丢失,提高了图像信息的加密安全性。The present invention proposes an image encryption method based on integer wavelet transform and compressed sensing. The method preprocesses the plaintext image, then iterates in the chaotic system to generate a random sequence, and obtains a quantized random sequence after preprocessing and quantization. , so that the random sequence has stronger randomness. The random sequence generated by the chaotic system is associated with the plaintext image information, which can effectively resist the known plaintext attack and the chosen plaintext attack; then the preprocessed plaintext image is sparsely processed, and the quantitative The random sequence scrambles the sparsely processed plaintext image to generate a measurement matrix, uses the measurement matrix to perform compressed sensing on the scrambled plaintext image, uses the random sequence of the chaotic system to control the generation of the measurement matrix, and reduces the cost of the measurement matrix. Transmission, before embedding the carrier image, perform a diffusion operation to further improve the security of image encryption, and solve the problem of insufficient encryption security in the current airspace image encryption method based on compressed sensing directly embedding the carrier after compressed sensing. Integer wavelet transform is performed on the carrier image to obtain frequency coefficients, the ciphertext image is split and embedded into the frequency coefficients, and then inverse integer wavelet transformation is performed on the frequency coefficients. Integer wavelet transform can be used to achieve reversibility and reduce the loss caused by frequency domain transformation. Data loss, improving the encryption security of image information.

附图说明Description of drawings

图1表示本发明实施例中提出的基于整数小波变换和压缩感知的图像加密方法的流程图;Fig. 1 represents the flow chart of the image encryption method based on integer wavelet transform and compressed sensing proposed in the embodiment of the present invention;

图2表示本发明实施例中提出的一种具体的明文图像House的示意图;Fig. 2 shows a schematic diagram of a specific plaintext image House proposed in the embodiment of the present invention;

图3表示利用本发明提出的图像加密方法对图2所述的明文图像进行加密后得到的密文图像的示意图;Fig. 3 represents the schematic diagram of the ciphertext image that utilizes the image encryption method that the present invention proposes to obtain after encrypting the plaintext image described in Fig. 2;

图4表示本发明实施例中提出的一种具体的载体图像Pentagon的示意图;FIG. 4 shows a schematic diagram of a specific carrier image Pentagon proposed in an embodiment of the present invention;

图5表示本发明实施例中将密文图像嵌入载体图像的最终视觉安全图像的示意图;Fig. 5 shows the schematic diagram of the final visual security image of embedding the ciphertext image into the carrier image in the embodiment of the present invention;

图6表示对利用本发明所提加密方法加密后的图像进行解密后的明文图像图;Fig. 6 represents the plaintext image diagram after decrypting the image encrypted by the encryption method proposed by the present invention;

图7表示图4对应的载体图像Pentagon的直方图;Fig. 7 represents the histogram of the carrier image Pentagon corresponding to Fig. 4;

图8表示最终视觉安全图像的直方图;Figure 8 represents a histogram of the final visual security image;

图9表示图2对应的明文图像House的直方图;Fig. 9 shows the histogram of the plaintext image House corresponding to Fig. 2;

图10表示密文图像的直方图;Fig. 10 represents the histogram of the ciphertext image;

图11表示解密后的明文图像的直方图。Fig. 11 shows a histogram of the decrypted plaintext image.

具体实施方式Detailed ways

附图仅用于示例性说明,不能理解为对本专利的限制;The accompanying drawings are for illustrative purposes only and cannot be construed as limiting the patent;

为了更好地说明本实施例,附图某些部位会有省略、放大或缩小,并不代表实际尺寸;In order to better illustrate this embodiment, some parts of the drawings will be omitted, enlarged or reduced, and do not represent the actual size;

对于本领域技术人员来说,附图中某些公知内容说明可能省略是可以理解的。For those skilled in the art, it is understandable that some well-known content descriptions in the drawings may be omitted.

附图中描述位置关系的用于示例性说明,不能理解为对本专利的限制;The description of the positional relationship in the drawings is for illustrative purposes, and should not be construed as a limitation to this patent;

下面结合附图和实施例对本发明的技术方案做进一步的说明。The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and embodiments.

实施例Example

如图1所示的基于整数小波变换和压缩感知的图像加密方法,包括:The image encryption method based on integer wavelet transform and compressed sensing as shown in Figure 1 includes:

S1.选定混沌系统,设置混沌系统的初始值,确定大小为M×N及像素和为S的明文图像P,对明文图像P进行预处理;在本实施例中,选用的一种具体的明文图像如图2所示。S1. Select the chaotic system, set the initial value of the chaotic system, determine the plaintext image P whose size is M×N and the pixel sum is S, and preprocess the plaintext image P; in this embodiment, a specific one is selected The plaintext image is shown in Figure 2.

具体对明文图像P进行预处理的过程为:将明文图像P划分为四个子图Pi,i=1,2,3,4,i表示子图的序号;其中,抽取明文图像P的奇数行奇数列组成第一个子图P1,抽取明文图像P的奇数行偶数列组成第二个子图P2,抽取明文图像P的偶数行奇数列组成第三个子图P3,抽取明文图像P的偶数行偶数列组成第四个子图P4;另外,混沌系统的初始值设置为x0=0.067,y0=0.247,z0=0.863;Specifically, the process of preprocessing the plaintext image P is: divide the plaintext image P into four sub-images Pi, i=1, 2, 3, 4, i represents the serial number of the sub-image; Columns form the first sub-image P 1 , extract the odd-numbered rows and even-numbered columns of the plaintext image P to form the second sub-image P 2 , extract the even-numbered rows and odd-numbered columns of the plaintext image P to form the third sub-image P 3 , and extract the even numbers of the plaintext image P The fourth subgraph P 4 is composed of rows with even columns; in addition, the initial value of the chaotic system is set to x 0 =0.067, y 0 =0.247, z 0 =0.863;

S2.将M、N、S和初始值代入混沌系统进行迭代,生成随机序列,并经过预处理和量化处理后得到量化随机序列;S2. Substitute M, N, S and the initial value into the chaotic system to iterate, generate a random sequence, and obtain a quantized random sequence after preprocessing and quantization;

M、N、S和初始值代入混沌系统进行迭代的次数为M×N+S次,从1+S处开始取M×N个数,生成三个长度为M×N的随机序列x,y和z,对随机序列x,y和z进行预处理的公式为:M, N, S and the initial value are substituted into the chaotic system for M×N+S iterations, and M×N numbers are taken from 1+S to generate three random sequences x, y of length M×N and z, the formula for preprocessing random sequences x, y and z is:

Figure GDA0003911133870000061
Figure GDA0003911133870000061

其中,x',y',z'表示预处理后的随机序列,继续对x',y',z'进行量化处理的公式为:Among them, x', y', z' represent the preprocessed random sequence, and the formula for continuing to quantify x', y', z' is:

Figure GDA0003911133870000071
Figure GDA0003911133870000071

其中,X,Y,Z表示x',y',z'量化处理后得到的量化随机序列。在此,首先对随机序列x,y和z进行预处理,使其具有更强的随机性,之后的量化处理即为映射,混沌系统生成的随机序列与明文图像信息相关联,有力抵抗已知明文攻击和选择明文攻击。Wherein, X, Y, and Z represent quantized random sequences obtained after quantization processing of x', y', and z'. Here, the random sequence x, y, and z is firstly preprocessed to make it more random, and the subsequent quantization process is mapping. The random sequence generated by the chaotic system is associated with the plaintext image information, which is powerful against known Plaintext attack and chosen plaintext attack.

S3.对预处理后的明文图像P进行稀疏处理,利用量化随机序列对稀疏处理后的明文图像P进行置乱操作,此步骤实现了第一层图像信息的加密隐藏;S3. Perform sparse processing on the preprocessed plaintext image P, and use a quantized random sequence to perform a scrambling operation on the sparsely processed plaintext image P. This step realizes the encryption and hiding of the first layer of image information;

实际实施时,分别对分块后得到的四个子图Pi(i=1,2,3,4)进行稀疏处理,得到Ai(i=1,2,3,4),对明文图像P的第i个子图Pi进行稀疏处理的公式为:In actual implementation, the four sub-images P i (i=1, 2, 3, 4) obtained after the block are sparsely processed to obtain A i (i = 1, 2, 3, 4), and the plaintext image P The formula for sparse processing of the i-th subgraph P i is:

Ai=Psi×Pi×Psi'i=1,2,3,4A i =Psi×P i ×Psi'i=1,2,3,4

其中,Psi表示稀疏基,通过DWT函数得到,Ai表示稀疏处理后的第i个子图。Among them, Psi represents the sparse basis, which is obtained through the DWT function, and A i represents the ith subgraph after sparse processing.

对量化随机序列的Y进行排序,得到其索引序列SY;Sort the quantized random sequence Y to obtain its index sequence SY;

对稀疏处理后的明文图像P进行置乱操作,设置乱操作后的明文图像P表示为Bi,i=1,2,3,4,满足公式:Perform a scrambling operation on the plaintext image P after the sparse processing, and set the plaintext image P after the scrambling operation as Bi , i=1, 2, 3, 4, satisfying the formula:

Bi(j)=Ai(SY(j));B i (j) = A i (SY (j));

其中,j=1,2,3…,M/2×N/2。Among them, j=1, 2, 3..., M/2×N/2.

S4.生成测量矩阵,利用测量矩阵对置乱操作后的明文图像P进行压缩感知,然后量化合并,得到D,此步骤实现了第二层图像信息的加密隐藏;S4. Generate a measurement matrix, use the measurement matrix to perform compressed sensing on the plaintext image P after the scrambling operation, and then quantize and merge to obtain D. This step realizes the encryption and hiding of the second layer of image information;

从量化随机序列的X中抽取前M/2个数形成序列X',对序列X'进行排序,得到其索引序列SX;Extract the first M/2 numbers from the quantized random sequence X to form a sequence X', sort the sequence X', and obtain its index sequence SX;

设混沌系统的压缩比为CR,在本实施例中,CR取0.5,利用哈达玛矩阵H生成测量矩阵,公式为:Let the compression ratio of the chaotic system be CR. In this embodiment, CR is 0.5, and the Hadamard matrix H is used to generate the measurement matrix. The formula is:

Phi=H(SX(1:CR*M/2),:)Phi=H(SX(1:CR*M/2),:)

其中,Phi表示测量矩阵,利用混沌系统的随机序列来控制生成测量矩阵,减少了测量矩阵的传输;置乱操作后的明文图像P表示为Bi,i=1,2,3,4,对置乱操作后的明文图像P进行压缩感知的公式为:Among them, Phi represents the measurement matrix, and the random sequence of the chaotic system is used to control the generation of the measurement matrix, which reduces the transmission of the measurement matrix; the plaintext image P after the scrambling operation is expressed as Bi, i =1, 2, 3, 4, for The formula for compressed sensing of the plaintext image P after the scrambling operation is:

Ci=Phi×Bi C i =Phi×B i

其中,Ci表示压缩感知后的图像,i=1,2,3,4,对Ci进行量化合并,得到Di,i=1,2,3,4,整合为D,其中,Di的求解公式为:Among them, C i represents the image after compressed sensing, i = 1, 2, 3, 4, and C i is quantized and combined to obtain D i , i = 1, 2, 3, 4, integrated into D, where, D i The solution formula is:

Di=255+255×(Ci-max(Ci(:)))/(max(Ci(:))-min(Ci(:))),在此虽然图像进行了置乱操作,但总的像素数未改变,进行量化合并,将Ci的值映射到[0-255]之间,为后续的嵌入操作做准备。D i =255+255×(C i -max(C i (:)))/(max(C i (:))-min(C i (:))), although the image has been scrambled , but the total number of pixels has not changed, quantization and merging are performed, and the value of C i is mapped to [0-255] to prepare for the subsequent embedding operation.

S5.对D执行扩散操作,得到密文图像E,此步骤实现了第一层图像信息的加密隐藏,加密后得到的密文图像的示意图如图3所示。S5. Perform a diffusion operation on D to obtain the ciphertext image E. This step realizes the encryption and hiding of the first layer of image information. The schematic diagram of the ciphertext image obtained after encryption is shown in FIG. 3 .

由于前面执行了置乱操作,只是改变了单块中像素的位置。为了进一步的提高安全性,这里将对整合后的图像D进行扩散操作,先进行行方向的扩散操作,之后进行列方向的扩散操作。设D的大小为md×nd,将随机序列Z重组成大小为md×nd的矩阵W,在对D执行扩散操作时,首先对D进行行方向的加取模扩散,再进行列方向上的加取模扩散,得到密文图像E,过程满足公式:Due to the previous scrambling operation, only the position of the pixel in the single block is changed. In order to further improve security, here the integrated image D will be subjected to a diffusion operation, the diffusion operation in the row direction is performed first, and then the diffusion operation in the column direction is performed. Let the size of D be md×nd, and recombine the random sequence Z into a matrix W with size md×nd. When performing the diffusion operation on D, first perform addition and modulo diffusion on D in the row direction, and then carry out the addition and modulo diffusion in the column direction. Add modulo diffusion to get the ciphertext image E, and the process satisfies the formula:

Figure GDA0003911133870000081
Figure GDA0003911133870000081

其中,p=1,2,3,…,md;k=1,2,3,…,nd,扩散操作进一步提高图像加密的安全性。Wherein, p=1, 2, 3,..., md; k=1, 2, 3,..., nd, the diffusion operation further improves the security of image encryption.

S6.引入载体图像Q,对载体图像进行整数小波变换得到频率系数,将密文图像E拆分,嵌入到频率系数中,然后对频率系数执行逆整数小波变化,得到最终的视觉安全图像F。S6. Introduce the carrier image Q, perform integer wavelet transform on the carrier image to obtain the frequency coefficient, split the ciphertext image E, embed it into the frequency coefficient, and then perform inverse integer wavelet transformation on the frequency coefficient to obtain the final visual security image F.

在本实施例中,如图4所示,采用载体图像Pentagon,载体图像大小为2M×2N,对载体图像进行二级整数小波变换,所述对载体图像进行的整数小波变换为二级整数小波变换,二级整数小波变换后的大小为:M/2×N/2,得到的频率系数为LL,HL,LH,HH;In this embodiment, as shown in Figure 4, the carrier image Pentagon is used, and the size of the carrier image is 2M×2N, and the carrier image is subjected to two-level integer wavelet transform, and the integer wavelet transform performed on the carrier image is a second-level integer wavelet Transformation, the size after two-level integer wavelet transformation is: M/2×N/2, and the obtained frequency coefficients are LL, HL, LH, HH;

根据混沌系统的压缩比CR确定密文图像E的大小,根据密文图像E的大小将密文图像E进行拆分,拆分后的密文图像E嵌入到LL,HL,LH,HH中的相应频率系数中,由于压缩比CR=0.5,所以大小为M×N明文图像P加密后得到的密文图像E的大小为M/2×N,而载体图像Q进行二级整数小波变换后的大小为M/2×N/2。所以将密文图像E拆分成两个大小为M/2×N/2的矩阵E_left,E_right,将E_left嵌入到LH中,将E_right嵌入到HH中,设嵌入系数为α=0.1,嵌入公式为:Determine the size of the ciphertext image E according to the compression ratio CR of the chaotic system, split the ciphertext image E according to the size of the ciphertext image E, and embed the split ciphertext image E into LL, HL, LH, HH Among the corresponding frequency coefficients, since the compression ratio CR=0.5, the size of the ciphertext image E obtained after encrypting the plaintext image P with a size of M×N is M/2×N, and the size of the carrier image Q after two-level integer wavelet transform is The size is M/2×N/2. Therefore, split the ciphertext image E into two matrices E_left and E_right of size M/2×N/2, embed E_left into LH, embed E_right into HH, set the embedding coefficient to α=0.1, and embed the formula for:

Figure GDA0003911133870000091
Figure GDA0003911133870000091

对LL,HL,LH',HH'执行逆整数小波变换,得到最终的视觉安全图像F,此步骤也是实现第四层图像信息的加密隐藏,图5表示将密文图像嵌入载体图像的最终视觉安全图像的示意图,结合信息隐藏技术,将密文图像E嵌入到载体图像Q中,提升了图像信息的安全隐藏效果,利用整数小波变换以及逆整数小波变换,实现可逆性,可降低因频域变换而导致的数据丢失。Perform inverse integer wavelet transform on LL, HL, LH', HH' to obtain the final visual security image F. This step is also to realize the encryption and hiding of the fourth layer of image information. Figure 5 shows the final visual image of embedding the ciphertext image into the carrier image. The schematic diagram of a secure image, combined with information hiding technology, embeds the ciphertext image E into the carrier image Q, which improves the security hiding effect of image information, and uses integer wavelet transform and inverse integer wavelet transform to achieve reversibility, which can reduce the frequency domain Data loss due to conversion.

为进一步验证本发明所提方法的有效性、安全性及解密重构的效果,本发明还继续依据对称性原理,将图5所示的视觉安全图像、图4所示的载体图像以及混沌系统所需的初始值x0=0.067,y0=0.247,z0=0.863作为输入解密,将初始值代入混沌系统迭代计算后得到密钥流,按照数学模型对密钥流进行量化。再进行逆运算,即对视觉安全图像F进行二级整数小波变换,结合载体图像Q提取出密文图像,然后执行逆扩散,反量化,重构,压缩传感恢复,解密后的明文图像如图6所示对于安全性层面,图7表示图4载体图像Pentagon的直方图,图8是视觉安全图像的直方图。可以看出,载体图像的直方图和视觉图像的直方图几乎一样,说明本发明的密文图像的隐藏效果好,视觉表现力强,图9为是明文图像House的直方图,图10为密文图像的直方图,可以看出明文图像的直方图是跌宕起伏的,而密文图像的直方图是平坦的,所以本发明方法彻底改变了图像数据的统计特征,加密效果好,针对于解密过程,图11表示是解密图像的直方图,可以看出与图9所示的明文图像的直方图相似,说明本发明的解密重构效果好,另外本发明中所提的直方图中横坐标均表示灰度级,纵坐标表示像素个数。In order to further verify the effectiveness, security and the effect of decryption and reconstruction of the method proposed in the present invention, the present invention also continues to combine the visual security image shown in Figure 5, the carrier image shown in Figure 4, and the chaotic system based on the principle of symmetry. The required initial values x 0 =0.067, y 0 =0.247, z 0 =0.863 are used as input for decryption, and the initial values are substituted into the chaotic system for iterative calculation to obtain the key stream, and the key stream is quantified according to the mathematical model. Then carry out the inverse operation, that is, carry out two-level integer wavelet transform on the visual security image F, combine the carrier image Q to extract the ciphertext image, and then perform inverse diffusion, inverse quantization, reconstruction, compressed sensing recovery, and the decrypted plaintext image is as follows: Figure 6 shows the security level, Figure 7 shows the histogram of the carrier image Pentagon in Figure 4, and Figure 8 shows the histogram of the visual security image. It can be seen that the histogram of the carrier image is almost the same as the histogram of the visual image, indicating that the ciphertext image of the present invention has a good hiding effect and strong visual expression. Figure 9 is the histogram of the plaintext image House, and Figure 10 is the ciphertext image The histogram of the text image, it can be seen that the histogram of the plaintext image is ups and downs, and the histogram of the ciphertext image is flat, so the method of the present invention has completely changed the statistical characteristics of the image data, and the encryption effect is good. process, Figure 11 shows the histogram of the decrypted image, it can be seen that it is similar to the histogram of the plaintext image shown in Figure 9, indicating that the decryption reconstruction effect of the present invention is good, in addition the abscissa in the histogram mentioned in the present invention Both represent gray levels, and the ordinate represents the number of pixels.

显然,本发明的上述实施例仅是为清楚地说明本发明所作的举例,而并非是对本发明的实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明权利要求的保护范围之内。Apparently, the above-mentioned embodiments of the present invention are only examples for clearly illustrating the present invention, rather than limiting the implementation of the present invention. For those of ordinary skill in the art, other changes or changes in different forms can be made on the basis of the above description. It is not necessary and impossible to exhaustively list all the implementation manners here. All modifications, equivalent replacements and improvements made within the spirit and principles of the present invention shall be included within the protection scope of the claims of the present invention.

Claims (10)

1. An image encryption method based on integer wavelet transform and compressed sensing is characterized by comprising the following steps:
s1, selecting a chaotic system, setting an initial value of the chaotic system, determining a plaintext image P with the size of M multiplied by N, pixels and S, and preprocessing the plaintext image P;
s2, substituting M, N, S and the initial value into the chaotic system for iteration to generate a random sequence, and performing pretreatment and quantization to obtain a quantized random sequence;
s3, performing sparse processing on the preprocessed plaintext image P, and scrambling the sparse processed plaintext image P by using a quantized random sequence;
s4, generating a measurement matrix, performing compressed sensing on the disordered plaintext image P by using the measurement matrix, and then performing quantization and combination to obtain D;
s5, performing diffusion operation on the D to obtain a ciphertext image E;
s6, introducing a carrier image Q, carrying out integer wavelet transformation on the carrier image to obtain a frequency coefficient, splitting a ciphertext image E, embedding the ciphertext image E into the frequency coefficient, and then carrying out inverse integer wavelet transformation on the frequency coefficient to obtain a final visual security image F.
2. The image encryption method based on integer wavelet transform and compressed sensing according to claim 1, wherein the process of preprocessing the plaintext image P in step S1 is as follows: dividing a plaintext picture P into four sub-pictures P i I =1,2,3,4,i denotes the number of the subgraph; wherein, odd rows and odd columns of the plaintext image P are extracted to form a first sub-image P 1 Extracting odd-numbered rows and even-numbered columns of the plaintext image P to form a second sub-image P 2 Extracting the even rows and odd columns of the plaintext image P to form a third sub-image P 3 Extracting even rows and even columns of the plaintext image P to form a fourth sub-image P 4
3. The image encryption method based on integer wavelet transform and compressed sensing of claim 2, wherein the initial value of the chaotic system is set as x 0 ,y 0 ,z 0 In step S2, the number of iterations performed by substituting M, N, S and the initial value into the chaotic system is M × N + S times, and M × N numbers are taken from 1+S to generate three random sequences x, y, and z with a length of M × N, where the formula for preprocessing the random sequences x, y, and z is:
Figure FDA0003911133860000011
wherein, x ', y', z 'represents the random sequence after the pretreatment, and the formula for continuously carrying out the quantization processing on x', y ', z' is as follows:
Figure FDA0003911133860000021
wherein X, Y and Z represent quantized random sequences obtained after the quantization processing of X ', Y ' and Z '.
4. The method of claim 3The image encryption method based on integer wavelet transform and compressed sensing is characterized in that a preprocessed plaintext image P is divided into four sub-images P i I =1,2,3,4,i indicates the number of sub-pictures, and in step S3, for the i-th sub-picture P of the plaintext picture P i The formula for performing the sparse processing is as follows:
A i =Psi×P i ×Psi' i=1,2,3,4
where Psi denotes the sparse basis, obtained by DWT function, A i The ith sub-map after the thinning-out process is shown.
5. The image encryption method based on integer wavelet transform and compressed sensing according to claim 4, characterized in that the process of scrambling the sparsely processed plaintext image P by using the quantized random sequence is as follows:
sequencing Y of the quantized random sequence to obtain an index sequence SY;
scrambling operation is carried out on the plaintext image P after sparse processing, and the plaintext image P after scrambling operation is set to be represented as B i I =1,2,3,4, satisfying the formula:
B i (j)=A i (SY(j));
wherein j =1,2,3 …, M/2 × N/2.
6. The image encryption method based on integer wavelet transform and compressed sensing according to claim 5, wherein the process of generating the measurement matrix in step S4 is:
extracting the front M/2 number from the X of the quantized random sequence to form a sequence X ', and sequencing the sequence X' to obtain an index sequence SX;
the compression ratio of the chaotic system is set as CR, a Hadamard matrix H is utilized to generate a measurement matrix, and the formula is as follows:
Phi=H(SX(1:CR*M/2),:)
where Phi denotes a measurement matrix.
7. The image encryption method based on integer wavelet transform and compressive sensing as claimed in claim 6, whereinThen, the plaintext image P after scrambling operation is represented as B i I =1,2,3,4, and the expression for compressed sensing of the plaintext image P after scrambling operation is:
C i =Phi×B i
wherein, C i Represents the compressed perceived image, i =1,2,3,4, for C i Carrying out quantization combination to obtain D i I =1,2,3,4, integrated as D, where D i The solving formula of (2) is as follows:
D i =255+255×(C i -max(C i (:)))/(max(C i (:))-min(C i (:)))。
8. the image encryption method based on integer wavelet transform and compressed sensing of claim 7, wherein the step S5 of performing diffusion operation on D to obtain the ciphertext image E comprises the following specific processes:
and (2) setting the size of D as md × nd, recombining the quantized random sequence Z into a matrix W with the size of md × nd, and performing modulo diffusion on D in the row direction and then in the column direction to obtain a ciphertext image E when performing diffusion operation on D, wherein the process meets the formula:
Figure FDA0003911133860000031
wherein p =1,2,3, …, md; k =1,2,3, …, nd.
9. The image encryption method based on integer wavelet transform and compressed sensing of claim 8, wherein the size of the carrier image Q in step S6 is 2 mx 2N, the integer wavelet transform performed on the carrier image is a secondary integer wavelet transform, and the size of the carrier image Q after the secondary integer wavelet transform is: m/2 XN/2, and the obtained frequency coefficients are LL, HL, LH and HH;
determining the size of a ciphertext image E according to the compression ratio CR of the chaotic system, splitting the ciphertext image E according to the size of the ciphertext image E, embedding the split ciphertext image E into corresponding frequency coefficients of LL, HL, LH and HH, and performing inverse integer wavelet transform on the frequency coefficients to obtain a final visual security image F.
10. The integer wavelet transform and compressed sensing-based image encryption method of claim 9, wherein the inverse integer wavelet transform performed on the frequency coefficients is a quadratic inverse integer wavelet transform.
CN202110378244.3A 2021-04-08 2021-04-08 Image encryption method based on integer wavelet transform and compressed sensing Active CN113115053B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110378244.3A CN113115053B (en) 2021-04-08 2021-04-08 Image encryption method based on integer wavelet transform and compressed sensing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110378244.3A CN113115053B (en) 2021-04-08 2021-04-08 Image encryption method based on integer wavelet transform and compressed sensing

Publications (2)

Publication Number Publication Date
CN113115053A CN113115053A (en) 2021-07-13
CN113115053B true CN113115053B (en) 2023-02-07

Family

ID=76714897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110378244.3A Active CN113115053B (en) 2021-04-08 2021-04-08 Image encryption method based on integer wavelet transform and compressed sensing

Country Status (1)

Country Link
CN (1) CN113115053B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113904764B (en) * 2021-09-18 2023-06-16 大连大学 Image encryption method based on multi-scale compressed sensing and Markov model
CN113873094B (en) * 2021-09-24 2023-05-23 电子科技大学 Chaotic compressed sensing image encryption method
CN113965660B (en) * 2021-10-19 2023-04-28 广东电网有限责任公司 Image encryption method, device and system
CN115643346B (en) * 2022-07-04 2025-03-04 中国矿业大学 Fast image encryption method based on chaos and pseudo wavelet transform

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004126484A (en) * 2002-10-01 2004-04-22 Chaos Sangyo Gijutsu Kenkyusho:Kk Method for compressing and ciphering image data
CN105513002A (en) * 2015-11-30 2016-04-20 广东海洋大学 Novel image encryption method based on correlation between chaos and plaintext
CN105704500A (en) * 2016-03-17 2016-06-22 哈尔滨工业大学(威海) Novel chaos-based image lossless compression encryption joint algorithm
CN106778304A (en) * 2016-12-09 2017-05-31 交通运输部水运科学研究所 A kind of quick New chaotic image encryption method with related scramble mechanism in plain text
CN111932430A (en) * 2020-01-15 2020-11-13 南京信息工程大学 Image encryption method based on FPGA

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7349542B2 (en) * 2002-07-25 2008-03-25 Georgia Tech Research Corporation Systems, methods and computer program products for encryption and decryption using wavelet transforms

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004126484A (en) * 2002-10-01 2004-04-22 Chaos Sangyo Gijutsu Kenkyusho:Kk Method for compressing and ciphering image data
CN105513002A (en) * 2015-11-30 2016-04-20 广东海洋大学 Novel image encryption method based on correlation between chaos and plaintext
CN105704500A (en) * 2016-03-17 2016-06-22 哈尔滨工业大学(威海) Novel chaos-based image lossless compression encryption joint algorithm
CN106778304A (en) * 2016-12-09 2017-05-31 交通运输部水运科学研究所 A kind of quick New chaotic image encryption method with related scramble mechanism in plain text
CN111932430A (en) * 2020-01-15 2020-11-13 南京信息工程大学 Image encryption method based on FPGA

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Spatial image encryption algorithm based on chaotic map and pixel frequency;Guodong YE 等;《SCIENCE CHINA Information Sciences》;20171020;第1-3页 *

Also Published As

Publication number Publication date
CN113115053A (en) 2021-07-13

Similar Documents

Publication Publication Date Title
CN113115053B (en) Image encryption method based on integer wavelet transform and compressed sensing
Makbol et al. A new robust and secure digital image watermarking scheme based on the integer wavelet transform and singular value decomposition
Al-Ataby et al. A modified high capacity image steganography technique based on wavelet transform
Xiang et al. Joint SPIHT compression and selective encryption
CN106600518A (en) Image encryption method and image decryption method with visual security and data security based on compressed sensing
Bao et al. A secure and robust image encryption algorithm based on compressive sensing and DNA coding
Liu et al. Robust visual cryptography-based watermarking scheme for multiple cover images and multiple owners
CN114157772B (en) Digital image encryption method based on space-time chaotic system and half tensor product compressed sensing
Xiang et al. Cryptanalysis and improvement of a reversible data-hiding scheme in encrypted images by redundant space transfer
Prabakaran et al. Dual transform based steganography using wavelet families and statistical methods
Han et al. A digital watermarking algorithm of color image based on visual cryptography and discrete cosine transform
CN103391482A (en) Blind digital watermarking coding and decoding method capable of resisting geometric attack
Chen et al. A visually secure image encryption method based on integer wavelet transform and rhombus prediction
Baranwal et al. Using chaos to encrypt images with reconstruction through deep learning model for smart healthcare
CN109543425B (en) Image data hiding method based on tensor decomposition
Han et al. DWT-domain dual watermarking algorithm of color image based on visual cryptography
Hameed et al. High capacity image steganography system based on multi-layer security and LSB exchanging method
Dewangan et al. Development and analysis of stego image using discrete wavelet transform
Alam et al. A Novel Hybrid Watermarking scheme with Image authentication based on frequency domain, 2-Level SVD using chaotic map.
Talal et al. Steganographic Data Hiding using Quantum Behaved Particle Swarm Optimization and an enhanced AES algorithm
Hussain Multi-level steganography system using wavelet transform
Chalam et al. Unified Approach with Neural Network for Authentication, Security and Compression of Image: UNICAP
CN118735759B (en) Method of Chebyshev Toeplitz Chaotic Sensing Matrix for CSE
CN113486386B (en) Double-image compression encryption method based on half-tensor compressed sensing
Ye et al. An image hiding scheme based on 3D skew tent map and discrete wavelet transform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant