-
dct
M=512 原图像长度
N=64
K=8
I=zeros(M,M)
J=zeros(N,N)
BLOCK=zeros(K,K)
显示原图像
I=imread( f:ceshiyuanshitu.bmp )
figure
imshow(I)
xlabel( 原始图像 )
显示水印图像
J=imread( f:ceshilogistic_nuaa64.bmp )
figure
imshow(J)
xlabel( 水印图像 )
嵌入水印
tem=1
for p=1:N
for q=1:N
x=(p-1)*K+1
y=(q-1)*K+1
BLOCK=I(x:x+K-1,y:y+K-1)
BLOCK=dct2(BLOCK)
if J(p,q)==0
a=-1
else
a=1
end
BLOCK(2,1)=BLOCK(2,1)*(1+a*0.01)
BLOCK=idct2(BLOCK)
I(x:x+K-1,y:y+K-1)=BLOCK
end
end
显示嵌入水印后的图像
figure
imshow(I)
xlabel( 嵌入水印后的图像 )
imwrite(I, f:ceshiembedded.bmp )
- 2010-06-13 18:43:39下载
- 积分:1
-
KALMAN
卡尔曼滤波的一个简单又实用的例子,帮助理解卡尔曼滤波。(Kalman filter, a simple and practical examples to help understand the Kalman filter.)
- 2007-11-07 22:53:38下载
- 积分:1
-
Example5
MATLAB 阻抗计算例子5,很有参考价值。。(MATLAB impedance calculation example 1, a good reference. .)
- 2010-10-01 16:36:16下载
- 积分:1
-
ARORDER
AR模型高阶谱分析工具箱即HOSA定阶函数(High-order spectral analysis toolbox AR model order determination function that HOSA)
- 2011-11-16 11:23:12下载
- 积分:1
-
ex18
1. 设计在数组中查找数据模板函数
函数名: SeqSearch
参数名及顺序: 数组:list, 数据:key, 个数:n
返回: 成功:数据在数中的下标,失败: -1(1 designed to find the data in the array template function function name: SeqSearch parameter names and order: Array: list, data: key, number: n Returns: Success: Data on the number of the next standard, failed:-1)
- 2014-10-24 19:38:06下载
- 积分:1
-
frft
这是一个分数阶傅里叶算法的经典matlab程序(This is a fractional Fu Liye algorithm is the classic matlab program
)
- 2013-10-25 11:54:48下载
- 积分:1
-
2005mcma
说明: 2005MCMA题程序,本程序是自己编的,如有不足请见谅(2005MCMA that procedure, the procedure was by myself, and if there is insufficient please forgiven)
- 2006-01-24 16:19:53下载
- 积分:1
-
the-Fourier-transform
一天征服傅里叶变换,对傅里叶变换做了浅显易懂的分析,对学习数字信号处理有帮助。(One day conquer the Fourier transform, made accessible for the Fourier transform analysis, is helpful to study digital signal processing.)
- 2013-11-24 16:37:56下载
- 积分:1
-
neural-network-solving-tsp
神经网络解决旅行商问题,讨论了矩阵大小对算法稳定性的影响。土木工程领域中,常用于进行结构参数识别等。(Neural network to solve the traveling salesman problem, discussed the impact of the size of the matrix algorithm stability. The field of civil engineering, structural parameters commonly used in identification.)
- 2013-12-22 10:12:07下载
- 积分:1
-
sengsiu
含噪脉冲信号进行相关检测,进行逐步线性回归,IMC-PID是利用内模控制原理来对PID参数进行计算。( Noisy pulse correlation detection signal, Stepwise linear regression, The IMC- PID is using the internal model control principle for PID parameters is calculated.)
- 2017-03-24 22:50:05下载
- 积分:1