-
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
-
camera_1
用matlab控制摄像头 对所采集的视频提取图片,再进行后续处理(Control using matlab camera captured video extract pictures, and then the subsequent processing)
- 2013-04-25 15:28:37下载
- 积分:1
-
proficient-in-MATLAB-optimization
精通matlab最优化计算随书带的源码,包括线性规划,整数规划,pso,GA等(Proficient in matlab optimization calculation with the source code with the book, including linear programming, integer programming, pso, GA etc.)
- 2011-05-23 16:03:21下载
- 积分:1
-
HAMINGPRS
汉明码和RS码的编译码的MATLAB源程序(Hamming and RS MATLAB source code encryption)
- 2013-09-27 09:10:14下载
- 积分:1
-
(chp1)
连续函数matlab基本用法及各种简单形式描述(Continuous function matlab basic usage and various simple form description)
- 2014-02-20 20:06:51下载
- 积分:1
-
zhaoxiaopu
位置指令为幅值为1.0的阶跃信号,r(k)=1.0。网络结构为1-4-1,高斯函数的参数值取Cj=[-2 -1 1 2]T ,B=[0.5 0.5 0.5 0.5]T 。
网络权值学习参数为η=0.30,α=0.05 。PID控制各参数的初RBF网络控制,被控对象为G(s)=
取采样时间为1ms,采用Z变换进行离散化,离散化后的被控对象为
y(k)=-den(2)*y(k-1)-den(3)*y(k-2)+num(2)*u(k-1)+num(3)*u(k-2)
始值为,kp=20, kd=0.3, ki=0.1。
(Position command for the step signal amplitude of 1.0, r (k) = 1.0. The network structure is 1-4-1, the Gaussian function parameters taken Cj = [-2-1 1 2] T, B = [0.5 0.5 0.5 0.5] T. Weight learning parameter η = 0.30, α = 0.05. PID control parameters at the beginning of each RBF network control, the controlled object is G (s) = take the sampling time is 1ms, using the Z transform discrete, discretized controlled object is y (k) =-den (2)* y (k-1)-den (3)* y (k-2)+num (2)* u (k-1)+num (3)* u (k-2) initial value, kp = 20, kd = 0.3, ki = 0.1.)
- 2013-07-22 21:20:28下载
- 积分:1
-
matlab-examples
matlab实用程序百例,包括图形应用,界面设计,数值处理等(matlab examples)
- 2014-10-05 14:48:55下载
- 积分:1
-
ToyExample1
说明: 一个关于KHA的算法,他是一种在KPCA基础上进一步训练的算法(a 5,500 on the algorithm, he is a KPCA in further training on the basis of the algorithm)
- 2005-10-13 21:45:19下载
- 积分:1
-
Deblurring-Images---Matrices--Spectra--and-Filter
Deblurring Images - Matrices, Spectra, and Filtering
- 2013-07-27 17:26:15下载
- 积分:1
-
planseperator
Plan separator: the code separate the bit 0 to 7 plans of an eight bits image. This is to allow image analysis and to know the most useful part of the image among its features.
- 2013-11-11 03:23:40下载
- 积分:1