-
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
-
meshgrid-and-other-plot-commands
matlab中meshgrid命令的详解,以及plot3、mesh、surf、surfc、surfl、waterfall等命令的用法(The explanation of meshgrid command in matlab, and the usage of plot3, mesh, surf, surfc, surfl, waterfall and other commands)
- 2012-06-03 15:45:09下载
- 积分:1
-
graphics
graphical drawing of matlab files in guide format
- 2010-01-06 19:57:17下载
- 积分:1
-
Stand-Alone-Intelligent-Digital-Distance-Relay
Remote end infeed causes problems in distance relay measurement, especially under high resistance earth fault conditions. Although a distance relay set to an ideal operating region can cover the fault resistance at one particular load Condition, the operating region is affected by changes in load condition. Hence a distance relay may overreach or underreach when load changes. From the main factors which affect the ideal digital distance relay operating region, a stand alone intelligent digital distance relay which
can adapt to these changes is presented. This approach does not need communication links from the remote end of the line or the system control center. Numerous computer simulations have been
carried out on realistic system configurations and the result9 show that them is a high potential for developing an intelligent digital
distance relay.
- 2011-07-11 22:59:56下载
- 积分:1
-
ch02
matlab编程的一些例子,仅供初学者参考(matlab programming examples for beginners reference)
- 2009-03-27 17:03:08下载
- 积分:1
-
VoiceSignalCode
语音信号采集的matlab仿真(需自己采集音频信号)(Matlab simulation of audio signal acquisition)
- 2010-11-16 14:54:49下载
- 积分:1
-
Segmented-predictive-controller
分段控制器设计的MATLAB源程序,想做分段控制SIMULINK的同学可下载看看!(Segmented controller design MATLAB source, wanted segmented control SIMULINK students can download to see!)
- 2014-10-23 11:03:26下载
- 积分:1
-
HAO2
Buck-Boost转换器转换周期轨道从混乱的状态,本文提出一种 混沌控制方法通过改善电感电流和输出电压之间的关系。通过调整 耦合强度,这种方法可以控制混沌周期2 Buck-Boost转换器,period-4,period-8轨道 period-9轨道和周期3,时间6,不确定不稳定周期轨道(着)。(To transform the Buck-Boost converter the chaotic state to the periodic orbits, this paper proposes a
chaotic control method by improving the correlation between the inductor current and the output voltage. By adjusting
the coupling strength, this method can control the chaotic Buck-Boost converter to the period-2, period-4, period-8 orbits
and the period-3, period-6, period-9 orbits, without determining the unstable periodic orbits (UPOs) in advance.)
- 2014-12-01 10:10:46下载
- 积分:1
-
jacobi1
经典jacobi算法求矩阵特征值,matlab程序设计(Classical Jacobi matrix algorithm for eigenvalues, matlab programming)
- 2013-05-11 14:06:43下载
- 积分:1
-
TransformatingTheZernikeCoefficients
说明: 用于计算Zernike多项式系数在缩放、偏心、旋转后的值(Calculating the values of Zernike polynomial coefficients after scaling, eccentricity and rotation)
- 2020-06-23 04:40:02下载
- 积分:1