登录
首页 » matlab » Blocks

Blocks

于 2013-03-17 发布 文件大小:2KB
0 271
下载积分: 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 个回复

  • filter
    说明:  数字滤波器的设计,它在数字信号处理的过程中有一定的影响!非常有用。(filter)
    2010-04-22 16:05:52下载
    积分:1
  • up
    说明:  简单例子A simple exampleA simple example(A simple example)
    2014-10-22 13:13:14下载
    积分:1
  • firmatlab
    MATLAB环境下FIR滤波器的设计与仿真(MATLAB environment FIR filter design and simulation)
    2009-05-19 04:34:55下载
    积分:1
  • Matlab-filter
    可以进行matlab滤波,含有多种模板,怎么这么无聊的网站(Matlab filter contains a variety of templates)
    2013-01-05 15:43:30下载
    积分:1
  • quantum
    Electron Density simulation
    2011-10-23 11:08:52下载
    积分:1
  • DZJSZ
    调制的代码,包含FSK,ASK等多种调制方式。(Modulation code, including FSK, ASK modulation, etc..)
    2007-08-19 14:38:29下载
    积分:1
  • lpc[1]
    从人的语音提取特征值的一种方法,lcp可能有些旧,但是还是不错的一种方法。(Extracted from the voice of a method of eigenvalue, lcp may be old, but still quite a way.)
    2009-01-21 15:28:30下载
    积分:1
  • matlab
    matlab 实现的一些在机械方面的仿真,共有18个(failed to translate)
    2011-05-24 16:37:14下载
    积分:1
  • 101-UNIX-commands
    the most important 101 Unix commands
    2014-01-10 21:25:55下载
    积分:1
  • EMD-denoising
    基于经验模态分解的信号去噪算法,一个很好的例子(Signal Denoising Algorithm based on empirical mode decomposition)
    2012-02-26 20:57:43下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载