登录
首页 » matlab » Blocks

Blocks

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

  • griddataexam
    说明:  matlab三角插值算法(matlab triangle interpolation algorithm)
    2008-10-02 11:58:02下载
    积分:1
  • open
    how can we open lip in matlab? this use for face animation
    2012-02-08 22:53:54下载
    积分:1
  • ImageTools
    Image to0ls contains image function for matlab
    2016-09-02 14:32:26下载
    积分:1
  • 57460
    matlab code, median filter
    2014-09-17 08:41:24下载
    积分:1
  • SPWM-SMULINK
    该文件包含spwm的单极性和双极性MATLAB smulink仿真,可以正确运行,载波与调制波波形清晰完美。由本人原创搭建。(This file contains the SPWM unipolar and bipolar MATLAB smulink simulation which can run correctly, carrier and modulation wave forms are perfect.)
    2015-01-08 21:52:50下载
    积分:1
  • Newton-Raphson-With-Ploss
    Calculated power flow of Newton-Raphson method with considering power loss
    2012-11-05 13:45:53下载
    积分:1
  • wsn-codes
    how to deploy nodes for energy efficient protocol based on hierarchical routing
    2015-03-15 16:55:17下载
    积分:1
  • MRFLearningAdd
    马尔科夫随机场matlab代码 希望有所帮组、、、、、、、、、、、(Matlab MRF code hope it will be helpful to you)
    2010-05-21 13:51:30下载
    积分:1
  • zoom3addzoom3x
    可以改变图像大小已达到需求,各个方向改变(change size)
    2015-04-02 12:10:40下载
    积分:1
  • ber_ldpc2
    ber_ldpc G(F)non bariny LDPC code
    2013-12-23 15:35:51下载
    积分:1
  • 696518资源总数
  • 104349会员总数
  • 32今日下载