detectar.m

来自「这是一个关于信息隐藏的源代码,是用vc++开发」· M 代码 · 共 17 行

M
17
字号
% detectar.m
% detectar loads the watermark, the original image and a suposed
% watermarked image.
% detectar calls the function testear to detect the presence of 
% the watermark
nomI='chasque1.jpg'
nomImarcada='imach1cox2.bmp';

% load W
load marcaW  
% read the original image
[I,MAPI]=imread(nomI);
% read a suposed watermarked image
[J,MAPJ]=imread(nomImarcada);

[ResSIM ResSNR]=testear(W,I,J);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?