CN110460736B - Stereo image encryption method and device - Google Patents

Stereo image encryption method and device Download PDF

Info

Publication number
CN110460736B
CN110460736B CN201910542269.5A CN201910542269A CN110460736B CN 110460736 B CN110460736 B CN 110460736B CN 201910542269 A CN201910542269 A CN 201910542269A CN 110460736 B CN110460736 B CN 110460736B
Authority
CN
China
Prior art keywords
matrix
quaternion
image
extraction
vectors
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
CN201910542269.5A
Other languages
Chinese (zh)
Other versions
CN110460736A (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.)
China Southern Power Grid Internet Service Co ltd
Dongguan Pengbo Information Technology 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 CN201910542269.5A priority Critical patent/CN110460736B/en
Publication of CN110460736A publication Critical patent/CN110460736A/en
Application granted granted Critical
Publication of CN110460736B publication Critical patent/CN110460736B/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/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32101Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N1/32144Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title embedded in the image data, i.e. enclosed or integrated in the image, e.g. watermark, super-imposed logo or stamp
    • H04N1/32149Methods relating to embedding, encoding, decoding, detection or retrieval operations
    • H04N1/32154Transform domain methods
    • 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/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32101Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N1/32144Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title embedded in the image data, i.e. enclosed or integrated in the image, e.g. watermark, super-imposed logo or stamp
    • H04N1/32149Methods relating to embedding, encoding, decoding, detection or retrieval operations
    • H04N1/32267Methods relating to embedding, encoding, decoding, detection or retrieval operations combined with processing of the image
    • H04N1/32272Encryption or ciphering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/10Processing, recording or transmission of stereoscopic or multi-view image signals
    • H04N13/194Transmission of image 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/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/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/597Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding specially adapted for multi-view video sequence encoding

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The invention discloses a method and a device for encrypting a three-dimensional image, wherein the method comprises the following steps: acquiring a stereo image, and respectively carrying out vector decomposition on a left visual angle image and a right visual angle image of the stereo image to obtain four vectors; encoding the four vectors into a quaternion matrix, and partitioning the quaternion matrix to obtain four matrix sub-blocks; carrying out quaternion Gyrator transformation on the four matrix subblocks to obtain four extraction matrixes, and combining the four extraction matrixes into a real matrix; and coding the real matrix through Kronecker product operation to obtain a ciphertext image. The method can realize the encrypted transmission of the left and right visual angle components of the stereo image, has higher safety and transmission efficiency, and can be applied to the image safe transmission in the multimedia field.

Description

Stereo image encryption method and device
Technical Field
The invention relates to the technical field of multimedia, in particular to a method and a device for encrypting a three-dimensional image.
Background
When multimedia information such as images and videos is transmitted through the internet, the multimedia information is vulnerable to illegal attacks and leakage during transmission due to the openness and sharing of the network, and the information may relate to personal privacy information. Therefore, the method has important practical significance in ensuring the safe transmission and use of the image information in the network. Most of the existing algorithms are for plane images, and relatively few encryption algorithms are for stereo images.
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, an object of the present invention is to provide a method for encrypting a stereoscopic image, which implements encrypted transmission of left and right view components of a stereoscopic image, has high security and transmission efficiency, and can be applied to image secure transmission in the multimedia field.
Another object of the present invention is to provide a stereoscopic image encryption apparatus.
In order to achieve the above object, an embodiment of an aspect of the present invention provides a method for encrypting a stereoscopic image, including:
acquiring a stereo image, and respectively carrying out vector decomposition on a left visual angle image and a right visual angle image of the stereo image to obtain four vectors;
encoding the four vectors into a quaternion matrix, and partitioning the quaternion matrix to obtain four matrix subblocks;
carrying out quaternion Gyrator transformation on the four matrix subblocks to obtain four extraction matrixes, and combining the four extraction matrixes into a real matrix;
and coding the real matrix through Kronecker product operation to obtain a ciphertext image.
According to the stereo image encryption method, the original image is subjected to vector decomposition through the coherent superposition principle, so that the situation that information is completely concentrated in a single phase mask can be avoided, and the safety of a system is improved; different components are coded into a whole by adopting quaternion matrix representation, so that the parallel processing of a plurality of components is realized, and the efficiency is higher; according to the Kronecker product operation, a high-order matrix can be constructed by using a matrix with a smaller order number, and the method has lower algorithm operation amount and calculation complexity.
In addition, the stereoscopic image encryption method according to the above embodiment of the present invention may further have the following additional technical features:
further, in an embodiment of the present invention, the left view image and the right view image of the stereoscopic image are fL(x,y)、fR(x, y) size N x M, left view image f for said stereoscopic imageL(x, y) and right view angle image fR(x, y) are respectively subjected to vector decomposition to obtainfL,1(x,y),fL,2(x,y),fR,1(x, y) and fR,2(x, y) wherein,
Figure BDA0002102925170000021
Figure BDA0002102925170000022
Figure BDA0002102925170000023
Figure BDA0002102925170000024
Figure BDA0002102925170000025
Figure BDA0002102925170000026
wherein (x, y) represents a spatial coordinate,
Figure BDA0002102925170000027
represents a uniform distribution in [0,2 π]The random matrix of (1), arg (·) represents the phase, x is 0. ltoreq. N-1, y is 0. ltoreq. M-1.
Further, in an embodiment of the present invention, the encoding the four vectors into a quaternion matrix includes:
four vector matrices fL,1(x,y)、fL,2(x,y)、fR,1(x,y)、fR,2(x, y) encoding into the quaternion matrix fq(x,y):
fq(x,y)=fL,1(x,y)+ifL,2(x,y)+jfR,1(x,y)+kfR,2(x,y)。
Further, in an embodiment of the present invention, the partitioning the quaternion matrix to obtain four matrix sub-blocks includes:
for the quaternion matrix fq(x, y) into 2 × 2 sub-blocks that do not overlap with each other:
Figure BDA0002102925170000028
wherein (x ', y') represents a spatial coordinate,
Figure BDA0002102925170000029
further, in an embodiment of the present invention, the performing quaternion Gyrator transformation on the four matrix sub-blocks to obtain four extraction matrices includes:
for matrix sub-block f11(x ', y') performing modulation and quaternion Gyrator conversion, respectively:
Figure BDA00021029251700000210
the formula for calculating the quaternion Gyrator transformation is as follows:
Figure BDA00021029251700000211
wherein (u, v) represents frequency domain coordinates, α is a rotation angle, μ is an arbitrary unit pure four-element number, and P11(x ', y') represents a randomly generated phase mask;
for matrix sub-block f12(x',y'),f21(x',y'),f22(x ', y') carrying out modulation and quaternion Gyrator transformation to obtain an extraction matrix G12、G21、G22
Further, in an embodiment of the present invention, the combining the four extraction matrices into a real matrix includes:
will extract matrix G11、G12、G21、G22And constitutes a real matrix Q:
Figure BDA0002102925170000031
wherein operators S (-), X (-), Y (-), and Z (-) represent the extraction of the first, second, third, and fourth components, respectively, of the quaternion matrix.
In order to achieve the above object, another embodiment of the present invention provides a stereoscopic image encryption apparatus, including:
the decomposition module is used for acquiring a stereo image and respectively carrying out vector decomposition on a left visual angle image and a right visual angle image of the stereo image to obtain four vectors;
the encoding and blocking module is used for encoding the four vectors into a quaternion matrix and blocking the quaternion matrix to obtain four matrix sub-blocks;
the transformation module is used for carrying out quaternion Gyrator transformation on the four matrix subblocks to obtain four extraction matrixes, and combining the four extraction matrixes into a real matrix;
and the encryption module is used for coding the real matrix through Kronecker product operation to obtain a ciphertext image.
According to the stereo image encryption device, the original image is subjected to vector decomposition through the coherent superposition principle, so that the situation that information is completely concentrated in a single phase mask can be avoided, and the safety of a system is improved; different components are coded into a whole by adopting quaternion matrix representation, so that the parallel processing of a plurality of components is realized, and the efficiency is higher; according to the Kronecker product operation, a high-order matrix can be constructed by using a matrix with a smaller order number, and the method has lower algorithm operation amount and calculation complexity.
In addition, the stereoscopic image encryption device 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 left view image and the right view image of the stereoscopic imageThe images are respectively fL(x,y)、fR(x, y) size N x M, left view image f for said stereoscopic imageL(x, y) and right view angle image fR(x, y) are respectively subjected to vector decomposition to obtain fL,1(x,y),fL,2(x,y),fR,1(x, y) and fR,2(x, y) wherein,
Figure BDA0002102925170000041
Figure BDA0002102925170000042
Figure BDA0002102925170000043
Figure BDA0002102925170000044
Figure BDA0002102925170000045
Figure BDA0002102925170000046
wherein (x, y) represents a spatial coordinate,
Figure BDA0002102925170000047
represents a uniform distribution in [0,2 π]The random matrix of (1), arg (·) represents the phase, x is 0. ltoreq. N-1, y is 0. ltoreq. M-1.
Further, in an embodiment of the present invention, the coding partitioning module is specifically configured to,
four vector matrices fL,1(x,y)、fL,2(x,y)、fR,1(x,y)、fR,2(x, y) encoding into the quaternion matrix fq(x,y):
fq(x,y)=fL,1(x,y)+ifL,2(x,y)+jfR,1(x,y)+kfR,2(x,y);
For the quaternion matrix fq(x, y) into 2 × 2 sub-blocks that do not overlap with each other:
Figure BDA0002102925170000048
wherein (x ', y') represents a spatial coordinate,
Figure BDA0002102925170000049
further, in an embodiment of the invention, the transformation module is, in particular for,
for matrix sub-block f11(x ', y') performing modulation and quaternion Gyrator conversion, respectively:
Figure BDA00021029251700000410
the formula for calculating the quaternion Gyrator transformation is as follows:
Figure BDA00021029251700000411
wherein (u, v) represents frequency domain coordinates, α is a rotation angle, μ is an arbitrary unit pure four-element number, and P11(x ', y') represents a randomly generated phase mask;
for matrix sub-block f12(x',y'),f21(x',y'),f22(x ', y') carrying out modulation and quaternion Gyrator transformation to obtain an extraction matrix G12、G21、G22
Extracting the matrix G11、G12、G21、G22And constitutes a real matrix Q:
Figure BDA0002102925170000051
wherein operators S (-), X (-), Y (-), and Z (-) represent the extraction of the first, second, third, and fourth components, respectively, of the quaternion matrix.
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 flowchart of a stereoscopic image encryption method according to an embodiment of the present invention;
FIG. 2 is a block diagram of a flow chart of a method for encrypting a stereoscopic image according to an embodiment of the invention;
FIG. 3 is a schematic view of a stereoscopic image before encryption according to one embodiment of the invention;
FIG. 4 is a diagram of a ciphertext image in accordance with an embodiment of the present invention;
FIG. 5 is a schematic diagram of a stereoscopic image decrypted by encryption according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a stereoscopic image encryption device according to an embodiment of the 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.
Hereinafter, a stereoscopic image encryption method and apparatus according to an embodiment of the present invention will be described with reference to the accompanying drawings.
First, a proposed stereoscopic image encryption method according to an embodiment of the present invention will be described with reference to the accompanying drawings.
Fig. 1 is a flowchart of a stereoscopic image encryption method according to an embodiment of the present invention.
As shown in fig. 1, the stereoscopic image encryption method includes the steps of:
step S101, a stereo image is obtained, and the left view image and the right view image of the stereo image are respectively subjected to vector decomposition to obtain four vectors.
Further, a left view image and a right view image of the stereoscopic image are f, respectivelyL(x,y)、fR(x, y) size N M, left view image f to stereo imageL(x, y) and right view angle image fR(x, y) are respectively subjected to vector decomposition to obtain fL,1(x,y),fL,2(x,y),fR,1(x, y) and fR,2(x, y) wherein,
Figure BDA0002102925170000061
Figure BDA0002102925170000062
Figure BDA0002102925170000063
Figure BDA0002102925170000064
Figure BDA0002102925170000065
Figure BDA0002102925170000066
wherein (x, y) represents a spatial coordinate,
Figure BDA0002102925170000067
represents a uniform distribution in [0,2 π]The random matrix of (1), arg (·) represents the phase, x is 0. ltoreq. N-1, y is 0. ltoreq. M-1.
And S102, encoding the four vectors into a quaternion matrix, and partitioning the quaternion matrix to obtain four matrix sub-blocks.
Further, the matrix fL,1(x,y)、fL,2(x,y)、fR,1(x,y)、fR,2(x, y) encoding as a quaternion matrix fq(x, y), namely:
fq(x,y)=fL,1(x,y)+ifL,2(x,y)+jfR,1(x,y)+kfR,2(x,y)。
the quaternion matrix is partitioned to obtain four matrix subblocks, which specifically comprise:
a quaternion matrix fq(x, y) into 2 × 2 sub-blocks that do not overlap with each other, namely:
Figure BDA0002102925170000068
wherein (x ', y') represents a spatial coordinate,
Figure BDA0002102925170000069
and step S103, carrying out quaternion Gyrator transformation on the four matrix subblocks to obtain four extraction matrixes, and combining the four extraction matrixes into a real matrix.
Specifically, four matrix sub-blocks are obtained by partitioning a quaternion matrix, and first, a first matrix sub-block f is partitioned11(x ', y') performs modulation and quaternion Gyrator conversion, namely:
Figure BDA00021029251700000610
the formula for calculating the quaternion Gyrator transformation is as follows:
Figure BDA0002102925170000071
here, (u, v) represents frequency domain coordinates, α is a rotation angle, μ is an arbitrary unit pure four-element number, and P11(x ', y') denotes a randomly generated phase mask.
The other three matrix subblocks f are processed by the steps12(x',y'),f21(x',y'),f22(x ', y') carrying out modulation and quaternion Gyrator transformation to obtain an extraction matrix G12、G21、G22
Further, the four extraction matrices are combined into one real matrix Q, that is:
Figure BDA0002102925170000072
wherein operators S (-), X (-), Y (-), and Z (-), represent the extraction of the first, second, third, and fourth components, respectively, of the quaternion matrix.
And step S104, coding the real number matrix through Kronecker product operation to obtain a ciphertext image.
Specifically, a real number matrix is encoded through Kronecker product operation to obtain a ciphertext image, and the encrypted ciphertext image can ensure the safe transmission of stereo image information in a network. And decrypting the ciphertext image when the stereo image is viewed, wherein the decryption process is the inverse operation of the encryption process.
As shown in fig. 2, a process of encrypting a stereoscopic image is shown, and the stereoscopic image is encrypted based on vector decomposition, quaternion Gyrator transformation and Kronecker product operation, so that the secure transmission of image information in a network is ensured, and the method has high security and transmission efficiency, and can be applied to the secure transmission of images in the multimedia field.
The effectiveness of the stereo image encryption method according to the present invention is further illustrated by an embodiment, as shown in fig. 3, which shows a schematic diagram of an unencrypted stereo image, where fig. 3(a) is a left view image of a stereo image, and fig. 3(b) is a right view image of the stereo image, and the sizes of the images are 256 × 256. In the experiment, the unit pure four element number
Figure BDA0002102925170000073
The two low-order invertible matrices of Kronecker product operation are set to 16 × 16 and 32 × 32 respectively, and the rotation angles of quaternion Gyrator transformation are 0.3756, 0.8813, 0.7919 and 0.1056 respectively. According to the above encryption process, the resulting ciphertext image is shown in fig. 4, and it can be seen that no useful information about the original plaintext image is obtained from the ciphertext image. With the correct key, the decryption result is shown in fig. 5, and it can be seen that the decrypted image is visually the same as the original image, and the corresponding peak snr is 259.2665dB and 259.7402dB, respectively. The above results demonstrate the feasibility and effectiveness of the algorithm.
According to the stereo image encryption method provided by the embodiment of the invention, the original image is subjected to vector decomposition by a coherent superposition principle, so that the information can be prevented from being completely concentrated in a single phase mask, and the safety of the system is improved; different components are coded into a whole by adopting quaternion matrix representation, so that the parallel processing of a plurality of components is realized, and the efficiency is higher; according to the Kronecker product operation, a high-order matrix can be constructed by using a matrix with a smaller order number, and the method has lower algorithm operation amount and calculation complexity.
Next, a stereoscopic image encryption device 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 stereoscopic image encryption device according to an embodiment of the invention.
As shown in fig. 6, the stereoscopic image encryption device includes: a decomposition module 100, an encoding blocking module 200, a transformation module 300 and an encryption module 400.
The decomposition module 100 is configured to obtain a stereo image, and perform vector decomposition on a left view image and a right view image of the stereo image to obtain four vectors.
And an encoding and blocking module 200, configured to encode the four vectors into a quaternion matrix, and block the quaternion matrix to obtain four matrix subblocks.
The transformation module 300 is configured to perform quaternion Gyrator transformation on the four matrix subblocks to obtain four extraction matrices, and combine the four extraction matrices into a real matrix.
And the encryption module 400 is configured to encode the real number matrix through Kronecker product operation to obtain a ciphertext image.
Further, in one embodiment of the present invention, the left view image and the right view image of the stereoscopic image are f, respectivelyL(x,y)、fR(x, y) size N M, left view image f to stereo imageL(x, y) and right view angle image fR(x, y) are respectively subjected to vector decomposition to obtain fL,1(x,y),fL,2(x,y),fR,1(x, y) and fR,2(x, y) wherein,
Figure BDA0002102925170000081
Figure BDA0002102925170000082
Figure BDA0002102925170000083
Figure BDA0002102925170000084
Figure BDA0002102925170000085
Figure BDA0002102925170000086
wherein (x, y) represents a spatial coordinate,
Figure BDA0002102925170000087
represents a uniform distribution in [0,2 π]The random matrix of (1), arg (·) represents the phase, x is 0. ltoreq. N-1, y is 0. ltoreq. M-1.
Further, in one embodiment of the invention, the coding partitioning module is specifically configured to,
four vector matrices fL,1(x,y)、fL,2(x,y)、fR,1(x,y)、fR,2(x, y) encoding as a quaternion matrix fq(x,y):
fq(x,y)=fL,1(x,y)+ifL,2(x,y)+jfR,1(x,y)+kfR,2(x,y);
For quaternion matrix fq(x, y) into 2 × 2 sub-blocks that do not overlap with each other:
Figure BDA0002102925170000091
wherein (x ', y') represents a spatial coordinate,
Figure BDA0002102925170000092
further, in one embodiment of the invention, the transformation module, in particular for,
for matrix sub-block f11(x ', y') performing modulation and quaternion Gyrator conversion, respectively:
Figure BDA0002102925170000093
the formula for calculating the quaternion Gyrator transformation is as follows:
Figure BDA0002102925170000094
wherein (u, v) represents frequency domain coordinates, α is a rotation angle, μ is an arbitrary unit pure four-element number, and P11(x ', y') represents a randomly generated phase mask;
for matrix sub-block f12(x',y'),f21(x',y'),f22(x ', y') carrying out modulation and quaternion Gyrator transformation to obtain an extraction matrix G12、G21、G22
Extracting the matrix G11、G12、G21、G22And constitutes a real matrix Q:
Figure BDA0002102925170000095
wherein operators S (-), X (-), Y (-), and Z (-), represent the extraction of the first, second, third, and fourth components, respectively, of the quaternion matrix.
It should be noted that the foregoing explanation on the embodiment of the stereoscopic image encryption method is also applicable to the apparatus of this embodiment, and is not repeated here.
According to the stereo image encryption device provided by the embodiment of the invention, the original image is subjected to vector decomposition by a coherent superposition principle, so that the information can be prevented from being completely concentrated in a single phase mask, and the safety of the system is improved; different components are coded into a whole by adopting quaternion matrix representation, so that the parallel processing of a plurality of components is realized, and the efficiency is higher; according to the Kronecker product operation, a high-order matrix can be constructed by using a matrix with a smaller order number, and the method has lower algorithm operation amount and calculation complexity.
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 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 method for encrypting a stereoscopic image is characterized by comprising the following steps:
acquiring a stereo image, carrying out vector decomposition on a left visual angle image of the stereo image to obtain two vectors, carrying out vector decomposition on a right visual angle image to obtain two vectors, and counting four vectors;
encoding the four vectors into a quaternion matrix, and partitioning the quaternion matrix to obtain four matrix subblocks;
carrying out quaternion Gyrator transformation on the four matrix subblocks to obtain four extraction matrixes, and combining the four extraction matrixes into a real matrix;
and coding the real matrix through Kronecker product operation to obtain a ciphertext image.
2. The method according to claim 1, wherein the left view image and the right view image of the stereoscopic image are fL(x,y)、fR(x, y) size N x M, left view image f for said stereoscopic imageL(x, y) and right view angle image fR(x, y) are respectively subjected to vector decomposition to obtain fL,1(x,y),fL,2(x,y),fR,1(x, y) and fR,2(x, y) wherein,
Figure FDA0002835078320000011
Figure FDA0002835078320000012
Figure FDA0002835078320000013
Figure FDA0002835078320000014
Figure FDA0002835078320000015
Figure FDA0002835078320000016
wherein (x, y) represents a spatial coordinate,
Figure FDA0002835078320000017
represents a uniform distribution in [0,2 π]The random matrix of (1), arg (·) represents the phase, x is 0. ltoreq. N-1, y is 0. ltoreq. M-1.
3. The method of claim 1, wherein said encoding the four vectors into a quaternion matrix comprises:
four vector matrices fL,1(x,y)、fL,2(x,y)、fR,1(x,y)、fR,2(x, y) encoding into the quaternion matrix fq(x,y):
fq(x,y)=fL,1(x,y)+ifL,2(x,y)+jfR,1(x,y)+kfR,2(x,y)。
4. The method of claim 1, wherein the blocking the quaternion matrix into four matrix sub-blocks comprises:
for the quaternion matrix fq(x, y) into 2 × 2 sub-blocks that do not overlap with each other:
Figure FDA0002835078320000021
wherein (x ', y') represents a spatial coordinate,
Figure FDA0002835078320000022
5. the method of claim 1, wherein the performing quaternion Gyrator transformation on the four matrix sub-blocks to obtain four extraction matrices comprises:
for matrix sub-block f11(x ', y') modulation and quaternion Gyrator conversion:
Figure FDA0002835078320000023
the formula for calculating the quaternion Gyrator transformation is as follows:
Figure FDA0002835078320000024
wherein (u, v) represents frequency domain coordinates, α is a rotation angle, μ is an arbitrary unit pure four-element number, and P11(x ', y') represents a randomly generated phase mask;
for matrix sub-block f12(x',y'),f21(x',y'),f22(x ', y') carrying out modulation and quaternion Gyrator transformation to obtain an extraction matrix G12、G21、G22
6. The method of claim 1, wherein the combining the four extraction matrices into a real matrix comprises:
will extract matrix G11、G12、G21、G22And constitutes a real matrix Q:
Figure FDA0002835078320000025
wherein operators S (-), X (-), Y (-), and Z (-) represent the extraction of the first, second, third, and fourth components, respectively, of the quaternion matrix.
7. A stereoscopic image encryption apparatus, comprising:
the decomposition module is used for acquiring a stereo image, performing vector decomposition on a left view image of the stereo image to obtain two vectors, and performing vector decomposition on a right view image to obtain two vectors, wherein the total number of the four vectors is four;
the encoding and blocking module is used for encoding the four vectors into a quaternion matrix and blocking the quaternion matrix to obtain four matrix sub-blocks;
the transformation module is used for carrying out quaternion Gyrator transformation on the four matrix subblocks to obtain four extraction matrixes, and combining the four extraction matrixes into a real matrix;
and the encryption module is used for coding the real matrix through Kronecker product operation to obtain a ciphertext image.
8. The apparatus of claim 7, wherein the left view image and the right view image of the stereoscopic image are fL(x,y)、fR(x, y) size N x M, left view image f for said stereoscopic imageL(x, y) and right view angle image fR(x, y) are respectively subjected to vector decomposition to obtain fL,1(x,y),fL,2(x,y),fR,1(x, y) and fR,2(x, y) wherein,
Figure FDA0002835078320000031
Figure FDA0002835078320000032
Figure FDA0002835078320000033
Figure FDA0002835078320000034
Figure FDA0002835078320000035
Figure FDA0002835078320000036
wherein (x, y) represents a spatial coordinate,
Figure FDA0002835078320000037
represents a uniform distribution in [0,2 π]The random matrix of (1), arg (·) represents the phase, x is 0. ltoreq. N-1, y is 0. ltoreq. M-1.
9. The apparatus according to claim 7, wherein the coding partitioning module is specifically configured to,
four vector matrices fL,1(x,y)、fL,2(x,y)、fR,1(x,y)、fR,2(x, y) encoding into the quaternion matrix fq(x,y):
fq(x,y)=fL,1(x,y)+ifL,2(x,y)+jfR,1(x,y)+kfR,2(x,y);
For the quaternion matrix fq(x, y) into 2 × 2 sub-blocks that do not overlap with each other:
Figure FDA0002835078320000041
wherein (x ', y') represents a spatial coordinate,
Figure FDA0002835078320000042
10. the apparatus according to claim 7, characterized in that the transformation module, in particular for,
for matrix sub-block f11(x ', y') performing modulation and quaternion Gyrator conversion, respectively:
Figure FDA0002835078320000043
the formula for calculating the quaternion Gyrator transformation is as follows:
Figure FDA0002835078320000044
wherein (u, v) represents frequency domain coordinates, α is a rotation angle, μ is an arbitrary unit pure four-element number, and P11(x ', y') represents a randomly generated phase mask;
for matrix sub-block f12(x',y'),f21(x',y'),f22(x ', y') carrying out modulation and quaternion Gyrator transformation to obtain an extraction matrix G12、G21、G22
Extracting the matrix G11、G12、G21、G22And constitutes a real matrix Q:
Figure FDA0002835078320000045
wherein operators S (-), X (-), Y (-), and Z (-) represent the extraction of the first, second, third, and fourth components, respectively, of the quaternion matrix.
CN201910542269.5A 2019-06-21 2019-06-21 Stereo image encryption method and device Active CN110460736B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910542269.5A CN110460736B (en) 2019-06-21 2019-06-21 Stereo image encryption method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910542269.5A CN110460736B (en) 2019-06-21 2019-06-21 Stereo image encryption method and device

Publications (2)

Publication Number Publication Date
CN110460736A CN110460736A (en) 2019-11-15
CN110460736B true CN110460736B (en) 2021-02-26

Family

ID=68481042

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910542269.5A Active CN110460736B (en) 2019-06-21 2019-06-21 Stereo image encryption method and device

Country Status (1)

Country Link
CN (1) CN110460736B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016161134A1 (en) * 2015-03-31 2016-10-06 Board Of Regents, The University Of Texas System Method and apparatus for hybrid encryption
CN105913368B (en) * 2016-03-31 2019-01-29 首都师范大学 More image encryptions and authentication method and system based on sparse constraint
CN109905563B (en) * 2019-03-06 2020-02-07 首都师范大学 Stereo image encryption method and device

Also Published As

Publication number Publication date
CN110460736A (en) 2019-11-15

Similar Documents

Publication Publication Date Title
CN104680476B (en) The lossless encryption method of coloured image based on two-dimensional discrete wavelet conversion and space-time chaos
Parameshachari et al. Partial image encryption algorithm using pixel position manipulation technique: The smart copyback system
CN112040086B (en) Image encryption and decryption methods and devices, equipment and readable storage medium
CN104468090A (en) Chinese character password encoding method based on image pixel coordinates
CN104778652A (en) Double-image encryption and decryption method
CN104883580B (en) Video security convolution computing system and method based on homomorphic encryption
Soleymani et al. A survey on principal aspects of secure image transmission
Abdel-Nabi et al. Medical imaging security using partial encryption and histogram shifting watermarking
CN107392970A (en) A kind of digital image encryption algorithm based on bit plane and high-dimension chaotic system
CN110139105A (en) More stereo-picture encryption methods, decryption method, encryption device and decryption device
Jawad et al. A review of color image encryption techniques
Singh et al. Image encryption scheme based on Knight's tour problem
Zhu et al. A novel 3D vector decomposition for color-image encryption
Ramírez-Torres et al. Image encryption with an improved cryptosystem based on a matrix approach
CN112035847B (en) Image encryption and decryption methods and devices, electronic equipment and storage medium
Sui et al. A secure double-image sharing scheme based on Shamir׳ s three-pass protocol and 2D Sine Logistic modulation map in discrete multiple-parameter fractional angular transform domain
Sahila et al. Secure digital image watermarking by using SVD and AES
CN110460736B (en) Stereo image encryption method and device
Mishra et al. Hybrid image encryption and decryption using cryptography and watermarking technique for high security applications
CN108898540B (en) Dual-image encryption method based on discrete fractional angular transformation and chaos theory
CN109948353A (en) Asymmetric more image encryption methods, device and storage medium
Saraireh et al. Image encryption scheme based on filter bank and lifting
CN101661607B (en) Encryption and decryption method for digital pictures
CN107368716B (en) Joint fingerprint embedding and encryption method and device towards JPEG2000 image
Kumar et al. An image encryption technique to remove the drawback of the one-dimensional scrambling method of image encryption

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: 20231110

Address after: Room 606-609, Compound Office Complex Building, No. 757, Dongfeng East Road, Yuexiu District, Guangzhou, Guangdong Province, 510699

Patentee after: China Southern Power Grid Internet Service Co.,Ltd.

Address before: Room 1109, No. 31, Nancheng Section, Guantai Road, Nancheng Street, Dongguan City, Guangdong Province, 523000

Patentee before: Dongguan Pengbo Information Technology Co.,Ltd.

Effective date of registration: 20231110

Address after: Room 1109, No. 31, Nancheng Section, Guantai Road, Nancheng Street, Dongguan City, Guangdong Province, 523000

Patentee after: Dongguan Pengbo Information Technology Co.,Ltd.

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

Patentee before: Capital Normal University