chapt04_Matlab图像处理基础.ppt

  1. 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
chapt04_Matlab图像处理基础

赵颖 zhaoying511@126.com 中南大学 Digital Image Processing Matlab图像处理基础 赵颖 zhaoying511@126.com 中南大学 安装图像处理包 确保安装Matlab时安装了图像处理包 安装图像处理包 The MATLAB Image Processing Toolbox The Image Processing Toolbox is a collection of MATLAB functions that extend the capability of the MATLAB environment for the solution of digital image processing problems. Including: -Spatial image transformations 空间变换 -Morphological operations 形态学处理 -Neighborhood and block operations 邻域处理 -Linear filtering and filter design 滤波 -Image analysis and enhancement 图像分析与增强 -Deblurring 锐化 -Region of interest operations 区域检测 -…. 数据类型 名称 描述 double 双精度浮点数,范围为-10exp(308)~ 10exp(308),8字节 uint8 无符号8比特整数,1字节 uint16 无符号16比特整数,2字节 uint32 无符号32比特整数,4字节 int8 有符号8比特整数,1字节 int16 有符号16比特整数,2字节 int32 有符号32比特整数,4字节 single 单精度浮点数,范围为-10exp(38)~ 10exp(38) ,4字节 char 字符 logical 值为0或1 读取图像 imread Read image from graphics file A = imread(filename) A = imread(filename) reads a grayscale or color image from the file specified by the string filename. If the file is not in the current directory, or in a directory on the MATLAB path, specify the full pathname. The return value A is an array containing the image data. If the file contains a grayscale image, A is an M-by-N array. If the file contains a truecolor image, A is an M-by-N-by-3 array. For TIFF files containing color images that use the CMYK color space, A is an M-by-N-by-4 array. The class of A depends on the bits-per-sample of the image data, rounded to the next byte boundary. For example, imread returns 24-bit color data as an array of uint8 data because the sample size for each color component is 8 bits. 读取图像 举例 imread(‘d:\8位9像素灰度图片.BMP) 读取图像 显示某个像素的值 f = imread(d:\8位9像素灰度图片.BMP) g = imread(d:\64位全品红9像素CMYK图片.tif) f(1,2,:) g(1,2,:) 图像信息 Image size: size() 显示一幅图像的行数和列数 ex: f= imread( 8位9像素灰度图片.BMP); size(f) [M,N] = size(f) M=影像I的高 N=影像I的宽 图像信息 whos功用:display information about an image . ex: f= imread( 8位9像素灰度图片.BMP); whos f

文档评论(0)

djdjix + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档