登录
首页 » matlab » Blocks

Blocks

于 2013-03-17 发布 文件大小:2KB
0 146
下载积分: 1 下载次数: 3

代码说明:

  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))

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论


0 个回复

  • untitled
    在已知内外方位元素的情况下,使用matlab程序编写代码实现共线方程求解。(Under the condition of the interior and exterior orientation elements are known, the use of matlab code to realize the collinear equation.)
    2014-12-11 11:08:33下载
    积分:1
  • WAVEFORCE
    利用虚拟激励法模拟随机波浪,计算海洋平台的稳态响应(The use of virtual simulation of random wave excitation method to calculate the steady-state response of offshore platforms)
    2013-05-26 19:19:45下载
    积分:1
  • ldyf
    对流扩散方程的六点迎风格式matlab编程(Six upwind scheme convection-diffusion equation)
    2015-07-21 16:06:51下载
    积分:1
  • wavelet
    小波图像分解与合成(详细).在matlab环境中实现。(Wavelet image decomposition and composition (detailed). In the matlab environment to achieve.)
    2010-08-10 22:01:53下载
    积分:1
  • 14-bus-load-flow-Program
    14-bus load-flow program
    2013-12-29 13:05:40下载
    积分:1
  • maiya
    信号为调频信号,实现对调频信号的脉冲压缩,获得距离像(FM signal, the signal on the FM signal pulse compression to get the distance like)
    2012-11-14 20:37:00下载
    积分:1
  • blurring-an-image-using-median-filter
    This function could deblurr an image with median filter
    2016-01-20 16:47:51下载
    积分:1
  • matlabengine
    VC++环境下调用MATLAB程序实现数字信号处理的方法(VC environment MATLAB program called digital signal processing methods)
    2008-05-26 20:39:13下载
    积分:1
  • M
    说明:  自己的一点小资料,很乱,设计一些例子,svm的,之类的(Little information, messy, design examples, svm, like the)
    2013-04-11 20:48:13下载
    积分:1
  • TM_OPEN
    用matlab实现二维情况下TM波在自由空间的的传播仿真,带有PML边界.很直观的!(realize the propogation of electromagnetic in TM mode under 2-D situation in free space,with respect to the PML ABC.)
    2010-10-27 09:20:38下载
    积分:1
  • 696518资源总数
  • 105065会员总数
  • 14今日下载