CN110401783B - Color image encryption method and device - Google Patents

Color image encryption method and device Download PDF

Info

Publication number
CN110401783B
CN110401783B CN201910542534.XA CN201910542534A CN110401783B CN 110401783 B CN110401783 B CN 110401783B CN 201910542534 A CN201910542534 A CN 201910542534A CN 110401783 B CN110401783 B CN 110401783B
Authority
CN
China
Prior art keywords
matrix
quaternion
component
complex matrix
complex
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
CN201910542534.XA
Other languages
Chinese (zh)
Other versions
CN110401783A (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.)
Chengdu Guowei Xinan Information Technology Co ltd
Shenzhen Lizhuan Technology Transfer Center Co ltd
Original Assignee
Capital Normal 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 Capital Normal University filed Critical Capital Normal University
Priority to CN201910542534.XA priority Critical patent/CN110401783B/en
Publication of CN110401783A publication Critical patent/CN110401783A/en
Application granted granted Critical
Publication of CN110401783B publication Critical patent/CN110401783B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/44Secrecy systems
    • 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/119Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
    • 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/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • 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

Abstract

The invention discloses a color image encryption method and a color image encryption device, wherein the method comprises the following steps: encoding the color image into a first quaternion matrix; dividing the quaternion matrix into sub-blocks which are not overlapped with each other, and modulating and carrying out quaternion Gyrator transformation on each sub-block to obtain a second quaternion matrix; extracting a real part component and first to third imaginary part components of the second quaternion matrix, and constructing to obtain a first complex matrix and a second complex matrix; performing multi-resolution decomposition on the first complex matrix and the second complex matrix to obtain an approximate component and a detail component, and recombining to obtain a third complex matrix and a fourth complex matrix; and performing Gyrator transformation with an angle of beta on the third complex matrix and the fourth complex matrix to respectively obtain a first ciphertext image and a second ciphertext image. The method effectively avoids the complexity of a single-channel processing mode, can hide meaningful contents of the image, and can be applied to the field of multimedia information safety.

Description

Color image encryption method and device
Technical Field
The present invention relates to the field of image encryption technologies, and in particular, to a color image encryption method and apparatus.
Background
With the continuous development of image acquisition devices, more and more color images appear in people's daily life and work. On one hand, the information presented by the images may contain personal privacy, and the information is transmitted through the Internet and faces the problem of illegal transmission and use. On the other hand, these images can also be easily tampered with free software. Therefore, security of image information faces a great challenge.
For color image encryption, an existing grayscale image encryption method may be used. Such as an index format-based color image encryption method that represents a color image by an integer matrix and a color mapping matrix and processes the integer matrix as a grayscale image. But this preprocessing method is prone to loss of color information. In addition, the color image itself can be regarded as a multi-channel gray image, each channel component can be processed separately in the encryption process and the corresponding decryption process, and then the results are combined together. For example, Panna et al propose a color image encryption method based on fractional order Fourier transform and wavelet transform of image subblocks, which treats each color component as a gray image, and the encryption process is not only cumbersome, but also the ciphertext requires a large storage space.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, one objective of the present invention is to provide a color image encryption method, which effectively avoids the complexity of a single-channel processing manner, can hide meaningful contents of an image, and can be applied to the field of multimedia information security.
Another object of the present invention is to provide a color image encryption apparatus.
In order to achieve the above object, an embodiment of an aspect of the present invention provides a color image encryption method, including the following steps: step S1: encoding the color image into a first quaternion matrix; step S2: dividing the quaternion matrix into sub-blocks which are not overlapped with each other, and modulating and carrying out quaternion Gyrator transformation on each sub-block to obtain a second quaternion matrix; step S3: extracting a real part component and first to third imaginary part components of the second quaternion matrix, and constructing a first complex matrix and a second complex matrix according to the real part component and the first to third imaginary part components; step S4: performing multi-resolution decomposition on the first complex matrix and the second complex matrix to obtain an approximate component and a detail component, and recombining according to the approximate component and the detail component to obtain a third complex matrix and a fourth complex matrix; step S5: and carrying out Gyrator transformation with an angle of beta on the third complex matrix and the fourth complex matrix to respectively obtain a first ciphertext image and a second ciphertext image.
The color image encryption method of the embodiment of the invention expresses the color image as a quaternion matrix to carry out integral coding and processing, avoids the complexity of a single-channel processing mode, can hide the meaningful content of the image, and can be applied to the field of multimedia information safety.
In addition, the color image encryption method according to the above embodiment of the present invention may further have the following additional technical features:
further, in one embodiment of the present invention, the first quaternion matrix is:
fq(x,y)=ifR(x,y)+jfG(x,y)+kfB(x,y),
wherein, (x, y) represents spatial domain coordinates; i. j and k satisfy: i.e. i2=j2=k2=-1,ij=k,ji=-k,jk=i,kj=-i,ki=j,ik=-j;fR(x,y)、fG(x, y) and fB(x, y) correspond to the red, green, and blue color components of the color image, respectively.
Further, in an embodiment of the present invention, the formula for dividing the quaternion matrix into sub-blocks that do not overlap with each other is as follows:
Figure BDA0002103016800000021
wherein, mu1Is any unit pure four element number, mu ═ i gamma1+jγ2+kγ3And mu2=-1,γ1、γ2And gamma3Are all real numbers, Z is a random matrix and Z is ∈ [0,1 ]]。
Further, in one embodiment of the present invention, the quaternion Gyrator transform formula is:
Figure BDA0002103016800000022
where (u, v) are frequency domain coordinates and μ is an arbitrary unit pure quaternion.
Further, in an embodiment of the present invention, the calculation formula of the first complex matrix and the second complex matrix is:
Figure BDA0002103016800000023
where S real component, X, Y and Z are the first imaginary component, the second imaginary component and the third imaginary component, respectively.
In order to achieve the above object, another embodiment of the present invention provides a color image encryption apparatus, including: an encoding module for encoding the color image into a first quaternion matrix; the dividing module is used for dividing the quaternion matrix into non-overlapping sub-blocks, and modulating and quaternion Gyrator transforming each sub-block to obtain a second quaternion matrix; an extracting module, configured to extract a real component and first to third imaginary components of the second quaternion matrix, and construct a first complex matrix and a second complex matrix according to the real component and the first to third imaginary components; the decomposition module is used for carrying out multi-resolution decomposition on the first complex matrix and the second complex matrix to obtain an approximate component and a detail component, and recombining the approximate component and the detail component to obtain a third complex matrix and a fourth complex matrix; and the transformation module is used for carrying out Gyrator transformation with an angle of beta on the third complex matrix and the fourth complex matrix to respectively obtain a first ciphertext image and a second ciphertext image.
The color image encryption device of the embodiment of the invention expresses the color image as a quaternion matrix to carry out integral coding and processing, avoids the complexity of a single-channel processing mode, can hide the meaningful content of the image, and can be applied to the field of multimedia information safety.
In addition, the color image encryption apparatus according to the above-described embodiment of the present invention may further have the following additional technical features:
further, in one embodiment of the present invention, the first quaternion matrix is:
fq(x,y)=ifR(x,y)+jfG(x,y)+kfB(x,y),
wherein, (x, y) represents spatial domain coordinates; i. j and k satisfy: i.e. i2=j2=k2=-1,ij=k,ji=-k,jk=i,kj=-i,ki=j,ik=-j;fR(x,y)、fG(x, y) and fB(x, y) correspond to the red, green, and blue color components of the color image, respectively.
Further, in an embodiment of the present invention, the formula for dividing the quaternion matrix into sub-blocks that do not overlap with each other is as follows:
Figure BDA0002103016800000031
wherein, mu1Is any unit pure four element number, mu ═ i gamma1+jγ2+kγ3And mu2=-1,γ1、γ2And gamma3Are all real numbers, Z is a random matrix and Z is ∈ [0,1 ]]。
Further, in one embodiment of the present invention, the quaternion Gyrator transform formula is:
Figure BDA0002103016800000032
where (u, v) are frequency domain coordinates and μ is an arbitrary unit pure quaternion.
Further, in an embodiment of the present invention, the calculation formula of the first complex matrix and the second complex matrix is:
Figure BDA0002103016800000033
where S real component, X, Y and Z are the first imaginary component, the second imaginary component and the third imaginary component, respectively.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flow chart of a color image encryption method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a color image encryption method according to an embodiment of the present invention;
FIG. 3 is a test image according to an embodiment of the present invention;
FIG. 4 is a ciphertext image according to an embodiment of the present invention;
FIG. 5 is a decrypted image according to an embodiment of the invention;
fig. 6 is a schematic structural diagram of a color image encryption apparatus according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
A color image encryption method and apparatus proposed according to an embodiment of the present invention will be described below with reference to the accompanying drawings, and first, a color image encryption method proposed according to an embodiment of the present invention will be described with reference to the accompanying drawings.
Fig. 1 is a flowchart of a color image encryption method according to an embodiment of the present invention.
As shown in fig. 1, the color image encryption method includes the steps of:
step S1: the color image is encoded as a first quaternion matrix.
It should be noted that, the embodiment of the present invention provides a color image encryption method based on quaternion Gyrator transformation and multi-resolution decomposition, and an encryption flow is shown in fig. 1. The specific process is described as follows:
specifically, as shown in fig. 2, the embodiment of the present invention first represents a color image f (x, y) of size N × M as a pure four-element number matrix fq(x, y), namely:
fq(x,y)=ifR(x,y)+jfG(x,y)+kfB(x,y),
wherein: (x, y) represents spatial domain coordinates; i. j and k satisfy: i.e. i2=j2=k2=-1,ij=k,ji=-k,jk=i,kj=-i,ki=j,ik=-j;fR(x,y)、fG(x, y) and fB(x, y) correspond to the red, green, and blue color components of the color image, respectively.
Step S2: and dividing the quaternion matrix into non-overlapping sub-blocks, and modulating and carrying out quaternion Gyrator transformation on each sub-block to obtain a second quaternion matrix.
Specifically, as shown in FIG. 2, a pure four-element number matrix f is formedq(x, y) are divided into 2 x 2 non-overlapping sub-blocks, namely:
Figure BDA0002103016800000041
constructing a phase function
Figure BDA0002103016800000042
Wherein: mu.s1Is any unit pure four-element number, i.e. mu ═ i gamma1+jγ2+kγ3And mu2=-1,{γ1,γ2,γ3Is a real number; z is a random matrix and Z is an element of [0,1 ]]。
Each sub-block is modulated and subjected to quaternion Gyrator transformation with an angle alpha, namely:
G11=Gα{f11·P}
Figure BDA0002103016800000051
Figure BDA0002103016800000052
Figure BDA0002103016800000053
wherein, the formula for calculating the quaternion Gyrator transformation is as follows,
Figure BDA0002103016800000054
here, (u, v) are frequency domain coordinates, and μ is an arbitrary unit pure four element number. It is to be noted that the pair matrix fqOther types of quaternion transformations may also be performed.
Combining the transformation results obtained by each sub-block into a quaternion matrix G, namely:
Figure BDA0002103016800000055
step S3: and extracting a real part component and first to third imaginary part components of the second quaternion matrix, and constructing to obtain a first complex matrix and a second complex matrix according to the real part component and the first to third imaginary part components.
Specifically, as shown in fig. 2, the real component S and three imaginary component matrices X, Y, Z of the quaternion matrix G are extracted, and two complex matrices C are constructed1、C2:
Figure BDA0002103016800000057
Step S4: and performing multi-resolution decomposition on the first complex matrix and the second complex matrix to obtain an approximate component and a detail component, and recombining according to the approximate component and the detail component to obtain a third complex matrix and a fourth complex matrix.
Specifically, as shown in FIG. 2, for matrix C1、C2Performing discrete waveletTransforming to realize multi-resolution decomposition, and recombining the approximate components and detail components obtained by transformation into a new complex matrix A1、A2
Step S5: and performing Gyrator transformation with an angle of beta on the third complex matrix and the fourth complex matrix to respectively obtain a first ciphertext image and a second ciphertext image.
Specifically, as shown in FIG. 2, the complex matrices A1 and A2 are subjected to Gyrator transformation at an angle β to obtain ciphertext images E1 and E2,
E1=Gβ{A1},
E2=Gβ{A2},
wherein, the calculation formula of the Gyrator conversion is as follows,
Figure BDA0002103016800000056
here, μ is an arbitrary unit pure four-element number. It is to be noted that the pair matrix fqOther types of quaternion transformations may also be performed. By performing the inverse operation on the encryption process, the original plaintext image can be recovered.
Further, to verify the effectiveness and feasibility of the method of the present invention, color images Lena (see fig. 3) were selected and tested, the image size was 512 × 512, α is 0.5377, β is 0.9134, and the unit of pure four-element number μ1=0.2673i+0.5345j+0.8018k,
Figure BDA0002103016800000061
According to the above encryption method, the obtained ciphertext image is shown in fig. 4(a) and (b), the information of the ciphertext image is disordered, no information of the original plaintext image can be seen, the correct key is used for decryption, the peak signal-to-noise ratio is 300.6094, the structural similarity is 1.0, and the decrypted image is consistent with the original image.
In summary, based on quaternion Gyrator transformation and multi-resolution decomposition, the embodiment of the present invention provides a color image encryption method, which specifically includes: (1) representing the color image as a pure four-element number matrix; (2) dividing the quaternion matrix into non-overlapping sub-blocks, and performing modulation and quaternion Gyrator transformation; (3) representing the frequency spectrum of the sub-block as two complex matrices; (4) performing multi-resolution decomposition on the two complex matrixes respectively; (5) and carrying out Gyrator transformation on the decomposed matrix to obtain a ciphertext.
According to the color image encryption method provided by the embodiment of the invention, the color image is represented as a quaternion matrix to be subjected to integral coding and processing, the complexity of a single-channel processing mode is avoided, the meaningful content of the image can be hidden, and the method can be applied to the field of multimedia information security.
Next, a color image encryption apparatus proposed according to an embodiment of the present invention is described with reference to the drawings.
Fig. 6 is a schematic structural diagram of a color image encryption apparatus according to an embodiment of the present invention.
As shown in fig. 6, the color image encryption apparatus 10 includes: an encoding module 100, a partitioning module 200, an extraction module 300, a decomposition module 400, and a transformation module 500.
The encoding module 100 is configured to encode the color image into a first quaternion matrix. The dividing module 200 is configured to divide the quaternion matrix into non-overlapping sub-blocks, and perform modulation and quaternion Gyrator conversion on each sub-block to obtain a second quaternion matrix. The extracting module 300 is configured to extract a real component and first to third imaginary components of the second quaternion matrix, and construct a first complex matrix and a second complex matrix according to the real component and the first to third imaginary components. The decomposition module 400 is configured to perform multi-resolution decomposition on the first complex matrix and the second complex matrix to obtain an approximate component and a detail component, and recombine the approximate component and the detail component to obtain a third complex matrix and a fourth complex matrix. The transformation module 500 is configured to perform Gyrator transformation with an angle β on both the third complex matrix and the fourth complex matrix to obtain a first ciphertext image and a second ciphertext image, respectively. The device 10 of the embodiment of the invention effectively avoids the complexity of a single-channel processing mode, can hide meaningful contents of images, and can be applied to the field of multimedia information safety.
Further, in one embodiment of the present invention, the first quaternion matrix is:
fq(x,y)=ifR(x,y)+jfG(x,y)+kfB(x,y),
wherein, (x, y) represents spatial domain coordinates; i. j and k satisfy: i.e. i2=j2=k2=-1,ij=k,ji=-k,jk=i,kj=-i,ki=j,ik=-j;fR(x,y)、fG(x, y) and fB(x, y) correspond to the red, green, and blue color components of the color image, respectively.
Further, in an embodiment of the present invention, the formula for dividing the quaternion matrix into sub-blocks that do not overlap with each other is:
Figure BDA0002103016800000071
wherein, mu1Is any unit pure four element number, mu ═ i gamma1+jγ2+kγ3And mu2=-1,γ1、γ2And gamma3Are all real numbers, Z is a random matrix and Z is ∈ [0,1 ]]。
Further, in one embodiment of the present invention, the quaternion Gyrator transform formula is:
Figure BDA0002103016800000072
where (u, v) are frequency domain coordinates and μ is an arbitrary unit pure quaternion.
Further, in an embodiment of the present invention, the calculation formula of the first complex matrix and the second complex matrix is:
Figure BDA0002103016800000073
where S real component, X, Y and Z are the first imaginary component, the second imaginary component and the third imaginary component, respectively.
It should be noted that the foregoing explanation of the embodiment of the color image encryption method is also applicable to the color image encryption apparatus of this embodiment, and details are not repeated here.
According to the color image encryption device provided by the embodiment of the invention, the color image is represented as a quaternion matrix to be subjected to integral coding and processing, the complexity of a single-channel processing mode is avoided, the meaningful content of the image can be hidden, and the color image encryption device can be applied to the field of multimedia information safety.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the first feature "on" or "under" the second feature may be directly contacting the first and second features or indirectly contacting the first and second features through an intermediate. Also, a first feature "on," "over," and "above" a second feature may be directly or diagonally above the second feature, or may simply indicate that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature may be directly under or obliquely under the first feature, or may simply mean that the first feature is at a lesser elevation than the second feature.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (10)

1. A color image encryption method, comprising the steps of:
step S1: encoding the color image into a first quaternion matrix;
step S2: dividing the quaternion matrix into sub-blocks which are not overlapped with each other, and modulating and carrying out quaternion Gyrator transformation on each sub-block to obtain a second quaternion matrix;
step S3: extracting a real part component and first to third imaginary part components of the second quaternion matrix, and constructing a first complex matrix and a second complex matrix according to the real part component and the first to third imaginary part components;
step S4: performing multi-resolution decomposition on the first complex matrix and the second complex matrix to obtain an approximate component and a detail component, and recombining according to the approximate component and the detail component to obtain a third complex matrix and a fourth complex matrix;
step S5: and carrying out Gyrator transformation with an angle of beta on the third complex matrix and the fourth complex matrix to respectively obtain a first ciphertext image and a second ciphertext image.
2. The method of claim 1, wherein the first quaternion matrix is:
fq(x,y)=ifR(x,y)+jfG(x,y)+kfB(x,y),
wherein (x, y) represents nullInter-domain coordinates; i. j and k satisfy: i.e. i2=j2=k2=-1,ij=k,ji=-k,jk=i,kj=-i,ki=j,ik=-j;fR(x,y)、fG(x, y) and fB(x, y) correspond to the red, green, and blue color components of the color image, respectively.
3. The method of claim 2, wherein the formula for dividing the quaternion matrix into non-overlapping sub-blocks is:
Figure FDA0003092312470000011
constructing a phase function P ═ eμ2πZWherein, mu is any unit pure four-element number, and mu is i gamma1+jγ2+kγ3And mu2=-1,γ1、γ2And gamma3Are all real numbers, Z is a random matrix and Z is ∈ [0,1 ]]。
4. The method of claim 3, wherein the quaternion Gyrator transform formula is:
Figure FDA0003092312470000012
wherein, (u, v) are frequency domain coordinates, and alpha is an angle.
5. The method of claim 1, wherein the first complex matrix and the second complex matrix are calculated by:
Figure FDA0003092312470000023
where S real component, X, Y and Z are the first imaginary component, the second imaginary component and the third imaginary component, respectively.
6. A color image encryption apparatus, comprising:
an encoding module for encoding the color image into a first quaternion matrix;
the dividing module is used for dividing the quaternion matrix into non-overlapping sub-blocks, and modulating and quaternion Gyrator transforming each sub-block to obtain a second quaternion matrix;
an extracting module, configured to extract a real component and first to third imaginary components of the second quaternion matrix, and construct a first complex matrix and a second complex matrix according to the real component and the first to third imaginary components;
the decomposition module is used for carrying out multi-resolution decomposition on the first complex matrix and the second complex matrix to obtain an approximate component and a detail component, and recombining the approximate component and the detail component to obtain a third complex matrix and a fourth complex matrix;
and the transformation module is used for carrying out Gyrator transformation with an angle of beta on the third complex matrix and the fourth complex matrix to respectively obtain a first ciphertext image and a second ciphertext image.
7. The apparatus of claim 6, wherein the first quaternion matrix is:
fq(x,y)=ifR(x,y)+jfG(x,y)+kfB(x,y),
wherein, (x, y) represents spatial domain coordinates; i. j and k satisfy: i.e. i2=j2=k2=-1,ij=k,ji=-k,jk=i,kj=-i,ki=j,ik=-j;fR(x,y)、fG(x, y) and fB(x, y) correspond to the red, green, and blue color components of the color image, respectively.
8. The apparatus of claim 7, wherein the non-overlapping sub-blocks are calculated by:
Figure FDA0003092312470000021
constructing a phase function P ═ eμ2πZWherein, mu is any unit pure four-element number, and mu is i gamma1+jγ2+kγ3And mu2=-1,γ1、γ2And gamma3Are all real numbers, Z is a random matrix and Z is ∈ [0,1 ]]。
9. The apparatus of claim 8, wherein the quaternion Gyrator transform formula is:
Figure FDA0003092312470000022
wherein, (u, v) are frequency domain coordinates, and alpha is an angle.
10. The apparatus of claim 6, wherein the first complex matrix and the second complex matrix are calculated by:
Figure FDA0003092312470000031
where S real component, X, Y and Z are the first imaginary component, the second imaginary component and the third imaginary component, respectively.
CN201910542534.XA 2019-06-21 2019-06-21 Color image encryption method and device Active CN110401783B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910542534.XA CN110401783B (en) 2019-06-21 2019-06-21 Color image encryption method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910542534.XA CN110401783B (en) 2019-06-21 2019-06-21 Color image encryption method and device

Publications (2)

Publication Number Publication Date
CN110401783A CN110401783A (en) 2019-11-01
CN110401783B true CN110401783B (en) 2021-07-30

Family

ID=68323333

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910542534.XA Active CN110401783B (en) 2019-06-21 2019-06-21 Color image encryption method and device

Country Status (1)

Country Link
CN (1) CN110401783B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105913368A (en) * 2016-03-31 2016-08-31 首都师范大学 Multi-image encryption and authentication method based on sparse constraint and system
CN105979116A (en) * 2016-03-31 2016-09-28 首都师范大学 Color image authentication method and system based on hypercomplex number encrypted domain sparse representation
CN106485201A (en) * 2016-09-09 2017-03-08 首都师范大学 The color face recognition method of supercomplex encrypted domain

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10037592B2 (en) * 2015-06-05 2018-07-31 Mindaptiv LLC Digital quaternion logarithm signal processing system and method for images and other data types

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105913368A (en) * 2016-03-31 2016-08-31 首都师范大学 Multi-image encryption and authentication method based on sparse constraint and system
CN105979116A (en) * 2016-03-31 2016-09-28 首都师范大学 Color image authentication method and system based on hypercomplex number encrypted domain sparse representation
CN106485201A (en) * 2016-09-09 2017-03-08 首都师范大学 The color face recognition method of supercomplex encrypted domain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于四元数变换的彩色图像处理算法研究;邵珠宏;《博士学位论文》;20160831;全文 *

Also Published As

Publication number Publication date
CN110401783A (en) 2019-11-01

Similar Documents

Publication Publication Date Title
Shao et al. Robust watermarking scheme for color image based on quaternion-type moment invariants and visual cryptography
Joshi et al. Colour-image encryption based on 2D discrete wavelet transform and 3D logistic chaotic map
Dolendro Singh et al. Visually meaningful multi-image encryption scheme
CN110135177B (en) Asymmetric image encryption and authentication method and device
Abdmouleh et al. A novel selective encryption DWT-based algorithm for medical images
Kolakalur et al. Wavelet based color video steganography
CN111583088B (en) Self-embedding totally-blind color image robust watermarking method based on multiple transform domains
Patel et al. Secure and authentic DCT image steganography through DWT-SVD based digital watermarking with RSA encryption
Tang et al. Robust multiple color images encryption using discrete Fourier transforms and chaotic map
Abdel-Aziz et al. Improved data hiding method for securing color images
Liu et al. Securely compressive sensing using double random phase encoding
Guo et al. Hyperchaos permutation on false-positive-free SVD-based image watermarking
CN104835106B (en) A kind of full frequency-domain subband data waterprint embedded method based on wavelet decomposition
George et al. Selective image encryption based on DCT, hybrid shift coding and randomly generated secret key
US20210211269A1 (en) Distributed homomorphic image encryption and decryption
Singh et al. A recent survey on data hiding techniques
CN110401783B (en) Color image encryption method and device
Shao et al. Trinion discrete cosine transform with application to color image encryption
Wei et al. Robust watermarking algorithm of color image based on DWT-DCT and chaotic system
Singh et al. Channelized noise augmentation to endorse DICOM medical image for diagnosing
CN112149062A (en) Electronic seal generating method, device and system based on watermark and storage medium
Tripathi et al. A robust 3-SWT multiple image steganography and contrast enhancement technique
Flayh et al. Wavelet based partial image encryption
CN111159747B (en) Method for realizing image encryption and restoration by adopting sine doubling and translation
CN110365866B (en) Color image encryption method and device

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231212

Address after: 1312, 13 / F, building 1, No.1 Jinxiu Road, Wuhou District, Chengdu, Sichuan 610000

Patentee after: Chengdu Guowei Xinan Information Technology Co.,Ltd.

Address before: 509 Kangrui Times Square, Keyuan Business Building, 39 Huarong Road, Gaofeng Community, Dalang Street, Longhua District, Shenzhen, Guangdong Province, 518000

Patentee before: Shenzhen lizhuan Technology Transfer Center Co.,Ltd.

Effective date of registration: 20231212

Address after: 509 Kangrui Times Square, Keyuan Business Building, 39 Huarong Road, Gaofeng Community, Dalang Street, Longhua District, Shenzhen, Guangdong Province, 518000

Patentee after: Shenzhen lizhuan Technology Transfer Center Co.,Ltd.

Address before: 100037 No. 105 West Third Ring Road North, Beijing, Haidian District

Patentee before: Capital Normal University