-
Blocks
clc
close all
clear all
I=imread( desert.jpg )
[r c]=size(I)
bs=16 Block Size (8x8)
nob=(r/bs)*(c/bs) Total number of 8x8 Blocks
Dividing the image into 8x8 Blocks
kk=0
for i=1:(r/bs)
for j=1:(c/bs)
Block(:,:,kk+j)=I((bs*(i-1)+1:bs*(i-1)+bs),(bs*(j-1)+1:bs*(j-1)+bs))
end
kk=kk+(r/bs)
end
Accessing individual Blocks
figure imshow(Block(:,9,1)) This shows u the fist 8x8 Block in a figure window
figure imshow(Block(:,:,2))
- 2013-03-17 15:01:05下载
- 积分:1
-
niefiu
利用matlab写成的窄带噪声发生,高斯白噪声的生成程序,构成不同频率的调制信号。( Using matlab written narrowband noise occurs, Gaussian white noise generator, Constituting the modulated signals of different frequencies.)
- 2021-04-23 09:48:48下载
- 积分:1
-
flow-past-a-cylinderical-obstacle.
LBM方法2维9速度模型,求解管道圆柱扰流问题。(Channel flow past a cylinderical obstacle(D2Q9, LBM method).)
- 2020-11-29 18:19:28下载
- 积分:1
-
code
the network lifetime based on a new Energy-Aware Objective Function used to design a Routing Protocol for Low-Power and Lossy Networks. The proposed Objective Function uses the Expected Transmission Count Metric and the Remaining Energy on each sensor node to compute the best paths to route data packets across the network.So EAOF prolongs the network lifetime and reduces the need for human intervention on battery changing, thereby enhancing the system wearability and reducing operational costs.
- 2014-12-03 18:21:52下载
- 积分:1
-
matlab-fast-deal-xlsfile-and-txt
根据选择的txt文件内的内容,让matlab自动从任意excel文件里提取相应内容。涉及快速读写大型excel文件、matlab正则表达式。(Based on the contents of the selected txt file, matlab automatically extracted from any excel file. Involving fast reading and writing large excel files、matlab regular expressions.)
- 2012-12-29 15:11:28下载
- 积分:1
-
3
说明: 一种很实用的风力机低电压穿越相关模型搭建及分析。(wind power model)
- 2014-10-15 22:58:12下载
- 积分:1
-
Optimal-Decision-Boundaries-for--QAM
Optimal Decision Boundaries for -QAM
- 2014-02-20 10:15:56下载
- 积分:1
-
鸢尾花分类
说明: 使用四种方法进行鸢尾花分类:最小距离分类器,K 近邻法,感知器,Fisher 准则。(Four methods are used to classify iris: minimum distance classifier, K-nearest neighbor method, perceptron and Fisher criterion.)
- 2020-09-17 18:37:56下载
- 积分:1
-
huxiangguan
用互相关原理实现控制系统的频率特性测试仿真,供大家参考。谢谢!!(Using the principle of inter-related control systems achieve the frequency characteristics of the test simulation, for your reference. Thanks! !)
- 2009-03-12 15:31:07下载
- 积分:1
-
matlablibsvm
matlab调用libsvm时数据归一化与反归一化之归一化程序
(matlab libsvm)
- 2010-05-18 16:13:33下载
- 积分:1