✅作者简介:热爱科研的Matlab仿真开发者,修心和技术同步精进,matlab项目合作可私信。
🍎个人主页:Matlab科研工作室
🍊个人信条:格物致知。
更多Matlab仿真内容点击👇
⛄ 内容介绍
A secure optical digital image encryption scheme with authentication capability is proposed using double random-phase encoding (DRPE) and compressed sensing (CS). Phase information of the plaintext image is obtained using DRPE and quantized to generate authentication information. Simultaneously, the plaintext image is compressed by CS and its measurements are quantized using the sigmoid map. Then the ciphertext image is obtained by permutation and diffusion after authentication information is embedded in quantified measurements. At receiving end, the authentication information is first extracted by inverse permutation and diffusion,
and then the authentication image is obtained by inverse DRPE. Finally, the ciphertext image can be blindly authenticated using a nonlinear cross-correlation method with authentication image and reconstructed image. Experimental results demonstrate the effectiveness of our proposed scheme.

⛄ 部分代码
clc; close all; clear;
addpath(genpath('utils/'));
addpath(genpath('src/'));
addpath(genpath('images/'));
%% Loop
posibility = 0;% Ratio of tamper
g = 0; % Ratio of noisy param
rate_crop = 0; % Ratio of cropping
p = 7 / 8; % Ratio of sampling
method = 'omp';% If method is set to `cvx`, then please wati for a long time.
for i = 1 : 7
disp('---------------------------------');
p = i / 8;
exp_main();
ans_name = ['ans/', method, '_sampling-', num2str(p), '_noise-', num2str(g),...
'_tamper-', num2str(posibility), '_crop-',num2str(rate_crop), '.mat'];
save(ans_name);
disp(['Save answer to ', ans_name]);
end
%% Visualization
plot_figs(method, p, g, posibility, rate_crop);
plot_pce_psnr();
% plot_key_sensitive();
% Im_entropy();
⛄ 运行结果











⛄ 参考文献
Zhou K, Fan J, Fan H, et al. Secure image encryption scheme using double random-phase encoding and compressed sensing[J]. Optics & Laser Technology, 2020, 121: 105769.
⛳️ 代码获取关注我
❤️部分理论引用网络文献,若有侵权联系博主删除
❤️ 关注我领取海量matlab电子书和数学建模资料
提出了一种结合双随机相位编码(DRPE)和压缩感知(CS)的光学数字图像加密方法,该方法能实现认证功能。明文图像的相位信息通过DRPE获取并量化生成认证信息,同时利用CS对图像进行压缩。经过sigmoid映射后的测量值嵌入认证信息,然后通过排列和扩散得到密文图像。接收端通过逆排列和扩散提取认证信息,逆DRPE得到认证图像。最终,利用在线互相关法对密文图像进行盲认证。实验结果显示该方案的有效性。
703

被折叠的 条评论
为什么被折叠?



