天天看點

【圖像隐藏】基于高斯模型實作圖像隐寫附Matlab代碼

✅作者簡介:熱愛科研的Matlab仿真開發者,修心和技術同步精進。

🍎個人首頁:​​Matlab科研工作室​​

🍊個人信條:格物緻知。

更多Matlab仿真内容點選👇

​​智能優化算法​​​  ​​神經網絡預測​​​ ​​雷達通信 ​​​ ​​無線傳感器​​

​​信号處理​​​ ​​圖像處理​​​ ​​路徑規劃​​​ ​​元胞自動機​​​ ​​無人機​​

⛄ 内容介紹

網絡技術和多媒體技術迅猛發展,為了更好地保障圖像資訊傳輸的安全性和可靠性,解決數字圖像的版權保護問題,圖像資訊隐藏技術已成為圖像處理領域的研究熱點之一.

⛄ 部分代碼

% This example demonstrates how to use the MG embedding function

clc

clear all

close all

% Read the input cover image

Cover = double(imread ('1.pgm'));

% Set the payload to 0.4 bpp

Payload = 0.4;

% MG embedding

tStart = tic;

[Stego, pChange, ChangeRate] = MG( Cover, Payload );

tEnd = toc(tStart);

fprintf('MG embedding is done in: %f (sec)\n',tEnd);

%%

figure;

imshow (Cover,[]);

title ('Cover image');

figure;

imshow(1-pChange/0.3333);

title('MG - Embedding Change Probabilities');

figure;

imshow(Stego-Cover,[]);

title('MG - Changed Pixels (+1 -> white ,-1 -> black)');

⛄ 運作結果

【圖像隐藏】基于高斯模型實作圖像隐寫附Matlab代碼
【圖像隐藏】基于高斯模型實作圖像隐寫附Matlab代碼
【圖像隐藏】基于高斯模型實作圖像隐寫附Matlab代碼

⛄ 參考文獻

❤️ 關注我領取海量matlab電子書和數學模組化資料
❤️部分理論引用網絡文獻,若有侵權聯系部落客删除

繼續閱讀