[go: up one dir, main page]

CN113343268A - A multi-3D scene encryption and decryption method with controllable amplification and decryption - Google Patents

A multi-3D scene encryption and decryption method with controllable amplification and decryption Download PDF

Info

Publication number
CN113343268A
CN113343268A CN202110718355.4A CN202110718355A CN113343268A CN 113343268 A CN113343268 A CN 113343268A CN 202110718355 A CN202110718355 A CN 202110718355A CN 113343268 A CN113343268 A CN 113343268A
Authority
CN
China
Prior art keywords
decryption
phase
dimensional scene
signal
dimensional
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
CN202110718355.4A
Other languages
Chinese (zh)
Other versions
CN113343268B (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.)
Fujian Normal University
Original Assignee
Fujian 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 Fujian Normal University filed Critical Fujian Normal University
Priority to CN202110718355.4A priority Critical patent/CN113343268B/en
Publication of CN113343268A publication Critical patent/CN113343268A/en
Application granted granted Critical
Publication of CN113343268B publication Critical patent/CN113343268B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioethics (AREA)
  • Computer Graphics (AREA)
  • Geometry (AREA)
  • Processing Or Creating Images (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

本发明公开一种可控放大解密的多三维场景加解密方法,将每个三维场景的每个分层面物场信息扩幅补零后计算菲涅尔逆衍射光波,再乘以球面波获得该层面放大重建的的衍射光波信号;叠加各层面的放大重建衍射光波信号获得每个三维场景各层面放大重建的衍射光波信号;将各个三维场景的衍射光波信号相加获得的复合衍射光波信号再叠加一个复噪声信号得到两个相位函数和的复合光波信号;其中一相位函数二值相位处理后作为公用的加密相位模板;复合光波信号减去二值相位模板分量的剩余分量与干扰抑制信号组合形成解密用复信号,解密用复信号经菲涅尔衍射逆运算后分解的解密相位模板1和解密相位模板2配合公用的二值加密相位模板计算特定距离处的菲涅尔衍射,获得对应三维场景的各层面放大解密重建像。本发明具有良好的安全性和放大重建效果。

Figure 202110718355

The invention discloses a multi-three-dimensional scene encryption and decryption method with controllable amplification and decryption. The object field information of each layered layer of each three-dimensional scene is expanded and zero-filled, the Fresnel inverse diffraction light wave is calculated, and the spherical wave is multiplied to obtain the Amplified and reconstructed diffracted lightwave signals at each level; superimposed the amplified and reconstructed diffracted lightwave signals of each level to obtain the amplified and reconstructed diffracted lightwave signals of each three-dimensional scene at each level; the composite diffracted lightwave signals obtained by adding the diffracted lightwave signals of each three-dimensional scene and then superimposed A complex noise signal obtains a composite lightwave signal of the sum of two phase functions; one of the phase functions is used as a public encrypted phase template after binary phase processing; the residual component of the composite lightwave signal minus the binary phase template component is combined with the interference suppression signal A complex signal for decryption is formed, and the decrypted phase template 1 and the decrypted phase template 2 decomposed by the inverse operation of Fresnel diffraction of the complex signal for decryption are combined with the common binary encrypted phase template to calculate the Fresnel diffraction at a specific distance, and obtain the corresponding three-dimensional All levels of the scene are enlarged, decrypted and reconstructed. The present invention has good safety and magnification reconstruction effect.

Figure 202110718355

Description

一种可控放大解密的多三维场景加解密方法A multi-3D scene encryption and decryption method with controllable amplification and decryption

技术领域technical field

本发明涉及三维场景加解密技术领域,尤其涉及一种可控放大解密的多三维场景加解密 方法。The invention relates to the technical field of three-dimensional scene encryption and decryption, in particular to a multi-three-dimensional scene encryption and decryption method with controllable amplification and decryption.

背景技术Background technique

用深度图及数字图像描述的三维场景是机器视觉、3D电视、3D电影、3D通话,3D地图、 3D游戏、远程医疗等领域的重要信息源。计算机及互联网技术的飞速发展在带来便利性的同 时也带来了三维场景数字载体的安全问题,而在多用户认证、内容分发、提高秘密信息传输 效率等应用场合还需要解决多重三维场景加密问题。此外,对低分辨率的原始三维场景还需 解决三维场景的解密放大重建问题。3D scenes described by depth maps and digital images are important information sources in the fields of machine vision, 3D TV, 3D movies, 3D calls, 3D maps, 3D games, and telemedicine. The rapid development of computer and Internet technology brings convenience and also brings the security problem of 3D scene digital carrier. In applications such as multi-user authentication, content distribution, and improving the efficiency of secret information transmission, multiple 3D scene encryption needs to be solved. question. In addition, for the low-resolution original 3D scene, it is necessary to solve the problem of decryption, enlargement and reconstruction of the 3D scene.

发明内容SUMMARY OF THE INVENTION

本发明的目的在于提供一种可控放大解密的多三维场景加解密方法。The purpose of the present invention is to provide a multi-3D scene encryption and decryption method with controllable amplification and decryption.

本发明采用的技术方案是:The technical scheme adopted in the present invention is:

一种可控放大解密的多三维场景加解密方法,其包括加密步骤和解密步骤,具体步骤如 下:A kind of multi-dimensional scene encryption and decryption method of controllable amplification and decryption, it comprises encryption step and decryption step, and concrete steps are as follows:

加密步骤:Encryption steps:

步骤1-1,将单个三维场景结合深度信息进行分层;Step 1-1, layering a single 3D scene in combination with depth information;

步骤1-2,每个层面物场信息根据解密放大率需求扩幅补零,对扩幅补零后的层面信息 计算菲涅尔逆衍射;Step 1-2, the object field information of each layer is expanded and zero-filled according to the decryption magnification requirement, and the Fresnel inverse diffraction is calculated for the layer information after the expansion and zero-filling;

步骤1-3,菲涅尔逆衍射的光波再乘以球面波获得该层面的放大重建衍射光波信号;In steps 1-3, the Fresnel inverse diffracted light wave is multiplied by the spherical wave to obtain the amplified and reconstructed diffracted light wave signal at the level;

步骤1-4,叠加各层面的放大重建衍射光波信号得到对应单个三维场景的各层面放大重 建的衍射光波信号;Steps 1-4, superimposing the amplified and reconstructed diffracted light wave signals of each layer to obtain the amplified and reconstructed diffracted light wave signals of each layer corresponding to a single three-dimensional scene;

步骤1-5,分别计算得到各个三维场景的放大重建的衍射光波信号;Steps 1-5, respectively calculate and obtain the amplified and reconstructed diffracted lightwave signals of each three-dimensional scene;

步骤1-6,将来自各个三维场景的衍射光波信号相加获得包含多个三维场景的用于放大 解密的复合衍射光波信号,该复合衍射光波信号再叠加一个复噪声信号形成包含多个三维场 景的复噪声形式的复合光波信号;Steps 1-6, adding the diffracted lightwave signals from each three-dimensional scene to obtain a composite diffracted lightwave signal containing multiple three-dimensional scenes for amplification and decryption, and the composite diffracted lightwave signal is superimposed with a complex noise signal to form a multiple three-dimensional scene. The composite lightwave signal in the form of complex noise;

步骤1-7,将复合光波信号分解为两个相位函数的和,任取一个相位函数将其相位量化 为二值相位,该二值相位函数用作公用的加密二值相位模板;Step 1-7, the composite light wave signal is decomposed into the sum of two phase functions, and a phase function is arbitrarily taken and its phase is quantized into a binary phase, and this binary phase function is used as a public encrypted binary phase template;

步骤1-8,将复合光波信号减去二值相位模板分量后的剩余分量与各个三维场景的干扰 抑制信号组合形成对应于各个三维场景的解密用复信号,该解密用复信号经距离为Z1的菲涅 尔衍射逆运算后分解为解密相位模板1和解密相位模板2;Steps 1-8, combine the remaining components after subtracting the binary phase template component from the composite lightwave signal and the interference suppression signal of each three-dimensional scene to form a complex signal for decryption corresponding to each three-dimensional scene, and the complex signal for decryption has a distance of Z1. After the inverse operation of Fresnel diffraction, it is decomposed into decrypted phase template 1 and decrypted phase template 2;

解密步骤:Decryption steps:

1)利用对应于各个三维场景的解密相位模板1和解密相位模板2计算距离为z1的菲涅 耳衍射;1) utilize the deciphering phase template 1 and deciphering phase template 2 corresponding to each three-dimensional scene to calculate the Fresnel diffraction that the distance is z1;

2)用解密步骤1中的衍射光波信号与公用加密二值相位模板相加后的信号计算特定衍射 距离的菲涅尔衍射获得三维场景各层面放大重建像。2) Calculate the Fresnel diffraction of a specific diffraction distance with the added signal of the diffracted light wave signal in the decryption step 1 and the public encrypted binary phase template to obtain an enlarged and reconstructed image of each layer of the three-dimensional scene.

进一步地,作为一种较优实施方式,步骤1-4中用于放大重建的三维场景衍射光波信号Sm的计算步骤如下:Further, as a preferred embodiment, the calculation steps for the amplified and reconstructed three-dimensional scene diffracted light wave signal S m in steps 1-4 are as follows:

步骤1-4-1,通过计算距离为di及光波长为λ的菲涅耳逆衍射得到虚拟面光源信号Ei(x,y),其计算公式为:

Figure BDA0003135916170000021
In step 1-4-1, the virtual surface light source signal E i (x, y) is obtained by calculating the Fresnel inverse diffraction with the distance d i and the light wavelength λ, and the calculation formula is:
Figure BDA0003135916170000021

其中,fi(x0,y0)表示单个三维场景第i个层面的经扩幅补零后的分层图像,di表示该层 面距观测平面的菲涅尔衍射距离;Among them, f i (x 0 , y 0 ) represents the layered image of the ith layer of a single three-dimensional scene after expansion and zero-filling, and d i represents the Fresnel diffraction distance between the layer and the observation plane;

步骤1-4-2,数字球面波信号公式为:Step 1-4-2, the digital spherical wave signal formula is:

Figure BDA0003135916170000022
Figure BDA0003135916170000022

其中,Rc为曲率半径,与放大率之间的关系为:Among them, R c is the radius of curvature, and the relationship between it and the magnification is:

Figure BDA0003135916170000023
Figure BDA0003135916170000023

其中,γ表示放大率。Among them, γ represents the magnification.

步骤1-4-3,计算得到用于放大重建的三维场景衍射光波信号Sm,计算公式如下:Step 1-4-3, calculate and obtain the three-dimensional scene diffracted light wave signal S m used for amplification and reconstruction, and the calculation formula is as follows:

Figure BDA0003135916170000024
Figure BDA0003135916170000024

其中,Ei(x,y)为虚拟面光源信号,L(x,y)为球面波的曲率半径;i表示单个三维场景第 i个层面;N为单个三维场景的层面数量。Among them, E i (x, y) is the virtual surface light source signal, L(x, y) is the curvature radius of the spherical wave; i represents the ith layer of a single 3D scene; N is the number of layers in a single 3D scene.

进一步地,作为一种较优实施方式,步骤1-6中复噪声形式的复合光波信号S的计算公 式如下:Further, as a kind of preferred embodiment, the calculation formula of the composite light wave signal S of complex noise form in step 1-6 is as follows:

Figure BDA0003135916170000025
Figure BDA0003135916170000025

其中,M表示三维场景数量,m表示第m个三维场景,Sm表示第m个三维场景的用于放大重建的衍射光波信号,R和

Figure BDA0003135916170000037
为随机幅度和随机相位信号,Re表示复噪声信号。Among them, M represents the number of 3D scenes, m represents the mth 3D scene, S m represents the diffracted light wave signal used for amplification and reconstruction of the mth 3D scene, R and
Figure BDA0003135916170000037
is the random amplitude and random phase signal, Re represents the complex noise signal.

进一步地,作为一种较优实施方式,步骤1-7的具体步骤如下:Further, as a preferred embodiment, the specific steps of steps 1-7 are as follows:

步骤1-7-1,将复合光波信号分解为两个相位函数相加的形式,即Step 1-7-1, decompose the composite light wave signal into the form of adding two phase functions, namely

Figure BDA0003135916170000031
Figure BDA0003135916170000031

其中,

Figure BDA0003135916170000032
in,
Figure BDA0003135916170000032

步骤1-7-2,将相位f1二值化,形成二值加密相位E,即Step 1-7-2, binarize the phase f 1 to form a binary encrypted phase E, that is

E=bin(f1) (9)E=bin(f 1 ) (9)

其中,bin(·)表示二值化处理,Among them, bin( ) represents the binarization process,

步骤1-7-3,将二值加密相位模板ejE作为公用的加密相位模板,二值加密相位模板ejE包 含了多个三维场景的共有信息。In step 1-7-3, the binary encrypted phase template e jE is used as a common encrypted phase template, and the binary encrypted phase template e jE contains common information of multiple three-dimensional scenes.

进一步地,作为一种较优实施方式,步骤1-8的具体步骤为:Further, as a preferred embodiment, the specific steps of steps 1-8 are:

步骤1-8-1,获取第K个三维场景的解密用复信号D,其表示为:Step 1-8-1, obtain the complex signal D for decryption of the Kth three-dimensional scene, which is expressed as:

Figure BDA0003135916170000033
Figure BDA0003135916170000033

步骤1-8-2,解密用复信号D经距离为Z1的菲涅尔衍射逆运算后进行光矢量等模分解, 得到解密相位模板1和解密相位模板2,具体表达式为:In step 1-8-2, the complex signal D for decryption is subjected to the inverse operation of Fresnel diffraction with a distance of Z1 to perform equal-modular decomposition of the light vector, and the decrypted phase template 1 and the decrypted phase template 2 are obtained, and the specific expressions are:

Figure BDA0003135916170000034
Figure BDA0003135916170000034

其中,

Figure BDA0003135916170000035
in,
Figure BDA0003135916170000035

进一步地,作为一种较优实施方式,步骤2-1中第i层三维场景的菲涅耳衍射距离的计 算公式如下:Further, as a kind of preferred embodiment, the calculation formula of the Fresnel diffraction distance of the i-th layer three-dimensional scene in step 2-1 is as follows:

Figure BDA0003135916170000036
Figure BDA0003135916170000036

其中dmin表示最近物面到观测面距离,dmax表示最远物面到观测面距离,其中Di是第i层 三维场景的深度值。where d min represents the distance from the nearest object surface to the observation surface, d max represents the distance from the farthest object surface to the observation surface, and Di is the depth value of the i-th layer 3D scene.

进一步地,作为一种较优实施方式,步骤2-1中三维场景各层面放大重建信号的计算公 式如下Further, as a kind of preferred embodiment, in step 2-1, the calculation formula of each level of three-dimensional scene amplification and reconstruction signal is as follows:

Figure BDA0003135916170000041
Figure BDA0003135916170000041

进一步地,作为一种较优实施方式,重建三维场景的质量用相关系数NC评价,相关系数 公式如下:Further, as a kind of preferred embodiment, the quality of reconstructing three-dimensional scene is evaluated with correlation coefficient NC, and correlation coefficient formula is as follows:

Figure BDA0003135916170000042
Figure BDA0003135916170000042

其中,O表示原始三维场景,R为利用二值相位模板及第一和第二解密相位模板解密出 的三维场景。Wherein, O represents the original three-dimensional scene, and R is the three-dimensional scene decrypted by using the binary phase template and the first and second decrypted phase templates.

进一步地,作为一种较优实施方式,解密步骤部分通过解密虚拟光路进行三维场景重建; 解密虚拟光路包括两个分束器和光电探测器CCD,两个分束器和光电探测器CCD依次设置, 解密相位模板1和解密相位模板2分别设置在第一个分束器的不同入光面,第一个分束器的 出光面通过空间光调制器对接第二个分束器的一入光面,二值加密相位模板E设在第二个分 束器的特定入光面处,第二个分束器的出光面对应光电探测器CCD设置。Further, as a preferred embodiment, the decryption step partially reconstructs the three-dimensional scene by decrypting the virtual optical path; the decrypted virtual optical path includes two beam splitters and a photodetector CCD, and the two beam splitters and the photodetector CCD are arranged in sequence. , the decryption phase template 1 and the decryption phase template 2 are respectively set on different light incident surfaces of the first beam splitter, and the light exit surface of the first beam splitter is connected to the light incident of the second beam splitter through the spatial light modulator The binary encryption phase template E is set at the specific light incident surface of the second beam splitter, and the light exit surface of the second beam splitter is set corresponding to the CCD of the photodetector.

本发明采用以上技术方案,首先单个三维场景结合深度信息分层;每个层面物场信息根 据解密放大率需求扩幅补零,对扩幅补零后的层面信息计算菲涅尔逆衍射;逆衍射光波再乘 以球面波获得该层面用于放大重建的的衍射光波信号;叠加各层面的放大重建衍射光波信号 获得用于单个三维场景各层面放大重建的衍射光波信号;用同样的方法获得其他三维场景的 用于放大重建的衍射光波信号;将来自各个三维场景的衍射光波信号相加获得包含多个三维 场景的可用于放大解密的复合衍射光波信号,该复合衍射光波信号再叠加一个复噪声信号形 成包含多个三维场景的复噪声形式的复合光波信号。将复合光波信号分解为两个相位函数的 和,任取一个相位函数将其相位量化为二值相位,该二值相位函数用作公用的加密二值相位 模板。将复合光波信号减去二值相位模板分量后的剩余分量与各个三维场景的干扰抑制信号 组合形成对应于各个三维场景的解密用复信号,该复信号经距离为Z1的菲涅尔衍射逆运算后 分解为解密相位模板1和解密相位模板2。用与三维场景相对应的解密相位模板1、解密相位 模板2和公用的二值加密相位模板在菲涅尔域级联相加后计算特定距离处的菲涅尔衍射,可 获得该三维场景的各层面放大解密重建像。测试结果表明,所提出的方法具有良好的安全性 和放大重建效果。公用的二值加密相位模板或解密相位模板的缺失都将导致三维场景重建失 败,而二值加密相位模板在叠加一定强度高斯噪声情况下,仍可在一定程度上重建出三维场 景,对高斯低通滤波、对比度增强滤波同样表现出较强的抗攻击性能。The present invention adopts the above technical scheme, first, a single three-dimensional scene is combined with depth information layering; the object field information of each layer is expanded and zero-filled according to the decryption magnification requirement, and Fresnel inverse diffraction is calculated for the layer information after the expansion and zero-filling; The diffracted light wave is multiplied by the spherical wave to obtain the diffracted light wave signal used for the amplification and reconstruction of this layer; the amplified and reconstructed diffracted light wave signal of each layer is superimposed to obtain the diffracted light wave signal used for the amplification and reconstruction of each layer of a single three-dimensional scene; the same method is used to obtain other The diffracted lightwave signal used for amplification and reconstruction of the three-dimensional scene; the diffracted lightwave signal from each three-dimensional scene is added to obtain a composite diffracted lightwave signal containing multiple three-dimensional scenes that can be used for amplification and decryption, and the composite diffracted lightwave signal is superimposed with a complex noise The signal forms a composite lightwave signal in the form of complex noise containing multiple three-dimensional scenes. The composite lightwave signal is decomposed into the sum of two phase functions, and any phase function is taken to quantize its phase into a binary phase, which is used as a common encrypted binary phase template. Combining the residual component after subtracting the binary phase template component from the composite lightwave signal and the interference suppression signal of each 3D scene to form a complex signal for decryption corresponding to each 3D scene, the complex signal is subjected to the inverse operation of Fresnel diffraction with a distance of Z1 It is then decomposed into decrypted phase template 1 and decrypted phase template 2. Using the decrypted phase template 1, decrypted phase template 2 and the public binary encrypted phase template corresponding to the three-dimensional scene in the Fresnel domain to calculate the Fresnel diffraction at a specific distance after the cascade addition, the three-dimensional scene can be obtained. All levels are enlarged, decrypted and reconstructed. The test results show that the proposed method has good safety and magnified reconstruction effect. The lack of the public binary encrypted phase template or the decrypted phase template will lead to the failure of 3D scene reconstruction, while the binary encrypted phase template can still reconstruct the 3D scene to a certain extent under the condition of superimposed Gaussian noise with a certain intensity. Pass filtering and contrast enhancement filtering also show strong anti-attack performance.

附图说明Description of drawings

以下结合附图和具体实施方式对本发明做进一步详细说明;The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments;

图1为本发明的多三维场景加密流程图;Fig. 1 is the multi-dimensional scene encryption flow chart of the present invention;

图2为本发明的三维场景解密流程图;Fig. 2 is the three-dimensional scene decryption flow chart of the present invention;

图3为本发明的三维场景分层模型;Fig. 3 is the three-dimensional scene layered model of the present invention;

图4为三维场景i放大解密衍射光波信号生成原理图;Fig. 4 is a schematic diagram of generating a three-dimensional scene i amplification and decryption diffracted light wave signal;

图5为本发明的多三维场景加解密原理框图;Fig. 5 is the multi-3D scene encryption and decryption principle block diagram of the present invention;

图6为本发明的解密虚拟光路图;Fig. 6 is the decryption virtual light path diagram of the present invention;

图7为本发明的原始三维场景及分层图像;Fig. 7 is the original three-dimensional scene and the layered image of the present invention;

图8为本发明的公用二值加密相位模板;Fig. 8 is the public binary encryption phase template of the present invention;

图9为本发明的解密各个三维场景的第一及第二解密相位模板;Fig. 9 is the first and second decryption phase templates of decrypting each three-dimensional scene of the present invention;

图10为本发明的利用解密相位模板重建的各个三维场景;10 is each three-dimensional scene reconstructed by the decrypted phase template according to the present invention;

图11为本发明的不同相位模板组合下三维场景1重建像;11 is a reconstructed image of the three-dimensional scene 1 under the combination of different phase templates of the present invention;

图12为本发明的二值加密相位模板抗攻击性能;Fig. 12 is the anti-attack performance of the binary encryption phase template of the present invention;

图13为本发明的二值加密相位模板不同量化位数下的抗噪声性能比较示意图;13 is a schematic diagram showing the comparison of anti-noise performance under different quantization bits of the binary encryption phase template of the present invention;

图14为本发明的解密相位模板D1错误率为0.2%时三维场景1重建像;14 is a reconstructed image of the 3D scene 1 when the decryption phase template D1 error rate of the present invention is 0.2%;

图15为场景1解密相位模板D2错误率为0.2%时三维场景1重建像。Fig. 15 is a reconstructed image of the 3D scene 1 when the error rate of the decrypted phase template D2 of the scene 1 is 0.2%.

具体实施方式Detailed ways

为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附 图对本申请实施例中的技术方案进行清楚、完整地描述。In order to make the purposes, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application.

本发明最关键的构思在于:一种基于菲涅尔域级联相位模板分解与可控放大解密的多三 维场景加解密方法。首先单个三维场景结合深度信息分层;每个层面物场信息根据解密放大 率需求扩幅补零,对扩幅补零后的层面信息计算菲涅尔逆衍射;逆衍射光波再乘以球面波获 得该层面用于放大重建的的衍射光波信号;叠加各层面的放大重建衍射光波信号获得用于单 个三维场景各层面放大重建的衍射光波信号;用同样的方法获得其他三维场景的用于放大重 建的衍射光波信号;将来自各个三维场景的衍射光波信号相加获得包含多个三维场景的可用 于放大解密的复合衍射光波信号,该复合衍射光波信号再叠加一个复噪声信号形成包含多个 三维场景的复噪声形式的复合光波信号。将复合光波信号分解为两个相位函数的和,任取一 个相位函数将其相位量化为二值相位,该二值相位函数用作公用的加密二值相位模板。将复 合光波信号减去二值相位模板分量后的剩余分量与各个三维场景的干扰抑制信号组合形成对 应于各个三维场景的解密用复信号,该复信号经距离为Z1的菲涅尔衍射逆运算后分解为解密 相位模板1和解密相位模板2。用与三维场景相对应的解密相位模板1、解密相位模板2和公 用的二值加密相位模板在菲涅尔域级联相加后计算特定距离处的菲涅尔衍射,可获得该三维 场景的各层面放大解密重建像。测试结果表明,所提出的方法具有良好的安全性和放大重建 效果。公用的二值加密相位模板或解密相位模板的缺失都将导致三维场景重建失败,而二值 加密相位模板在叠加一定强度高斯噪声情况下,仍可在一定程度上重建出三维场景,对高斯 低通滤波、对比度增强滤波同样表现出较强的抗攻击性能。可广泛应用在数据保密领域。The key idea of the present invention is: a multi-3D scene encryption and decryption method based on Fresnel domain cascaded phase template decomposition and controllable amplification and decryption. First, a single 3D scene is layered with depth information; the object field information of each layer is expanded and zero-filled according to the decryption magnification requirement, and the Fresnel inverse diffraction is calculated for the layer information after the expansion and zero-filling; the inverse diffracted light wave is multiplied by the spherical wave Obtain the diffracted light wave signal used for amplification and reconstruction of this layer; superimpose the amplified and reconstructed diffracted light wave signal of each layer to obtain the diffracted light wave signal used for the amplification and reconstruction of each layer of a single 3D scene; use the same method to obtain other 3D scenes for amplification and reconstruction. The diffracted lightwave signals from each 3D scene are added together to obtain a composite diffracted lightwave signal that contains multiple 3D scenes and can be used for amplification and decryption. The composite diffracted lightwave signal is superimposed with a complex noise signal to form multiple 3D scenes. The complex lightwave signal in the form of complex noise. The composite light wave signal is decomposed into the sum of two phase functions, and any phase function is taken to quantize its phase into a binary phase, which is used as a public encrypted binary phase template. Combining the residual component after subtracting the binary phase template component from the composite lightwave signal and the interference suppression signal of each 3D scene to form a complex signal for decryption corresponding to each 3D scene, the complex signal is subjected to the inverse operation of Fresnel diffraction with a distance of Z1 It is then decomposed into decrypted phase template 1 and decrypted phase template 2. Using the decrypted phase template 1, decrypted phase template 2 and the public binary encrypted phase template corresponding to the three-dimensional scene in the Fresnel domain to calculate the Fresnel diffraction at a specific distance after the cascade addition, the three-dimensional scene can be obtained. All levels are enlarged, decrypted and reconstructed. The test results show that the proposed method has good safety and magnification reconstruction effect. The lack of the public binary encrypted phase template or the decrypted phase template will lead to the failure of 3D scene reconstruction, while the binary encrypted phase template can still reconstruct the 3D scene to a certain extent under the condition of superimposed Gaussian noise with a certain intensity. Pass filtering and contrast enhancement filtering also show strong anti-attack performance. It can be widely used in the field of data security.

如图1至图15之一所示,本发明公开了一种基于菲涅尔域级联相位模板分解与可控放大 解密的多三维场景加密方法,其包括加密步骤和解密步骤,具体步骤如下:As shown in one of FIG. 1 to FIG. 15 , the present invention discloses a multi-3D scene encryption method based on Fresnel domain cascaded phase template decomposition and controllable amplification and decryption, which includes an encryption step and a decryption step, and the specific steps are as follows :

加密步骤:Encryption steps:

步骤1-1,首先单个三维场景结合深度信息分层;Step 1-1, first a single 3D scene is layered with depth information;

步骤1-2,每个层面物场信息根据解密放大率需求扩幅补零,对扩幅补零后的层面信息 计算菲涅尔逆衍射;Step 1-2, the object field information of each layer is expanded and zero-filled according to the decryption magnification requirement, and the Fresnel inverse diffraction is calculated for the layer information after the expansion and zero-filling;

步骤1-3,逆衍射光波再乘以球面波获得该层面用于放大重建的的衍射光波信号;Steps 1-3, multiply the inverse diffracted light wave by the spherical wave to obtain the diffracted light wave signal used for amplification and reconstruction at the layer;

步骤1-4,叠加各层面的放大重建衍射光波信号获得用于单个三维场景各层面放大重建 的衍射光波信号;Steps 1-4, superimposing the amplified and reconstructed diffracted light wave signals of each layer to obtain diffracted light wave signals used for the amplification and reconstruction of each layer of a single three-dimensional scene;

步骤1-5,用同样的方法获得其他三维场景的用于放大重建的衍射光波信号;Steps 1-5, using the same method to obtain diffracted light wave signals for amplification and reconstruction of other three-dimensional scenes;

步骤1-6,将来自各个三维场景的衍射光波信号相加获得包含多个三维场景的可用于放 大解密的复合衍射光波信号,该复合衍射光波信号再叠加一个复噪声信号形成包含多个三维 场景的复噪声形式的复合光波信号。Steps 1-6, add the diffracted lightwave signals from each three-dimensional scene to obtain a composite diffracted lightwave signal that includes multiple three-dimensional scenes and can be used for amplification and decryption, and the composite diffracted lightwave signal is superimposed with a complex noise signal to form a plurality of three-dimensional scenes. The complex lightwave signal in the form of complex noise.

步骤1-7,将复合光波信号分解为两个相位函数的和,任取一个相位函数将其相位量化 为二值相位,该二值相位函数用作公用的加密二值相位模板。Steps 1-7, decompose the composite lightwave signal into the sum of two phase functions, select any phase function to quantize its phase into a binary phase, and use the binary phase function as a public encrypted binary phase template.

步骤1-8,将复合光波信号减去二值相位模板分量后的剩余分量与各个三维场景的干扰 抑制信号组合形成对应于各个三维场景的解密用复信号,该复信号经距离为Z1的菲涅尔衍射 逆运算后分解为解密相位模板1和解密相位模板2。Steps 1-8, combine the residual component after subtracting the binary phase template component from the composite lightwave signal and the interference suppression signal of each three-dimensional scene to form a complex signal for decryption corresponding to each three-dimensional scene, and the complex signal passes through a Philippine distance of Z1. After the inverse operation of Neel diffraction, it is decomposed into decrypted phase template 1 and decrypted phase template 2.

请参阅图2,解密步骤包括:Referring to Figure 2, the decryption steps include:

步骤2-1,利用对应于各个三维场景的解密相位模板1和解密相位模板2计算距离为z1 的菲涅耳衍射;Step 2-1, using the decrypted phase template 1 and the decrypted phase template 2 corresponding to each three-dimensional scene to calculate the Fresnel diffraction with a distance of z1;

步骤2-2,用解密步骤1中的衍射光波信号与公用加密相位模板相加后的信号计算特定 衍射距离的菲涅尔衍射获得三维场景各层面放大重建像;Step 2-2, calculates the Fresnel diffraction of specific diffraction distance with the diffracted light wave signal in decryption step 1 and the signal after the public encryption phase template is added to obtain three-dimensional scene magnification and reconstruction image at each level;

下面就本发明的具体原理做详细的说明:The concrete principle of the present invention is described in detail below:

请参照图3和图4,使用三维场景的分层模型及计算全息获得可用于放大重建的三维场 景菲涅尔衍射光波分布。设三维场景的深度图为D(x,y),用取值为[0,255]的8位灰度图表 示。计算深度图的直方图,结合直方图统计特性按多阈值分割方法将三维场景分割到多个图 层,并结合各图层聚焦的物场信息确定层面深度值。第i层三维场景的菲涅耳衍射距离可用 公式(1)表示。其中dmin表示最近物面到观测面距离,dmax表示最远物面到观测面距离。其中 Di是第i层三维场景的深度值。Referring to FIG. 3 and FIG. 4 , the Fresnel diffracted light wave distribution of the three-dimensional scene that can be used for magnification and reconstruction is obtained by using the layered model of the three-dimensional scene and computational holography. Let the depth map of the 3D scene be D(x, y), which is represented by an 8-bit grayscale image with a value of [0, 255]. The histogram of the depth map is calculated, and the 3D scene is divided into multiple layers according to the multi-threshold segmentation method combined with the statistical characteristics of the histogram, and the depth value of the layer is determined according to the focused object field information of each layer. The Fresnel diffraction distance of the i-th layer three-dimensional scene can be expressed by formula (1). where d min represents the distance from the nearest object surface to the observation surface, and d max represents the distance from the farthest object surface to the observation surface. where Di is the depth value of the i-th 3D scene.

Figure BDA0003135916170000071
Figure BDA0003135916170000071

图4是三维场景用计算全息的方法生成用于放大解密的衍射光波信号的原理图。图3三 维场景分层模型,图4三维场景i放大解密衍射光波信号生成原理图。FIG. 4 is a schematic diagram of generating a diffracted light wave signal for amplifying and decrypting by means of computational holography in a three-dimensional scene. Figure 3 is a layered model of a three-dimensional scene, and Figure 4 is a schematic diagram of the generation principle of the amplified and decrypted diffracted light wave signal of the three-dimensional scene.

用fi(x0,y0)表示单个三维场景第i个层面的经扩幅补零后的分层图像,di表示该层面距 观测平面的菲涅尔衍射距离;计算距离为di,光波长为λ的菲涅耳逆衍射,获得虚拟面光源 信号。Let f i (x 0 , y 0 ) represent the layered image of the ith layer of a single three-dimensional scene after expansion and zero-filling, and d i represents the Fresnel diffraction distance between the layer and the observation plane; the calculated distance is d i , the Fresnel inverse diffraction of the light wavelength λ, and the virtual surface light source signal is obtained.

Figure BDA0003135916170000072
Figure BDA0003135916170000072

定义数字球面波信号L(x,y),球面波的曲率半径与放大率之间的关系用公式(4)表示, 其中γ表示放大率。Defining the digital spherical wave signal L(x, y), the relationship between the radius of curvature of the spherical wave and the magnification is represented by formula (4), where γ represents the magnification.

Figure BDA0003135916170000073
Figure BDA0003135916170000073

Figure BDA0003135916170000074
Figure BDA0003135916170000074

用于放大重建的三维场景衍射光波信号可用公式(5)表示。The diffracted light wave signal of the 3D scene for magnification and reconstruction can be expressed by formula (5).

Figure BDA0003135916170000075
Figure BDA0003135916170000075

请参阅图5,图5是多三维场景加解密信号产生原理框图。根据公式(5)可获得各个三 维场景用于放大重建的衍射光波信号Sm,设一共有M个三维场景,下标m表示第m个三维场 景;将来自各个三维场景的衍射光波信号相加获得包含多个三维场景的可用于放大解密的复 合衍射光波信号,该复合衍射光波信号再叠加一个复噪声信号形成包含多个三维场景的复噪 声形式的复合光波信号。复噪声形式的复合光波信号可表示为:Please refer to FIG. 5 . FIG. 5 is a schematic block diagram of generating a multi-3D scene encryption/decryption signal. According to formula (5), the diffracted light wave signal S m for each three-dimensional scene can be obtained for amplification and reconstruction. Suppose there are M three-dimensional scenes in total, and the subscript m represents the mth three-dimensional scene; add the diffracted light wave signals from each three-dimensional scene. A composite diffracted lightwave signal containing multiple three-dimensional scenes that can be used for amplification and decryption is obtained, and a complex noise signal is superimposed on the composite diffracted lightwave signal to form a complex lightwave signal in the form of complex noise containing multiple three-dimensional scenes. The composite lightwave signal in the form of complex noise can be expressed as:

Figure BDA0003135916170000076
Figure BDA0003135916170000076

其中,R和

Figure BDA0003135916170000077
为随机幅度和随机相位信号。where R and
Figure BDA0003135916170000077
are random amplitude and random phase signals.

将复合光波信号分解为两个相位函数的和,任取一个相位函数将其相位量化为二值相位, 该二值相位函数用作公用的加密二值相位模板。The composite lightwave signal is decomposed into the sum of two phase functions, and any phase function is taken to quantize its phase into a binary phase, and the binary phase function is used as a common encrypted binary phase template.

Figure BDA0003135916170000081
Figure BDA0003135916170000081

S可以分解为两个相位函数相加的形式,即S can be decomposed into the form of the addition of two phase functions, namely

Figure BDA0003135916170000082
Figure BDA0003135916170000082

其中

Figure BDA0003135916170000083
in
Figure BDA0003135916170000083

将相位f1二值化,形成二值加密相位E。The phase f 1 is binarized to form a binary encrypted phase E.

E=bin(f1) (9)E=bin(f 1 ) (9)

其中bin(·)表示二值化处理。该二值加密相位模板ejE包含了多个三维场景的共有信息, 作为公用的加密相位模板使用。where bin(·) represents the binarization process. The binary encrypted phase template e jE contains common information of multiple three-dimensional scenes, and is used as a public encrypted phase template.

将复合光波信号减去二值相位模板分量后的剩余分量与各个三维场景的干扰抑制信号组 合形成对应于各个三维场景的解密用复信号。第K个三维场景的解密用复信号D可表示为:The residual components after subtracting the binary phase template component from the composite lightwave signal are combined with the interference suppression signals of each three-dimensional scene to form a complex signal for decryption corresponding to each three-dimensional scene. The complex signal D used for decryption of the Kth three-dimensional scene can be expressed as:

Figure BDA0003135916170000084
Figure BDA0003135916170000084

复信号D经距离为Z1的菲涅尔衍射逆运算后进行光矢量等模分解,得到解密相位模板1 和解密相位模板2。After the complex signal D is subjected to the inverse operation of Fresnel diffraction with a distance of Z1, the equal-modular decomposition of the light vector is carried out, and the decrypted phase template 1 and the decrypted phase template 2 are obtained.

Figure BDA0003135916170000085
Figure BDA0003135916170000085

其中

Figure BDA0003135916170000086
in
Figure BDA0003135916170000086

请参阅图6,图6是用于各个三维场景放大解密的虚拟光路图。利用对应于各个三维场 景的解密相位模板D1和解密相位模板D2计算距离为z1的菲涅耳衍射;所获得的衍射光波信 号与公用加密相位模板E相加后的信号计算衍射距离为γdi的菲涅尔衍射获得三维场景各层 面放大重建像。CCD平面的信号可用公式(10)表示,λ为光波长。BS表示分束器,SLM表示 空间光调制器。Please refer to FIG. 6 , FIG. 6 is a virtual light path diagram for magnifying and decrypting each three-dimensional scene. Use the decrypted phase template D1 and the decrypted phase template D2 corresponding to each three-dimensional scene to calculate the Fresnel diffraction with a distance of z1; the obtained diffracted lightwave signal and the signal obtained by adding the common encrypted phase template E calculate the diffraction distance of γd i . Fresnel diffraction is used to obtain magnified reconstructed images of each layer of a three-dimensional scene. The signal on the CCD plane can be represented by formula (10), where λ is the wavelength of light. BS stands for beam splitter and SLM stands for spatial light modulator.

Figure BDA0003135916170000087
Figure BDA0003135916170000087

重建三维场景的质量可以用相关系数评价,相关系数定义如公式(13)所示。The quality of the reconstructed 3D scene can be evaluated by the correlation coefficient, which is defined as formula (13).

Figure BDA0003135916170000091
Figure BDA0003135916170000091

其中O代表原始三维场景,R代表重建三维场景。where O represents the original 3D scene and R represents the reconstructed 3D scene.

请参阅图7、7和与8,图7是三个三维场景的原始灰度图像及深度图以及根据深度图的 直方图特性得到的分层图像,图像大小为128*128点。图8是根据本方法用三个三维场景产 生的公用二值加密相位模板,各个三维场景按4倍放大率设置,大小512*512点。图9是本 方法获得的用于各个三维场景放大解密的的第一和第二解密相位模板;其中场景1三个层面 与观测平面的距离分别为:475mm,485mm,495mm;场景2三个层面与观测平面的距离分别 为:474mm;485mm;494mm;场景3三个层面与观测平面的距离分别为:474mm;481mm;494mm; 光波长λ为532nm。Please refer to Figures 7, 7 and 8, Figure 7 is the original grayscale image and depth map of three 3D scenes and the layered image obtained according to the histogram characteristics of the depth map, and the image size is 128*128 points. Figure 8 is a public binary encrypted phase template generated by three three-dimensional scenes according to the method, each three-dimensional scene is set at a magnification of 4 times, and the size is 512*512 points. Fig. 9 is the first and second decryption phase templates obtained by this method for each three-dimensional scene amplification and decryption; wherein the distances between the three levels of scene 1 and the observation plane are: 475mm, 485mm, 495mm; the three levels of scene 2 are respectively: 475mm, 485mm, 495mm The distances from the observation plane are: 474mm; 485mm; 494mm; the distances between the three levels of scene 3 and the observation plane are: 474mm; 481mm; 494mm; the light wavelength λ is 532nm.

请参阅图10,利用公用的二值加密相位模板及解密各个三维场景的第一与第二解密相位 模板重建三维场景,其中三维场景1三个层面的重建距离分别为:1900mm,1940mm,1980mm, 波长λ=532nm;三维场景2三个层面重建距离分别为:1896mm,1940mm,1980mm,波长 λ=532nm;三维场景3三个层面的重建距离分别为1884mm,1924mm,1976mm,波长λ=532nm。 三维场景各重建层面的放大率为4,重建像面大小为512*512点;重建像表现为聚焦的层面 清晰,未聚焦的层面模糊,与全息三维显示特点相符。Please refer to FIG. 10 , the three-dimensional scene is reconstructed by using the public binary encrypted phase template and the first and second decrypted phase templates for decrypting each three-dimensional scene. The wavelength λ=532nm; the reconstruction distances of the three levels of the 3D scene 2 are: 1896mm, 1940mm, 1980mm, and the wavelength λ=532nm; the reconstruction distances of the three levels of the 3D scene 3 are 1884mm, 1924mm, 1976mm, and the wavelength λ=532nm. The magnification of each reconstruction level of the 3D scene is 4, and the size of the reconstructed image surface is 512*512 points; the reconstructed image shows that the focused level is clear, and the unfocused level is blurred, which is consistent with the characteristics of holographic three-dimensional display.

计算利用加密相位模板与解密相位模板重建的三维场景与从原始三维场景的相似度分别 为:三维场景1:0.8342;三维场景2:0.8066;三维场景3:0.8219。The calculated similarity between the 3D scene reconstructed using the encrypted phase template and the decrypted phase template and the original 3D scene are: 3D scene 1: 0.8342; 3D scene 2: 0.8066; 3D scene 3: 0.8219.

对任何一个三维场景,加密用或解密用相位模板中任何一个缺失都将导致三维场景重建 失败。请参阅图11,图11以三维场景1为例给出了不同相位模板组合下的解密结果。其中E 表示公用二值加密相位模板,D1表示第一解密相位模板,D2表示第二解密相位模板。For any 3D scene, the absence of either the phase template for encryption or decryption will cause the reconstruction of the 3D scene to fail. Please refer to FIG. 11 . FIG. 11 takes the three-dimensional scene 1 as an example to show the decryption results under the combination of different phase templates. Wherein E represents the public binary encryption phase template, D1 represents the first decryption phase template, and D2 represents the second decryption phase template.

请参阅图12,图12是二值加密相位模板在经历各类攻击情况下的三维场景1重建像。Please refer to FIG. 12. FIG. 12 is a reconstructed image of the three-dimensional scene 1 under various attack situations of the binary encrypted phase template.

请参阅图13,图13是以三维场景1为例,公用二值加密相位模板不同量化位数下的抗 噪声性能比较,可以看出在叠加同样强度高斯噪声与乘性干扰的情况下,使用二值加密相位 模板具有更清晰的重建效果。Please refer to Fig. 13. Fig. 13 takes the 3D scene 1 as an example. The comparison of the anti-noise performance of the common binary encryption phase template with different quantization bits shows that in the case of superimposing Gaussian noise and multiplicative interference of the same intensity, using The binary encrypted phase template has a clearer reconstruction effect.

请参阅图14和图15,图14是当场景1解密相位模板D1错误率为0.2%时三维场景1重 建像,图15是当场景1解密相位模板D2错误率为0.2%时三维场景1重建像,表现出良好的 密钥敏感性。Please refer to Fig. 14 and Fig. 15. Fig. 14 is the reconstructed image of 3D scene 1 when the error rate of the decrypted phase template D1 of scene 1 is 0.2%. Fig. 15 is the reconstructed image of 3D scene 1 when the error rate of the decrypted phase template D2 of scene 1 is 0.2%. Like, exhibit good key sensitivity.

本发明采用以上技术方案,首先单个三维场景结合深度信息分层;每个层面物场信息根 据解密放大率需求扩幅补零,对扩幅补零后的层面信息计算菲涅尔逆衍射;逆衍射光波再乘 以球面波获得该层面用于放大重建的的衍射光波信号;叠加各层面的放大重建衍射光波信号 获得用于单个三维场景各层面放大重建的衍射光波信号;用同样的方法获得其他三维场景的 用于放大重建的衍射光波信号;将来自各个三维场景的衍射光波信号相加获得包含多个三维 场景的可用于放大解密的复合衍射光波信号,该复合衍射光波信号再叠加一个复噪声信号形 成包含多个三维场景的复噪声形式的复合光波信号。将复合光波信号分解为两个相位函数的 和,任取一个相位函数将其相位量化为二值相位,该二值相位函数用作公用的加密二值相位 模板。将复合光波信号减去二值相位模板分量后的剩余分量与各个三维场景的干扰抑制信号 组合形成对应于各个三维场景的解密用复信号,该复信号经距离为Z1的菲涅尔衍射逆运算后 分解为解密相位模板1和解密相位模板2。用与三维场景相对应的解密相位模板1、解密相位 模板2和公用的二值加密相位模板在菲涅尔域级联相加后计算特定距离处的菲涅尔衍射,可 获得该三维场景的各层面放大解密重建像。测试结果表明,所提出的方法具有良好的安全性 和放大重建效果。公用的二值加密相位模板或解密相位模板的缺失都将导致三维场景重建失 败,而二值加密相位模板在叠加一定强度高斯噪声情况下,仍可在一定程度上重建出三维场 景,对高斯低通滤波、对比度增强滤波同样表现出较强的抗攻击性能。The present invention adopts the above technical scheme, first, a single three-dimensional scene is combined with depth information layering; the object field information of each layer is expanded and zero-filled according to the decryption magnification requirement, and Fresnel inverse diffraction is calculated for the layer information after the expansion and zero-filling; The diffracted light wave is multiplied by the spherical wave to obtain the diffracted light wave signal used for the amplification and reconstruction of this layer; the amplified and reconstructed diffracted light wave signal of each layer is superimposed to obtain the diffracted light wave signal used for the amplification and reconstruction of each layer of a single three-dimensional scene; the same method is used to obtain other The diffracted lightwave signal used for amplification and reconstruction of the three-dimensional scene; the diffracted lightwave signal from each three-dimensional scene is added to obtain a composite diffracted lightwave signal containing multiple three-dimensional scenes that can be used for amplification and decryption, and the composite diffracted lightwave signal is superimposed with a complex noise The signal forms a composite lightwave signal in the form of complex noise containing multiple three-dimensional scenes. The composite lightwave signal is decomposed into the sum of two phase functions, and any phase function is taken to quantize its phase into a binary phase, which is used as a common encrypted binary phase template. Combining the residual component after subtracting the binary phase template component from the composite lightwave signal and the interference suppression signal of each 3D scene to form a complex signal for decryption corresponding to each 3D scene, the complex signal is subjected to the inverse operation of Fresnel diffraction with a distance of Z1 It is then decomposed into decrypted phase template 1 and decrypted phase template 2. Using the decrypted phase template 1, decrypted phase template 2 and the public binary encrypted phase template corresponding to the three-dimensional scene in the Fresnel domain to calculate the Fresnel diffraction at a specific distance after the cascade addition, the three-dimensional scene can be obtained. All levels are enlarged, decrypted and reconstructed. The test results show that the proposed method has good safety and magnified reconstruction effect. The lack of the public binary encrypted phase template or the decrypted phase template will lead to the failure of 3D scene reconstruction, while the binary encrypted phase template can still reconstruct the 3D scene to a certain extent under the condition of superimposed Gaussian noise with a certain intensity. Pass filtering and contrast enhancement filtering also show strong anti-attack performance.

显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。在不冲突的情况 下,本申请中的实施例及实施例中的特征可以相互组合。通常在此处附图中描述和示出的本 申请实施例的组件可以以各种不同的配置来布置和设计。因此,本申请的实施例的详细描述 并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请中 的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都 属于本申请保护的范围。Obviously, the described embodiments are some, but not all, embodiments of the present application. The embodiments in this application and features in the embodiments may be combined with each other without conflict. The components of the embodiments of the present application generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations. Thus, the detailed description of the embodiments of the application is not intended to limit the scope of the application as claimed, but is merely representative of selected embodiments of the application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

Claims (9)

1. A controllable amplification and decryption multi-three-dimensional scene encryption and decryption method is characterized by comprising the following steps: the method comprises an encryption step and a decryption step, and comprises the following specific steps:
an encryption step:
step 1-1, layering a single three-dimensional scene by combining depth information;
step 1-2, performing amplitude expansion zero padding on each layer object field information according to the decryption amplification rate requirement, and calculating Fresnel inverse diffraction on layer information after amplitude expansion zero padding;
1-3, multiplying the Fresnel inverted diffraction light wave by a spherical wave to obtain an amplified and reconstructed diffraction light wave signal of the layer;
step 1-4, superposing the amplified and reconstructed diffracted light wave signals of all layers to obtain the amplified and reconstructed diffracted light wave signals of all layers corresponding to a single three-dimensional scene;
step 1-5, respectively calculating to obtain diffraction light wave signals of amplified reconstruction of each three-dimensional scene;
step 1-6, adding the diffraction light wave signals from each three-dimensional scene to obtain a composite diffraction light wave signal which comprises a plurality of three-dimensional scenes and is used for amplification and decryption, and superposing a complex noise signal on the composite diffraction light wave signal to form a composite light wave signal in a complex noise form comprising a plurality of three-dimensional scenes;
step 1-7, decomposing the composite lightwave signal into the sum of two phase functions, quantizing the phase of any one phase function into a binary phase, and using the binary phase function as a common encrypted binary phase template;
step 1-8, combining the residual component of the composite light wave signal minus the binary phase template component with the interference suppression signals of each three-dimensional scene to form a decryption complex signal corresponding to each three-dimensional scene, and decomposing the decryption complex signal into a decryption phase template 1 and a decryption phase template 2 after Fresnel diffraction inverse operation with the distance of Z1;
and (3) decryption:
step 2-1, calculating a Fresnel diffraction light wave signal with a distance z1 by using the decryption phase template 1 and the decryption phase template 2 corresponding to each three-dimensional scene;
and 2-2, calculating Fresnel diffraction of a specific diffraction distance by using a Fresnel diffraction light wave signal obtained by decryption calculation and a signal obtained by adding a public encryption binary phase template to obtain an amplified reconstructed image of each layer of the three-dimensional scene.
2. The encryption and decryption method for the controllable amplification and decryption of the multiple three-dimensional scenes according to claim 1, characterized in that: three-dimensional scene diffraction light wave signal S for amplification reconstruction in steps 1-4mThe calculation steps are as follows:
step 1-4-1, calculating the distance as diAnd obtaining a virtual surface light source signal E by Fresnel inverse diffraction with the optical wavelength of lambdai(x, y) which is calculated by the formula:
Figure FDA0003135916160000011
wherein ,fi(x0,y0) Representing a dilated zero-filled hierarchical image of the ith level of a single three-dimensional scene, diRepresenting the Fresnel diffraction distance of the layer from the observation plane;
step 1-4-2, the digital spherical wave signal formula is as follows:
Figure FDA0003135916160000021
wherein ,RcThe relationship between radius of curvature and magnification is:
Figure FDA0003135916160000022
wherein γ represents a magnification;
step 1-4-3, calculating to obtain three-dimensional scene diffraction light wave signal S for amplification reconstructionmThe calculation formula is as follows:
Figure FDA0003135916160000023
wherein ,Ei(x, y) is a virtual surface light source signal, and L (x, y) is a digital spherical wave; i represents the ith layer of the single three-dimensional scene; and N is the number of layers of a single three-dimensional scene.
3. The encryption and decryption method for the controllable amplification and decryption of the multiple three-dimensional scenes according to claim 2, characterized in that: the calculation formula of the complex optical wave signal S in the form of complex noise in steps 1-6 is as follows:
Figure FDA0003135916160000024
wherein M represents the number of three-dimensional scenes, M represents the mth three-dimensional scene, SmDiffracted lightwave signal for amplified reconstruction, R and
Figure FDA0003135916160000025
for random amplitude and random phase signals, ReRepresenting a complex noise signal.
4. The encryption and decryption method for the controllable amplification and decryption of the multiple three-dimensional scenes according to claim 3, characterized in that: the specific steps of steps 1-7 are as follows:
step 1-7-1, the composite lightwave signal is decomposed into a form of adding two phase functions, namely
Figure FDA0003135916160000026
wherein ,
Figure FDA0003135916160000027
step 1-7-2, phase f1Binarizing to form a binary sumIn a dense phase E, i.e.
E=bin(f1) (9)
Wherein bin (·) represents binarization processing;
step 1-7-3, the binary encryption phase template ejEAs a common encryption phase template, a binary encryption phase template ejEContains information common to a plurality of three-dimensional scenes.
5. The encryption and decryption method for the controllable amplification and decryption of the multiple three-dimensional scenes according to claim 4, wherein: the steps 1-8 comprise the following specific steps:
step 1-8-1, obtaining a complex signal D for decryption of a Kth three-dimensional scene, which is expressed as:
Figure FDA0003135916160000031
step 1-8-2, after performing fresnel diffraction inverse operation with a distance of Z1, performing light vector equimodular decomposition on the complex signal D for decryption to obtain a decrypted phase template 1 and a decrypted phase template 2, wherein the specific expression is as follows:
Figure FDA0003135916160000032
wherein ,
Figure FDA0003135916160000033
6. the encryption and decryption method for the controllable amplification and decryption of the multiple three-dimensional scenes according to claim 5, wherein: the calculation formula of the Fresnel diffraction distance of the ith layer of three-dimensional scene in the step 2-1 is as follows:
Figure FDA0003135916160000034
wherein dminIndicating the distance from the nearest object plane to the observation plane, dmaxRepresents the farthest object plane to view plane distance, where di is the depth value of the ith layer of the three-dimensional scene.
7. The encryption and decryption method for the controllable amplification and decryption of the multiple three-dimensional scenes according to claim 6, wherein: the calculation formula of the amplified reconstructed signals of all layers of the three-dimensional scene in the step 2-1 is as follows
Figure FDA0003135916160000035
8. The encryption and decryption method for the controllable amplification and decryption of the multiple three-dimensional scenes according to claim 7, wherein: the quality of the reconstructed three-dimensional scene is evaluated by a correlation coefficient NC, and the correlation coefficient formula is as follows:
Figure FDA0003135916160000036
wherein, O represents the original three-dimensional scene, and R is the three-dimensional scene decrypted by the binary phase template and the first and second decryption phase templates.
9. The encryption and decryption method for the controllable amplification and decryption of the multiple three-dimensional scenes according to claim 1, characterized in that: in the decryption step, three-dimensional scene reconstruction is carried out through a decrypted virtual light path; the virtual decryption light path comprises two beam splitters and a photoelectric detector CCD, the two beam splitters and the photoelectric detector CCD are sequentially arranged, a decryption phase template 1 and a decryption phase template 2 are respectively arranged on different light incoming surfaces of a first beam splitter, a light outgoing surface of the first beam splitter is in butt joint with a light incoming surface of a second beam splitter through a spatial light modulator, a binary encryption phase template E is arranged at a specific light incoming surface of the second beam splitter, and the light outgoing surface of the second beam splitter is arranged corresponding to the photoelectric detector CCD.
CN202110718355.4A 2021-06-28 2021-06-28 Multi-three-dimensional scene encryption and decryption method capable of controlling amplification and decryption Expired - Fee Related CN113343268B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110718355.4A CN113343268B (en) 2021-06-28 2021-06-28 Multi-three-dimensional scene encryption and decryption method capable of controlling amplification and decryption

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110718355.4A CN113343268B (en) 2021-06-28 2021-06-28 Multi-three-dimensional scene encryption and decryption method capable of controlling amplification and decryption

Publications (2)

Publication Number Publication Date
CN113343268A true CN113343268A (en) 2021-09-03
CN113343268B CN113343268B (en) 2023-05-12

Family

ID=77479067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110718355.4A Expired - Fee Related CN113343268B (en) 2021-06-28 2021-06-28 Multi-three-dimensional scene encryption and decryption method capable of controlling amplification and decryption

Country Status (1)

Country Link
CN (1) CN113343268B (en)

Citations (4)

* 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
CN107710080A (en) * 2015-04-01 2018-02-16 视瑞尔技术公司 Method for computing holograms for holographic reconstructions of two-dimensional and/or three-dimensional scenes
CN108648267A (en) * 2018-05-09 2018-10-12 福建师范大学 The multiple complex three-dimensional scene encipher-decipher method being multiplexed based on kinoform and Fresnel domain
CN111583395A (en) * 2020-05-07 2020-08-25 福建师范大学 Multiple complex three-dimensional scene encryption and decryption method

Patent Citations (4)

* 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
CN107710080A (en) * 2015-04-01 2018-02-16 视瑞尔技术公司 Method for computing holograms for holographic reconstructions of two-dimensional and/or three-dimensional scenes
CN108648267A (en) * 2018-05-09 2018-10-12 福建师范大学 The multiple complex three-dimensional scene encipher-decipher method being multiplexed based on kinoform and Fresnel domain
CN111583395A (en) * 2020-05-07 2020-08-25 福建师范大学 Multiple complex three-dimensional scene encryption and decryption method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
汪香香 等: ""三维复杂场景的菲涅耳全息图频域压缩重建"", 《光学学报》 *

Also Published As

Publication number Publication date
CN113343268B (en) 2023-05-12

Similar Documents

Publication Publication Date Title
Alfalou et al. Optical image compression and encryption methods
Li et al. Modified integral imaging reconstruction and encryption using an improved SR reconstruction algorithm
Li et al. Asymmetric multiple image elliptic curve cryptography
Pandey et al. Quantization noise and its reduction in lensless Fourier digital holography
CN102800042B (en) Multi-image encryption method based on log-polar transform
CN111583395B (en) A Method for Encryption and Decryption of Multiple Complex 3D Scenes
Muhammad et al. Blind data hiding technique using the Fresnelet transform
Faragallah Optical double color image encryption scheme in the Fresnel-based Hartley domain using Arnold transform and chaotic logistic adjusted sine phase masks
CN108648267A (en) The multiple complex three-dimensional scene encipher-decipher method being multiplexed based on kinoform and Fresnel domain
CN111861850B (en) Information hiding method and system for laminated imaging
Zhang et al. Single exposure phase-only optical image encryption and hiding method via deep learning
Wang et al. 3D image hiding using deep demosaicking and computational integral imaging
He et al. Single-shot optical multiple-image encryption based on polarization-resolved diffractive imaging
Zhuang et al. Deep-learning-based ciphertext-only attack on optical scanning cryptosystem
Li et al. Single exposure optical image watermarking using a cGAN network
Li et al. Copyright protection for elemental image array by hypercomplex Fourier transform and an adaptive texturized holographic algorithm
Wang et al. Optical encoding and hiding scheme for a double image based on chaotic fingerprint phase masks and phase-shifting digital holography
Chen et al. Speckle noise suppression of a reconstructed image in digital holography based on the BM3D improved convolutional neural network
Zhang et al. Non-cascaded and crosstalk-free multi-image encryption based on optical scanning holography using 2D orthogonal compressive sensing
CN113343268A (en) A multi-3D scene encryption and decryption method with controllable amplification and decryption
CN113160384B (en) Multi-three-dimensional object encryption and decryption method based on windowing binary phase and controllable reconstruction
Zhang et al. Optical voice hiding based on chaotic fingerprint phase mask and phase-shifting digital holography
CN112099329B (en) Multi-three-dimensional object encryption and decryption method based on cascade decryption phase template and binary encryption phase template
Yadav et al. Watermarking algorithm based on phase-only CGH in fractional Hartley domain for DICOM images
CN113438382B (en) Lossless information hiding and extracting method and system for visual password

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20230512

CF01 Termination of patent right due to non-payment of annual fee