-
Notifications
You must be signed in to change notification settings - Fork 3
/
DEEdgeMC.m
41 lines (37 loc) · 1.24 KB
/
DEEdgeMC.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
clear,clc
% tic
% image = imread('Image/lenna.bmp');
% I = rgb2gray(image);
% [rows,cols] = size(I);
%
% MCs = [];
% for percent = 0.1:0.1:1
% disp(percent)
% BL=randi([0,1],[1,round(rows*cols*percent)-2]);
% ILSBR = LSBR(BL,I);
% ILSBM = LSBM(BL,I);
% ICannyLSB = Canny2LSB_C(BL,I);
% IDE1 = DE(BL,I,1);
% % IDE2 = DE(BL,I,2);
% % [StegoIm11,StegoIm12,StegoIm21,StegoIm22] = DEEdge(BL,I);
%
% [StegoIm11] = DEEdge_H5(BL,I);
%
% % MC_C = [MCDistance(I,ILSBR),MCDistance(I,ILSBM),MCDistance(I,ICannyLSB),MCDistance(I,IDE1),MCDistance(I,IDE2),MCDistance(I,StegoIm11),MCDistance(I,StegoIm12),MCDistance(I,StegoIm21),MCDistance(I,StegoIm22)];
%
% MC_C = [MCDistance(I,ILSBR),MCDistance(I,ILSBM),MCDistance(I,ICannyLSB),MCDistance(I,IDE1),MCDistance(I,StegoIm11)];
%
% MCs = [MCs;MC_C];
% end
% toc
% save BaboonMCs.mat MCs
load LennaMCs.mat
pct = 0.1:0.1:1;
plot(pct,MCs(:,1),'-o',pct,MCs(:,2),'-d',pct,MCs(:,3),'-p',pct,MCs(:,4),'-s',pct,MCs(:,5),'-v','LineWidth',1.5)
legend('LSBR','LSBM','EBIS','DE1','CANNYDE','Location','NorthWest')
xlabel('ǶÈëÂÊ(bpp)')
ylabel('Ò»½×Markov°²È«Ö¸±êÖµ')
grid on
set(get(gca,'XLabel'),'FontSize',10.5);
set(get(gca,'YLabel'),'FontSize',10.5);
set(gca,'fontsize',10.5);