⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 crop.m

📁 ICA watermarking. Blind, fragile, robust
💻 M
字号:
function y=crop(x,borde)


%Copyright murillo 2001
%Please cite:
%F.J. Gonz醠ez-Serrano, H.Y. Molina-Bulla, J.J. Murillo-Fuentes "Independent component analysis applied to digital image watermarking". IEEE Int. Conf. on Acoustics, Speech and Signal Processing (ICASSP'2001). IEEE. Salt Lake City (EEUU). 
% and/or
%JJ Murillo-Fuentes "Independent component analisis in the blind
%watermarking of digital images" Neurocomputing Volume 70 ,  Issue 16-18
%(October 2007) Pages 2881-2890  

[M,M]=size(x);
mask_crop=ones(M);
N=M/2-borde;
aux=mask_crop(M/2-N:M/2+N,M/2-N:M/2+N);
mask_crop(M/2-N:M/2+N,M/2-N:M/2+N)=0*aux;
mask_crop=1-mask_crop;
y=x.*mask_crop;
return

⌨️ 快捷键说明

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