登录
首页 » matlab » Blocks

Blocks

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

  • 16QAM
    16QAM仿真系统,学通信实验必备,绝对有用。(16QAM simulation system, learning communication experiment must absolutely useful.)
    2007-12-14 21:08:08下载
    积分:1
  • cablageOSN
    OSN cablage example
    2010-02-07 07:28:19下载
    积分:1
  • LSPzuhe14_8
    多星座导航系统中利用最小二乘算法进行位置解算的MATLAB傆代码,以GPS/GLONASS系统为例(Multi-constellation navigation system using least square algorithm solver of MATLAB Yuan location code to GPS/GLONASS system as an example)
    2015-03-13 10:33:17下载
    积分:1
  • MATLAB的SNR计算
    对信噪比估计的研究基础上完成SNR计算方法MATLAB实现(Realization of SNR calculation method based on the research of SNR estimation by MATLAB)
    2019-03-06 11:24:09下载
    积分:1
  • 数字图像处理1
    说明:  任务 1 编写以两幅灰度图像为输入的 MATLAB 函数,计算下列图像差值度量:均方误 差(MSE)信噪比(SNR)峰值信噪比(PSNR)均值绝对误差(MAE)处理给定的测试图像“Lena”及其原始和后添加噪声形式。 任务 2 编写 MATLAB 函数,通过两种不同的方法将一幅灰度图像从原始大小下采样到 给定输出大小:a)直接消除像素,b)在消除像素之前进行初步图像平滑处理。用缩放系数 2:1、4:1、8:1 和 16:1 对给定的测试图像“Living.”进行处理。 任务 3 编写 MATLAB 函数,通过两种不同的方法将灰度图像从原始大小缩放到给定的 输出大小:a)像素重复使用上述方法将任务 2 中处理的图像缩放回原始大小。使用为任务 1 编写的 MATLAB 方法计算原始图像和缩放图像的 MSE 和 PSNR。将 MSE和 PSNR 分别作为大小缩减率的函数。定义对于相同的尺寸缩小比,收缩/缩放方法的组合提供最小 MSE 和最大 PSNR。 任务 5 编写 MATLAB 函数分别对测试图像“Fig0316(1)(top_.)”和“Fig0316(4)(._.)”执行直方图均衡。显示直方图均衡前后直方图的直方图。(task1 task2 task3 task5)
    2020-01-02 19:03:28下载
    积分:1
  • MEMS_ARMA
    说明:  MMES陀螺信号的ARMA模型分析,运行通过了,并有卡尔曼滤波。(MMES gyro signal analysis of ARMA models, run through the, and Kalman filtering.)
    2008-09-16 14:00:14下载
    积分:1
  • Solution-of-PDE
    偏分方程的MATLAB解法(对matlab的pde工具箱,从图形用户界面入手,对各种典型方程和应用实例逐个作了计算和分析)(MATLAB Solution of partial differential equation (pde on the matlab toolbox, starting from the graphical user interface, a variety of typical equations and application examples have been calculated and analyzed individually))
    2013-08-26 23:49:41下载
    积分:1
  • mine
    利用MATLAB编程实现线性规划,利用单纯形法处理问题(Linear programming using MATLAB programming, dealing with the problem using the simplex method)
    2010-08-28 16:26:15下载
    积分:1
  • youyueshuzengliangfankuigpc
    一个基于增量反馈的广义预测控制算法的matlab程序,程序说明详细(A feedback based on incremental generalized predictive control algorithm matlab program, detailed description of the procedures)
    2011-04-25 15:40:10下载
    积分:1
  • chongdian
    模拟电动汽车(私家车,公交车,出租车)充电,进行充电负荷预测(Prediction of Charging Load by Simulating Electric Vehicle Charging)
    2021-04-20 15:08:50下载
    积分:1
  • 696518资源总数
  • 105885会员总数
  • 31今日下载