-
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
-
matlab
A collection of useful tutorials and commands for easy reference and lookup of commands, I hope you like it
- 2010-10-15 23:47:34下载
- 积分:1
-
Realizationofdigitalsignalprocessingandmatlab
经典matlab教材《数字信号处理及其matlab实现》电子书(Matlab classic textbook " Digital Signal Processing and its matlab implementation," e-books)
- 2010-03-06 17:27:50下载
- 积分:1
-
INTER-CARRIER-INTERFERENCE-CANCELLATION-thesis
this report explains the phenomenon of ICI in ofdm
- 2012-04-02 23:44:28下载
- 积分:1
-
MPCA
MPCA可用于高维数据进行降维可与LDA结合,降维效果更好。(MPCA can be used to reduce the dimension and LDA with high dimensional data, dimensionality reduction effect is better.)
- 2021-03-26 11:39:13下载
- 积分:1
-
multiROI
对二维图像进行ROI提取的程序,提供GUI界面(A GUI to find ROI in 2D image)
- 2010-10-23 14:07:04下载
- 积分:1
-
lte2
lte code fore simulation with matlab
- 2013-08-24 20:42:57下载
- 积分:1
-
fuzzycmeans
Magnetic resonance (MR) images can be used to detect lesions in the brains of multiple sclerosis (MS)
patients and is essential for diagnosing the disease and monitoring its progression. An automatic method is
presented for segmentation of MS lesions in multispectral MR images. Firstly a PD-w image is subtracted its
corresponding T1-w image to get an image in which the cerebral spinal fluid (CSF) is enhanced. Then based on
kernel fuzzy c-means (KFCM) algorithm, the enhanced image and the corresponding T2-w image are segmented
respectively to extract the CSF region and the CSF combining MS lesions region. A raw MS lesions image is
obtained by subtracting the CSF region CSF combining MS region. By applying median filter and
thresholding to the raw image, the MS lesions are detected finally. Results are quantitatively uated on
BrainWeb images using Dice similarity coefficient (DSC). Finally, the potential of the method as well as its
limitations are discussed.
- 2014-12-28 01:45:09下载
- 积分:1
-
DBF software
说明: 利用matlab实现的数字波束形成算法,适合初学者学习。(Implementation of Digital Beamforming Algorithms)
- 2019-02-19 17:00:16下载
- 积分:1
-
含分布式电源微电网潮流
说明: 含分布式电源的微电网潮流计算的MATLAB仿真(electrified wire netting)
- 2021-04-06 16:28:06下载
- 积分:1