Matlab中关于图像处理的函数
2016-09-09 10:59
267 查看
设图像矩阵为A。。
1、读取图像
2、显示图像
imshow(A,[])
3、保存图像
imwrite
○ 作用:imwrite Write image to graphics file.
○ 用法:imwrite(A,FILENAME,FMT) writes the image A to the file specified by FILENAME in the format specified by FMT.
○ 说明:FILENAME is a string that specifies the name of the file.最好是绝对路径文件名,这样就可以保存到自己想要的路径中。
构造绝对路径,将两个字符串连载一起的方法:
str1=’Iloveyou’; str2=’123’;
1、方法一:
用中括号将str1和str2像矩阵元素一样包含起来:
SC=[str1,str2]
输出:SC = Iloveyou123
1、读取图像
2、显示图像
imshow(A,[])
3、保存图像
imwrite
○ 作用:imwrite Write image to graphics file.
○ 用法:imwrite(A,FILENAME,FMT) writes the image A to the file specified by FILENAME in the format specified by FMT.
○ 说明:FILENAME is a string that specifies the name of the file.最好是绝对路径文件名,这样就可以保存到自己想要的路径中。
构造绝对路径,将两个字符串连载一起的方法:
str1=’Iloveyou’; str2=’123’;
1、方法一:
用中括号将str1和str2像矩阵元素一样包含起来:
SC=[str1,str2]
输出:SC = Iloveyou123
相关文章推荐
- 关于matlab中图像处理最基本的函数的个人总结
- 转载:发个MatLab 自编的 均值滤波、中值滤波、高斯滤波 图像处理函数
- 发个MatLab 自编的 均值滤波、中值滤波、高斯滤波 图像处理函数
- Matlab图像处理函数:regionprops
- MatLab 自编的 均值滤波、中值滤波、高斯滤波 图像处理函数(转)
- MATLAB中处理任意大图像的函数blockproc
- 转载:MATLAB图像处理函数汇总 (二)
- Matlab 常用的图像处理函数
- Matlab图像处理函数:regionprops
- 【Matlab图像处理】学习笔记:cat函数合成RGB 图像
- matlab图像处理函数汇总
- Matlab图像处理常用函数
- Matlab图像处理函数:regionprops
- Matlab图像处理函数:regionprops
- 发个MatLab 自编的 均值滤波、中值滤波、高斯滤波 图像处理函数
- MATLAB图像处理相关函数 非常有用
- 图像处理matlab工具箱常用函数
- MATLAB图像处理相关函数
- Matlab 图像处理相关函数命令大全
- MATLAB图像处理相关函数 非常有用