- 2
- 0
- 约1.6万字
- 约 13页
- 2016-10-16 发布于浙江
- 举报
生物电子与影像术实验指导书2013
《生物电子与影像技术》
实验指导
哈尔滨工业大学(威海)控制科学与工程系
实验一:图像处理基本操作与灰度变换
1. 基础知识
Matlab支持的图像格式
TIFF, JEPG, GIF, BMP, PNG, XWD (X Window Dump),其中GIF不支持写。
与图像处理相关的最基本函数
读:imread; 写:imwrite; 显示:imshow; 信息查看:imfinfo;
Matlab支持的数据类型
double, unit8, int8, uint16, int16, uint32, int32, single, char (2 bytes per element), logical.
Matlab支持的图像类型
Intensity images, binary images, indexed images, RGB image
数据类及图像类型间的基本转换函数
数据类转换:B = data_class_name(A);
IPT图像数据类型转换函数:
函数名 输出图像数据类型 输入图像数据类型 im2uint8 uint8 logical, uint8, uint16, double im2uint16 uint16 logical, uint8, uint16, double mat2gray double([
原创力文档

文档评论(0)