CN110942413A - Method and system for hiding and extracting large-capacity optical information - Google Patents

Method and system for hiding and extracting large-capacity optical information Download PDF

Info

Publication number
CN110942413A
CN110942413A CN201911219301.2A CN201911219301A CN110942413A CN 110942413 A CN110942413 A CN 110942413A CN 201911219301 A CN201911219301 A CN 201911219301A CN 110942413 A CN110942413 A CN 110942413A
Authority
CN
China
Prior art keywords
dimensional code
information
video
hidden
diffraction pattern
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.)
Granted
Application number
CN201911219301.2A
Other languages
Chinese (zh)
Other versions
CN110942413B (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.)
University of Chinese Academy of Sciences
Original Assignee
University of Chinese Academy of Sciences
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 University of Chinese Academy of Sciences filed Critical University of Chinese Academy of Sciences
Priority to CN201911219301.2A priority Critical patent/CN110942413B/en
Publication of CN110942413A publication Critical patent/CN110942413A/en
Application granted granted Critical
Publication of CN110942413B publication Critical patent/CN110942413B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image watermarking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention relates to a method and a system for hiding and extracting large-capacity optical information. The hiding method comprises the following steps: carrying out two-dimensional code encoding on the information to be hidden to obtain a two-dimensional code set; the two-dimensional code set comprises a plurality of two-dimensional codes corresponding to the information to be hidden; diffracting the two-dimensional codes in the two-dimensional code set by a reflective coherent diffraction imaging system comprising a spatial light modulator to obtain a diffraction pattern set; the diffraction pattern comprises a diffraction pattern corresponding to each two-dimensional code; acquiring a host video; processing the diffraction patterns in the diffraction pattern set according to the host video to obtain processed images; hiding the processed video in the host video to obtain a video file to be transmitted and with hidden information. The invention can improve the safety of information transmission.

Description

Method and system for hiding and extracting large-capacity optical information
Technical Field
The invention relates to the field of optical information security, in particular to a method and a system for hiding and extracting large-capacity optical information.
Background
The information security problem is further highlighted in the network interconnection era, and it is very important to hide and transmit the secret information by an effective and efficient means instead of directly acquiring the secret information. In the current information explosion age, a huge amount of information is generated all the time, and various corresponding information processing means are developed rapidly. The optical information security technology is used as a security guarantee mode for information intercommunication, and has a prominent position in the internet era. Most of the existing information hiding methods are based on a pure digital coding mode, the key space is single, and the security of the physical space is not ensured, so that the security is low in the information transmission process.
Disclosure of Invention
The invention aims to provide a method and a system for hiding and extracting large-capacity optical information so as to improve the safety of information transmission.
In order to achieve the purpose, the invention provides the following scheme:
a method of high-volume optical information hiding, comprising:
carrying out two-dimensional code encoding on the information to be hidden to obtain a two-dimensional code set; the two-dimensional code set comprises a plurality of two-dimensional codes corresponding to the information to be hidden;
diffracting the two-dimensional codes in the two-dimensional code set by a reflective coherent diffraction imaging system comprising a spatial light modulator to obtain a diffraction pattern set; the diffraction pattern comprises a diffraction pattern corresponding to each two-dimensional code;
acquiring a host video;
processing the diffraction patterns in the diffraction pattern set according to the host video to obtain processed images;
hiding the processed video in the host video to obtain a video file to be transmitted and with hidden information.
Optionally, the two-dimensional code encoding is performed on the information to be hidden to obtain a two-dimensional code set, and the method specifically includes:
dividing the hidden information into a plurality of information segments according to the capacity of the two-dimensional code;
and coding all the information segments by adopting two-dimension codes to obtain the two-dimension code corresponding to each information segment, and obtaining the two-dimension code set.
Optionally, the processing the diffraction patterns in the diffraction pattern set according to the host video to obtain a processed image specifically includes:
acquiring the capacity of each video frame in the host video; the capacity is the number of the hidden diffraction patterns of each video frame;
determining a corresponding diffraction pattern subset of each video frame according to the capacity of each video frame;
using formulas
Figure BDA0002300352570000021
Scrambling, compressing and combining the diffraction patterns in the diffraction pattern subset to obtain a processed image I corresponding to the nth video framen'; wherein, IiRepresents the ith derivative plot, phi () represents the scrambling function of the diffraction plot,
Figure BDA0002300352570000022
a compression function representing the diffraction pattern is shown,
Figure BDA0002300352570000023
the compressed diffraction patterns are combined into a combined function of processed images in a form of a plurality of rows and a plurality of columns.
Optionally, hiding the processed video file in the host video to obtain the video file to be transmitted with the hidden information includes:
using formulas
Figure BDA0002300352570000024
The processed image I corresponding to the nth video framenIs hidden in the nth video frame to obtain the nth video frame omega with hidden informationn
Figure BDA0002300352570000025
α is an attenuation factor for the nth video frame of the host video;
all video frames with hidden information are processed by formula
Figure BDA0002300352570000026
Synthesizing video to be transmitted with hidden information
Figure BDA0002300352570000027
Wherein the content of the first and second substances,
Figure BDA0002300352570000028
representing a video frame composition function.
The invention also provides a system for hiding large-capacity optical information, which comprises:
the two-dimension code encoding module is used for carrying out two-dimension code encoding on the information to be hidden to obtain a two-dimension code set; the two-dimensional code set comprises a plurality of two-dimensional codes corresponding to the information to be hidden;
the diffraction module is used for diffracting the two-dimensional codes in the two-dimensional code set through a reflective coherent diffraction imaging system comprising a spatial light modulator to obtain a diffraction pattern set; the diffraction pattern comprises a diffraction pattern corresponding to each two-dimensional code;
the host video acquisition module is used for acquiring a host video;
the diffraction pattern processing module is used for processing the diffraction patterns in the diffraction pattern set according to the host video to obtain processed images;
and the hiding module is used for hiding the processed video in the host video to obtain a video file to be transmitted and provided with hidden information.
The invention also provides a method for extracting large-capacity optical information, which comprises the following steps:
extracting hidden information in each video frame in a video file with the hidden information to obtain a hidden information set;
decoding each piece of hidden information in the hidden information set into an independent two-dimensional code diffraction pattern to obtain a two-dimensional code diffraction pattern set;
performing two-dimensional code reconstruction on the two-dimensional code diffraction patterns in the two-dimensional code diffraction pattern set by using an improved GS phase recovery algorithm to obtain a reconstructed two-dimensional code set; the reconstruction two-dimensional code set comprises reconstruction two-dimensional codes corresponding to the two-dimensional code diffraction patterns;
scanning all the reconstructed two-dimensional codes in the reconstructed two-dimensional code set to obtain an information segment corresponding to each reconstructed two-dimensional code;
and integrating all the information segments according to the sequence of the video frames to obtain complete hidden information.
Optionally, the extracting hidden information in each video frame in the video file with hidden information to obtain a hidden information set specifically includes:
using formulas
Figure BDA0002300352570000031
Extracting video frames in a video file with hidden information; wherein the content of the first and second substances,
Figure BDA0002300352570000032
representing the video frame extraction function and,
Figure BDA0002300352570000033
for video files with hidden information, ΩnThe nth video frame with hidden information is obtained;
using formulas
Figure BDA0002300352570000034
Extracting hidden information in each video frame to obtain a hidden information set; wherein, In'-1For the concealment information in the nth video frame,is the nth video frame of the host video.
Optionally, the decoding each hidden information in the hidden information set into an independent two-dimensional code diffraction pattern to obtain a two-dimensional code diffraction pattern set specifically includes:
using formulas
Figure BDA0002300352570000041
Decoding each hidden information into an independent two-dimensional code diffraction pattern to obtain a two-dimensional code diffraction pattern set; wherein, In'-1For the concealment information in the nth video frame,
Figure BDA0002300352570000042
to hide information In'-1Split into a plurality of separate two-dimensional code diffraction patterns,
Figure BDA0002300352570000043
as a function of the reconstruction of the two-dimensional code diffraction pattern, phi-1As a sorting function of the two-dimensional code diffraction pattern, IiAnd the ith two-dimensional code derivative graph corresponding to the hidden information in the nth video frame is represented.
Optionally, the two-dimensional code reconstruction is performed on the two-dimensional code diffraction pattern in the two-dimensional code diffraction pattern set by using an improved GS phase recovery algorithm, so as to obtain a reconstructed two-dimensional code set, which specifically includes:
performing initial guess on the complex amplitude distribution of each two-dimensional code derivative graph to obtain the initial complex amplitude distribution of the two-dimensional codes;
obtaining complex amplitude distribution passing through the two-dimensional code plane;
transmitting the signal to a CCD plane by adopting a Fresnel diffraction method to obtain the complex amplitude distribution of the CCD plane;
replacing the amplitude, and performing intensity constraint to obtain updated complex amplitude distribution;
spreading the two-dimensional code plane by adopting an inverse Fresnel diffraction method to obtain the complex amplitude distribution of the updated two-dimensional code plane;
carrying out probe constraint and updating the probe;
carrying out pure phase constraint on the reconstructed two-dimensional code image to obtain the complex amplitude distribution of the reconstructed two-dimensional code of the current iteration number i;
when the current iteration number i is 3,6,9, performing binary constraint on the complex amplitude distribution of the reconstructed two-dimensional code, and returning to the step of obtaining the complex amplitude distribution penetrating through the plane of the two-dimensional code;
when the current iteration number i is 1,2,4,5,7 and 8, returning to the step of obtaining the complex amplitude distribution passing through the two-dimensional code plane;
and when the current iteration number i is 10, obtaining the reconstructed two-dimensional code according to the complex amplitude distribution of the reconstructed two-dimensional code of the current iteration number i.
The present invention also provides a system for high-capacity optical information extraction, comprising:
the hidden information extraction module is used for extracting hidden information in each video frame in the video file with the hidden information to obtain a hidden information set;
the decoding module is used for decoding each piece of hidden information in the hidden information set into an independent two-dimensional code diffraction pattern to obtain a two-dimensional code diffraction pattern set;
the two-dimensional code reconstruction module is used for performing two-dimensional code reconstruction on the two-dimensional code diffraction patterns in the two-dimensional code diffraction pattern set by using an improved GS phase recovery algorithm to obtain a reconstructed two-dimensional code set; the reconstruction two-dimensional code set comprises reconstruction two-dimensional codes corresponding to the two-dimensional code diffraction patterns;
the code scanning module is used for scanning all the reconstructed two-dimensional codes in the reconstructed two-dimensional code set to obtain an information segment corresponding to each reconstructed two-dimensional code;
and the integration module is used for integrating all the information segments according to the sequence of the video frames to obtain complete hidden information.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects:
1. safety: information is coded into codes, optical coding is carried out by combining an optical system through diffraction transmission, and the codes are loaded in video frames of a video file with a large amount, so that the secrecy of information hiding is greatly improved, and the safety of the system is ensured by combining test parameters such as compression, scrambling, attenuation and the like; the sequential position, the time position and the position of the information loading area of the video frame can be used as a space key, and in addition, optical experiment parameters such as the shape, the size, the sequence, the position, the wavelength, the diffraction distance and the like of a probe of the optical system can provide safety support for the system.
2. Compressibility: each frame of image of the video file can be used as a host image for information storage, the higher the definition (pixel number) of the video file is, the higher the frame rate is, and the longer the video is, more information can be loaded as an information carrier; the code is used as a conversion medium of information and an optical system, and the code has information redundancy and has a special two-dimensional structure and gray distribution. Therefore, a higher compression ratio can be performed.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
FIG. 1 is a flow chart of a method for hiding large-capacity optical information according to the present invention;
FIG. 2 is a schematic diagram of a high-capacity optical information hiding system according to the present invention;
FIG. 3 is a flow chart illustrating a method for high-volume optical information extraction according to the present invention;
FIG. 4 is a schematic diagram of a high-capacity optical information extraction system according to the present invention;
FIG. 5 is a block diagram of a reflective coherent diffraction imaging system in accordance with an embodiment of the present invention;
fig. 6 is a schematic flow chart of information hiding in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
FIG. 1 is a flow chart of a large-capacity optical information hiding method according to the present invention. As shown in fig. 1, the method for hiding large-capacity optical information includes the following steps:
step 101: and carrying out two-dimensional code encoding on the information to be hidden to obtain a two-dimensional code set. Firstly, dividing the hidden information into a plurality of information segments according to the capacity of the two-dimensional code; and then, encoding all the information segments by adopting two-dimensional codes to obtain two-dimensional codes corresponding to all the information segments, and obtaining the two-dimensional code set. Therefore, the two-dimensional code set comprises a plurality of two-dimensional codes corresponding to the information to be hidden.
Step 102: and diffracting the two-dimensional codes in the two-dimensional code set by a reflective coherent diffraction imaging system comprising a spatial light modulator to obtain a diffraction pattern set. The diffraction pattern comprises a diffraction pattern corresponding to each two-dimensional code.
Step 103: and acquiring a host video. The host video is a selectable video screen, and according to actual requirements, the corresponding video can be selected as the host video for hiding information.
Step 104: according to the host video, carrying out diffraction diagram in the diffraction diagram setAnd processing to obtain a processed image. Specifically, the capacity of each video frame in the host video is firstly acquired; the capacity is the number of diffraction patterns that can be hidden per video frame. Then, according to the capacity of each video frame, determining a corresponding diffraction pattern subset of each video frame. Finally, using the formula
Figure BDA0002300352570000071
Scrambling, compressing and combining the diffraction patterns in the diffraction pattern subset to obtain a processed image I corresponding to the nth video framen'; wherein, IiRepresents the ith derivative plot, phi () represents the scrambling function of the diffraction plot,
Figure BDA0002300352570000072
a compression function representing the diffraction pattern is shown,
Figure BDA0002300352570000073
the compressed diffraction patterns are combined into a combined function of processed images in a form of a plurality of rows and a plurality of columns.
Step 105: and hiding the processed video in the host video to obtain a video file to be transmitted and with hidden information. In particular, using formulae
Figure BDA0002300352570000074
The processed image I corresponding to the nth video framenIs hidden in the nth video frame to obtain the nth video frame omega with hidden informationn
Figure BDA0002300352570000075
α is attenuation factor for the nth video frame of the host video, and then all video frames with hidden information are processed by formula
Figure BDA0002300352570000076
Synthesizing video to be transmitted with hidden information
Figure BDA0002300352570000077
Wherein the content of the first and second substances,
Figure BDA0002300352570000078
representing a video frame composition function.
The present invention also provides a system for large capacity optical information hiding, corresponding to the method shown in fig. 1. Fig. 2 is a schematic structural diagram of a large-capacity optical information hiding system according to the present invention. As shown in fig. 2, the system for large-capacity optical information hiding includes the following structures:
and the two-dimension code encoding module 201 is used for performing two-dimension code encoding on the information to be hidden to obtain a two-dimension code set. The two-dimensional code set comprises a plurality of two-dimensional codes corresponding to the information to be hidden.
The diffraction module 202 is configured to diffract the two-dimensional codes in the two-dimensional code set by using a reflective coherent diffraction imaging system including a spatial light modulator, so as to obtain a diffraction pattern set; the diffraction pattern comprises a diffraction pattern corresponding to each two-dimensional code.
And a host video acquiring module 203, configured to acquire a host video.
And the diffraction pattern processing module 204 is configured to process the diffraction patterns in the diffraction pattern set according to the host video to obtain a processed image.
A hiding module 205, configured to hide the processed video file in the host video to obtain a video file to be transmitted and having hidden information.
The invention also provides a method for extracting large-capacity optical information, which corresponds to the method for hiding the large-capacity optical information shown in FIG. 1. FIG. 3 is a flow chart of a method for high-volume optical information extraction according to the present invention. As shown in fig. 3, the method for extracting large-capacity optical information includes the following steps:
step 301: and extracting hidden information in each video frame in the video file with the hidden information to obtain a hidden information set. In particular, using formulae
Figure BDA0002300352570000081
Extracting video frames in a video file with hidden information; wherein,
Figure BDA0002300352570000082
Representing the video frame extraction function and,
Figure BDA0002300352570000083
for video files with hidden information, ΩnIs the nth video frame with hidden information. Then, using the formula
Figure BDA0002300352570000084
Extracting hidden information in each video frame to obtain a hidden information set; wherein, In'-1For the concealment information in the nth video frame,
Figure BDA0002300352570000085
the nth video frame of the host video, α-1The inverse of the attenuation factor α.
Step 302: and decoding each piece of hidden information in the hidden information set into an independent two-dimensional code diffraction pattern to obtain a two-dimensional code diffraction pattern set. In particular, using formulae
Figure BDA0002300352570000086
Decoding each hidden information into an independent two-dimensional code diffraction pattern to obtain a two-dimensional code diffraction pattern set; wherein, In'-1For the concealment information in the nth video frame,
Figure BDA0002300352570000087
to hide information In'-1Split into a plurality of separate two-dimensional code diffraction patterns,
Figure BDA0002300352570000088
as a function of the reconstruction of the two-dimensional code diffraction pattern, phi-1As a sorting function of the two-dimensional code diffraction pattern, IiAnd the ith two-dimensional code derivative graph corresponding to the hidden information in the nth video frame is represented.
Step 303: and performing two-dimensional code reconstruction on the two-dimensional code diffraction patterns in the two-dimensional code diffraction pattern set by using an improved GS phase recovery algorithm to obtain a reconstructed two-dimensional code set. The reconstruction two-dimensional code set comprises reconstruction two-dimensional codes corresponding to the two-dimensional code diffraction patterns. The specific process is as follows:
step 1: and performing initial guess on the complex amplitude distribution of each two-dimensional code derivative graph to obtain the initial complex amplitude distribution O of the two-dimensional code. The formula is as follows:
Figure BDA0002300352570000089
Figure BDA00023003525700000810
wherein the ratio of O, I,
Figure BDA00023003525700000811
respectively showing the complex amplitude distribution, intensity distribution and phase distribution of the QR, I is 1,
Figure BDA00023003525700000812
taking random, P is a probe, P is the probe intensity collected on the CCD, lamda is the wavelength of a laser light source, z is the diffraction distance, pixel is the image source size of the CCD,
Figure BDA00023003525700000813
representing inverse fresnel diffraction propagation.
Step 2: and obtaining the complex amplitude distribution U passing through the two-dimensional code plane. The formula is as follows:
U=p·O (3)
step 3: transmitting the signal to a CCD plane by a Fresnel diffraction method to obtain the complex amplitude distribution U of the CCD plane1. The formula is as follows:
Figure BDA0002300352570000091
step 4: replacing the amplitude, and carrying out intensity constraint to obtain an updated complex amplitude distribution U2. The formula is as follows:
Figure BDA0002300352570000092
step 5: and (4) spreading the complex amplitude distribution to the two-dimensional code plane by adopting an inverse Fresnel diffraction method to obtain the complex amplitude distribution of the updated two-dimensional code plane. The formula is as follows:
Figure BDA0002300352570000093
step 6: probe constraints are performed and probes are updated. The formula is as follows:
phase=angle(U3)·p (7)
p′=p+(U3-U) (8)
where phase is the updated phase and p' is the updated probe.
Step 7: and (5) carrying out pure phase constraint on the reconstructed two-dimensional code image to obtain the complex amplitude distribution O' of the reconstructed two-dimensional code of the current iteration number i. The formula is as follows:
O′=exp(i·phase) (9)
when the current iteration number i is 3,6,9, executing Step 8; when the current iteration number i is 1,2,4,5,7 and 8, adding 1 to the iteration number, returning to Step2, and entering the next iteration; when the current iteration number i is 10, Step9 is executed.
Step 8: and carrying out binary constraint on the complex amplitude distribution of the reconstructed two-dimensional code, wherein the formula is as follows:
O=exp(i·bina(phase)) (10)
wherein, bina () represents binarizing the picture. And (4) after the binary constraint, adding 1 to the iteration number, returning to Step2, and entering the next iteration.
Step 9: and obtaining the reconstructed two-dimensional code according to the complex amplitude distribution of the reconstructed two-dimensional code of the current iteration times i.
Step 304: and scanning all the reconstructed two-dimensional codes in the reconstructed two-dimensional code set to obtain an information segment corresponding to each reconstructed two-dimensional code.
Step 305: and integrating all the information segments according to the sequence of the video frames to obtain complete hidden information.
The invention also provides a system for extracting large-capacity optical information, which corresponds to the method for extracting large-capacity optical information shown in FIG. 3. Fig. 4 is a schematic structural diagram of a system for high-capacity optical information extraction according to the present invention. As shown in fig. 4, the system for large-capacity optical information extraction includes the following structure:
the hidden information extracting module 401 is configured to extract hidden information in each video frame of a video file with hidden information to obtain a hidden information set.
A decoding module 402, configured to decode each hidden information in the hidden information set into an independent two-dimensional code diffraction pattern, so as to obtain a two-dimensional code diffraction pattern set.
And a two-dimensional code reconstruction module 403, configured to perform two-dimensional code reconstruction on the two-dimensional code diffraction patterns in the two-dimensional code diffraction pattern set by using an improved GS phase recovery algorithm, so as to obtain a reconstructed two-dimensional code set. The reconstruction two-dimensional code set comprises reconstruction two-dimensional codes corresponding to the two-dimensional code diffraction patterns.
And a code scanning module 404, configured to perform code scanning on all the reconstructed two-dimensional codes in the reconstructed two-dimensional code set to obtain an information segment corresponding to each reconstructed two-dimensional code.
An integrating module 405, configured to integrate all the information segments according to the sequence of the video frame, so as to obtain complete hidden information.
A detailed description of the embodiment corresponding to the schemes shown in fig. 1-4 is provided below.
The reflective coherent diffraction imaging system constructed in this embodiment includes a spatial Light modulator (slm) for loading information and a Charge-coupled Device (CCD) for acquiring data. FIG. 5 is a structural diagram of a reflective coherent diffraction imaging system according to an embodiment of the present invention, as shown in FIG. 5, where Laser is a Laser, and a red helium-neon Laser is used in the embodiment, and the wavelength is 632.8 nm; mirror; AT is an attenuator; the Pinhole1 and the Pinhole2 are diaphragms; the Filter is a spatial Filter; lens is Fourier Lens; pol is a polarizing plate; BS is a beam splitter prism; the SLM is a spatial light modulator, and the SLM is a reflective pure phase modulation spatial light modulator produced by Holoeye (PLUTO-VIS-016-SLM) in the embodiment; the CCD is a charge coupler, the CCD adopted in the embodiment is IMPERX, the model is IGV-B4020M-KF000, the pixel size is 9um, and the diffraction distance Z is 200 mm; the PC is a computer which is simultaneously connected with and controls the CCD and the SLM.
The system light path is arranged as shown in the figure, light beams emitted from the laser are adjusted into parallel light through the two reflectors and then enter the spatial filter, the light beams passing through the spatial filter irradiate the Fourier lens, and a uniform plane wave is formed after passing through the lens. The plane wave passes through a polarizer and then is irradiated on the SLM, and the polarizer is used for ensuring that the SLM is pure phase modulation. The light beam carrying the QR code diffraction information is emitted from the liquid crystal surface of the SLM, reflected by the BS and then received by the CCD plane.
When information hiding is carried out, information to be hidden is coded into a series of QR codes, then the QR codes are loaded on the SLM in sequence, and diffraction patterns corresponding to the QR codes are collected on the CCD, so that a diffraction pattern set, namely a diffraction database, is obtained. Then, a series of scrambling, compressing and attenuating are carried out on the diffraction pattern image, then a single-frame image is extracted from the host video and used as a host image, and the diffraction pattern is hidden in the host image.
Fig. 6 is a schematic flow chart of information hiding in an embodiment of the present invention. The specific process is as follows:
step 1: dividing information to be hidden into m information segments at a computer end according to the capacity of a two-dimensional code (QR code), and coding all the information segments into corresponding QR codes, wherein the pixel size of each QR code is 800 × 800, and the QR codes are in the forms of white background and black information coding squares.
Step 2: sequentially loading QR codes on a liquid crystal display of an SLM, acquiring corresponding diffraction images on a charge-coupled device (CCD) while loading the QR codes, and acquiring corresponding diffraction patterns I on the CCD when loading each imageiAnd i is 1,2, 1, m, until all the diffraction patterns corresponding to the QR are acquired, and a diffraction pattern set encoded by the optical system is obtained.
And step 3: sequentially carrying out diffraction patternsScrambling, compressing and combining. The diffraction patterns in the diffraction pattern set are scrambled according to a certain rule, then compression is carried out in a proper proportion, the pixel compression ratio k is 0.2, and the pixel size of each QR code diffraction pattern after compression is 160 x 160. The resolution of the host video is 1920 × 1080, the number of QR code diffraction patterns which can be hidden in each frame of image is 66, the number of video frames required for hiding all information is N ═ m/66, and the required video duration is T ═ m/(66p) (seconds). Combining the compressed diffraction maps into one image I 'in 6 lines and 11 columns'n,n=1,2,...,N。
And 4, step 4: hidden in the host video. And hiding the combined graph corresponding to each video frame in a corresponding video frame image in the host video after the combined graph corresponding to each video frame is attenuated according to a certain proportion.
And 5: and synthesizing the video frames to form a video file to be transmitted.
After receiving the transmitted video file, the hidden information in the video file needs to be extracted, and the extraction process is as follows:
step 1: video frames containing hidden information are extracted.
Step 2: and extracting hidden information in the single-frame image.
And step 3: and decoding the extracted hidden information into an independent QR code diffraction pattern.
And 4, step 4: and after a QR code diffraction pattern is obtained, reconstructing the QR code by using an improved GS phase recovery algorithm. The method comprises the following specific steps:
4-1: initial guess of the complex amplitude distribution of the QR code.
4-2: the illumination probe is transmitted to the QR code plane.
4-3: the fresnel diffracts into the CCD plane.
4-4: and replacing the amplitude, and performing intensity constraint.
4-5: the inverse fresnel diffracts into the QR code plane.
4-6: probe constraints are performed and probes are updated.
4-7: pure phase constraint for reconstruction QR code image
And (4) repeating the steps 4-4 to 4-7, wherein each cycle is an iteration process, each iteration is performed for 3 times, binary constraint is performed, the reconstruction of the QR code diffraction graph can be completed after 10 iterations, and the reconstruction of a single diffraction graph takes about 0.41s (accelerated by using a GPU).
And 5: and after the diffraction pattern is restored and reconstructed, QR corresponding to the secret information can be obtained, the hidden information segments can be obtained by scanning the code, and then all the information segments are integrated according to the original sequence, so that complete hidden information can be obtained.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In view of the above, the present disclosure should not be construed as limiting the invention.

Claims (10)

1. A method for high capacity optical information hiding, comprising:
carrying out two-dimensional code encoding on the information to be hidden to obtain a two-dimensional code set; the two-dimensional code set comprises a plurality of two-dimensional codes corresponding to the information to be hidden;
diffracting the two-dimensional codes in the two-dimensional code set by a reflective coherent diffraction imaging system comprising a spatial light modulator to obtain a diffraction pattern set; the diffraction pattern comprises a diffraction pattern corresponding to each two-dimensional code;
acquiring a host video;
processing the diffraction patterns in the diffraction pattern set according to the host video to obtain processed images;
hiding the processed video in the host video to obtain a video file to be transmitted and with hidden information.
2. The method for hiding large-capacity optical information according to claim 1, wherein the two-dimensional code encoding of the information to be hidden to obtain a two-dimensional code set specifically comprises:
dividing the hidden information into a plurality of information segments according to the capacity of the two-dimensional code;
and coding all the information segments by adopting two-dimension codes to obtain the two-dimension code corresponding to each information segment, and obtaining the two-dimension code set.
3. The method according to claim 1, wherein the processing the diffraction patterns in the diffraction pattern set according to the host video to obtain a processed image specifically comprises:
acquiring the capacity of each video frame in the host video; the capacity is the number of the hidden diffraction patterns of each video frame;
determining a corresponding diffraction pattern subset of each video frame according to the capacity of each video frame;
using formulas
Figure FDA0002300352560000011
Scrambling, compressing and combining the diffraction patterns in the diffraction pattern subset to obtain a processed image I corresponding to the nth video framen'; wherein, IiRepresents the ith derivative plot, phi () represents the scrambling function of the diffraction plot,
Figure FDA0002300352560000012
a compression function representing the diffraction pattern is shown,
Figure FDA0002300352560000013
the compressed diffraction patterns are combined into a combined function of processed images in a form of a plurality of rows and a plurality of columns.
4. The method according to claim 3, wherein the hiding the processed video file in the host video to obtain the video file to be transmitted with the hidden information comprises:
using formulas
Figure FDA0002300352560000021
The processed image I corresponding to the nth video framenIs hidden in the nth video frame to obtain the nth video frame omega with hidden informationn
Figure FDA0002300352560000022
α is an attenuation factor for the nth video frame of the host video;
all video frames with hidden information are processed by formula
Figure FDA0002300352560000023
Synthesizing video to be transmitted with hidden information
Figure FDA0002300352560000024
Wherein the content of the first and second substances,
Figure FDA0002300352560000025
representing a video frame composition function.
5. A system for high capacity optical information hiding, comprising:
the two-dimension code encoding module is used for carrying out two-dimension code encoding on the information to be hidden to obtain a two-dimension code set; the two-dimensional code set comprises a plurality of two-dimensional codes corresponding to the information to be hidden;
the diffraction module is used for diffracting the two-dimensional codes in the two-dimensional code set through a reflective coherent diffraction imaging system comprising a spatial light modulator to obtain a diffraction pattern set; the diffraction pattern comprises a diffraction pattern corresponding to each two-dimensional code;
the host video acquisition module is used for acquiring a host video;
the diffraction pattern processing module is used for processing the diffraction patterns in the diffraction pattern set according to the host video to obtain processed images;
and the hiding module is used for hiding the processed video in the host video to obtain a video file to be transmitted and provided with hidden information.
6. A method for high-volume optical information extraction, comprising:
extracting hidden information in each video frame in a video file with the hidden information to obtain a hidden information set;
decoding each piece of hidden information in the hidden information set into an independent two-dimensional code diffraction pattern to obtain a two-dimensional code diffraction pattern set;
performing two-dimensional code reconstruction on the two-dimensional code diffraction patterns in the two-dimensional code diffraction pattern set by using an improved GS phase recovery algorithm to obtain a reconstructed two-dimensional code set; the reconstruction two-dimensional code set comprises reconstruction two-dimensional codes corresponding to the two-dimensional code diffraction patterns;
scanning all the reconstructed two-dimensional codes in the reconstructed two-dimensional code set to obtain an information segment corresponding to each reconstructed two-dimensional code;
and integrating all the information segments according to the sequence of the video frames to obtain complete hidden information.
7. A method for high-capacity optical information extraction as claimed in claim 6, wherein said extracting hidden information in each video frame of a video file with hidden information to obtain a set of hidden information comprises:
using formulas
Figure FDA0002300352560000031
Extracting video frames in a video file with hidden information; wherein the content of the first and second substances,
Figure FDA0002300352560000032
representing the video frame extraction function and,
Figure FDA0002300352560000033
for video files with hidden information, ΩnThe nth video frame with hidden information is obtained;
using formulas
Figure FDA0002300352560000034
Extracting hidden information in each video frame to obtain a hidden information set; wherein, In'-1For the concealment information in the nth video frame,
Figure FDA0002300352560000035
is the nth video frame of the host video.
8. The method for extracting large-capacity optical information according to claim 7, wherein the decoding each hidden information in the set of hidden information into an independent two-dimensional code diffraction pattern to obtain a set of two-dimensional code diffraction patterns specifically comprises:
using formulas
Figure FDA0002300352560000036
Decoding each hidden information into an independent two-dimensional code diffraction pattern to obtain a two-dimensional code diffraction pattern set; wherein, In'-1For the concealment information in the nth video frame,
Figure FDA0002300352560000037
to hide information In'-1Split into a plurality of separate two-dimensional code diffraction patterns,
Figure FDA0002300352560000038
as a function of the reconstruction of the two-dimensional code diffraction pattern, phi-1As a sorting function of the two-dimensional code diffraction pattern, IiRepresenting concealment in nth video frameAnd storing the ith two-dimensional code derivative graph corresponding to the information.
9. The method for extracting large-capacity optical information according to claim 8, wherein the two-dimensional code reconstruction is performed on the two-dimensional code diffraction patterns in the two-dimensional code diffraction pattern set by using an improved GS phase recovery algorithm to obtain a reconstructed two-dimensional code set, and specifically comprises:
performing initial guess on the complex amplitude distribution of each two-dimensional code derivative graph to obtain the initial complex amplitude distribution of the two-dimensional codes;
obtaining complex amplitude distribution passing through the two-dimensional code plane;
transmitting the signal to a CCD plane by adopting a Fresnel diffraction method to obtain the complex amplitude distribution of the CCD plane;
replacing the amplitude, and performing intensity constraint to obtain updated complex amplitude distribution;
spreading the two-dimensional code plane by adopting an inverse Fresnel diffraction method to obtain the complex amplitude distribution of the updated two-dimensional code plane;
carrying out probe constraint and updating the probe;
carrying out pure phase constraint on the reconstructed two-dimensional code image to obtain the complex amplitude distribution of the reconstructed two-dimensional code of the current iteration number i;
when the current iteration number i is 3,6,9, performing binary constraint on the complex amplitude distribution of the reconstructed two-dimensional code, and returning to the step of obtaining the complex amplitude distribution penetrating through the plane of the two-dimensional code;
when the current iteration number i is 1,2,4,5,7 and 8, returning to the step of obtaining the complex amplitude distribution passing through the two-dimensional code plane;
and when the current iteration number i is 10, obtaining the reconstructed two-dimensional code according to the complex amplitude distribution of the reconstructed two-dimensional code of the current iteration number i.
10. A system for high volume optical information extraction, comprising:
the hidden information extraction module is used for extracting hidden information in each video frame in the video file with the hidden information to obtain a hidden information set;
the decoding module is used for decoding each piece of hidden information in the hidden information set into an independent two-dimensional code diffraction pattern to obtain a two-dimensional code diffraction pattern set;
the two-dimensional code reconstruction module is used for performing two-dimensional code reconstruction on the two-dimensional code diffraction patterns in the two-dimensional code diffraction pattern set by using an improved GS phase recovery algorithm to obtain a reconstructed two-dimensional code set; the reconstruction two-dimensional code set comprises reconstruction two-dimensional codes corresponding to the two-dimensional code diffraction patterns;
the code scanning module is used for scanning all the reconstructed two-dimensional codes in the reconstructed two-dimensional code set to obtain an information segment corresponding to each reconstructed two-dimensional code;
and the integration module is used for integrating all the information segments according to the sequence of the video frames to obtain complete hidden information.
CN201911219301.2A 2019-12-03 2019-12-03 Method and system for hiding and extracting large-capacity optical information Active CN110942413B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911219301.2A CN110942413B (en) 2019-12-03 2019-12-03 Method and system for hiding and extracting large-capacity optical information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911219301.2A CN110942413B (en) 2019-12-03 2019-12-03 Method and system for hiding and extracting large-capacity optical information

Publications (2)

Publication Number Publication Date
CN110942413A true CN110942413A (en) 2020-03-31
CN110942413B CN110942413B (en) 2022-04-29

Family

ID=69909102

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911219301.2A Active CN110942413B (en) 2019-12-03 2019-12-03 Method and system for hiding and extracting large-capacity optical information

Country Status (1)

Country Link
CN (1) CN110942413B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111556257A (en) * 2020-04-17 2020-08-18 北京理工大学 Imaging method and device based on narrow dynamic range acquisition and adaptive phase recovery
CN111861850A (en) * 2020-07-21 2020-10-30 中国科学院大学 Information hiding method and system for laminated imaging
CN111897196A (en) * 2020-08-13 2020-11-06 中国科学院大学 Method and system for hiding and extracting digital holographic information
CN113253452A (en) * 2021-06-01 2021-08-13 中国科学院大学 Optical information hiding method and system based on two-dimensional code
CN113438382A (en) * 2021-06-28 2021-09-24 中国科学院大学 Lossless information hiding and extracting method and system for visual password

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060078113A1 (en) * 2001-03-30 2006-04-13 Bahram Javidi Information security using digital holography
CN103259660A (en) * 2013-04-15 2013-08-21 山东大学 Image authentication method based on phase retrieval and elliptic curve digital signature algorithm
US8971532B1 (en) * 2011-01-17 2015-03-03 Exaimage Corporation System and methods for protecting video content
CN107491972A (en) * 2017-08-23 2017-12-19 苏州印象镭射科技有限公司 A kind of detection application of diffraction image and its detection method
CN107948461A (en) * 2017-12-04 2018-04-20 四川大学 More images hiding in QR codes is realized based on compressed sensing and orthogonal modulation
CN108171642A (en) * 2016-12-07 2018-06-15 中国科学院大学 The asymmetrical optical Information Hiding Techniques of view-based access control model cryptography

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060078113A1 (en) * 2001-03-30 2006-04-13 Bahram Javidi Information security using digital holography
US8971532B1 (en) * 2011-01-17 2015-03-03 Exaimage Corporation System and methods for protecting video content
CN103259660A (en) * 2013-04-15 2013-08-21 山东大学 Image authentication method based on phase retrieval and elliptic curve digital signature algorithm
CN108171642A (en) * 2016-12-07 2018-06-15 中国科学院大学 The asymmetrical optical Information Hiding Techniques of view-based access control model cryptography
CN107491972A (en) * 2017-08-23 2017-12-19 苏州印象镭射科技有限公司 A kind of detection application of diffraction image and its detection method
CN107948461A (en) * 2017-12-04 2018-04-20 四川大学 More images hiding in QR codes is realized based on compressed sensing and orthogonal modulation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨晓玲等: "结合时空混沌映射的虚拟光学加密系统", 《计算机工程与应用》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111556257A (en) * 2020-04-17 2020-08-18 北京理工大学 Imaging method and device based on narrow dynamic range acquisition and adaptive phase recovery
CN111556257B (en) * 2020-04-17 2021-06-04 北京理工大学 Imaging method and device based on narrow dynamic range acquisition and adaptive phase recovery
CN111861850A (en) * 2020-07-21 2020-10-30 中国科学院大学 Information hiding method and system for laminated imaging
CN111861850B (en) * 2020-07-21 2022-04-29 中国科学院大学 Information hiding method and system for laminated imaging
CN111897196A (en) * 2020-08-13 2020-11-06 中国科学院大学 Method and system for hiding and extracting digital holographic information
CN113253452A (en) * 2021-06-01 2021-08-13 中国科学院大学 Optical information hiding method and system based on two-dimensional code
CN113253452B (en) * 2021-06-01 2022-08-09 中国科学院大学 Optical information hiding method and system based on two-dimensional code
CN113438382A (en) * 2021-06-28 2021-09-24 中国科学院大学 Lossless information hiding and extracting method and system for visual password
CN113438382B (en) * 2021-06-28 2022-08-09 中国科学院大学 Lossless information hiding and extracting method and system for visual password

Also Published As

Publication number Publication date
CN110942413B (en) 2022-04-29

Similar Documents

Publication Publication Date Title
CN110942413B (en) Method and system for hiding and extracting large-capacity optical information
Liansheng et al. Single-pixel correlated imaging with high-quality reconstruction using iterative phase retrieval algorithm
Alfalou et al. Optical image compression and encryption methods
CN104159094B (en) A kind of method improving the holographic chromatography imaging effect of optical scanner
CN110728164B (en) Real-time information hiding system and method based on two-dimensional code and reflective stacked imaging
CN101795344A (en) Digital hologram compression method and system, decoding method and system, and transmission method and system
Gao et al. Multiple-image encryption and hiding with an optical diffractive neural network
CN107306333A (en) A kind of high speed single pixel imaging method
CN111861850B (en) Information hiding method and system for laminated imaging
Wang et al. Optical image authentication scheme using dual polarization decoding configuration
Zhang et al. Two-level image authentication by two-step phase-shifting interferometry and compressive sensing
Schretter et al. Regularized non-convex image reconstruction in digital holographic microscopy
Darakis et al. Visually lossless compression of digital hologram sequences
Ma et al. Optical information hiding with non-mechanical ptychography encoding
Tang et al. Optical information hiding based on complex-amplitude ptychographic encoding and visual cryptography
CN114894740A (en) Terahertz single-pixel imaging method and system
Zhou et al. An optical image watermarking method based on computational ghost imaging and multiple logistic maps
CN116743934B (en) Equal resolution image hiding and encrypting method based on deep learning and ghost imaging
CN113438382B (en) Lossless information hiding and extracting method and system for visual password
CN113658330B (en) Holographic encoding method based on neural network
Zhuang et al. Deep-learning-based ciphertext-only attack on optical scanning cryptosystem
CN115857304A (en) Compressed ultrafast holographic quantitative phase imaging method, system, equipment and medium
CN111897196B (en) Method and system for hiding and extracting digital holographic information
Li et al. Robust steganography of large capacity lossless images based on visual cryptography and ptychography
CN113409339B (en) Large-view-field hidden extraction method and system for laminated diffraction imaging

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