matlab imread函数全说明

本文详细介绍了MATLAB中的imread函数,用于从图形文件中读取灰度和彩色图像。函数支持多种文件格式,如BMP、CUR、GIF、JPEG等,并提供了不同的参数选项来控制读取操作。例如,可以指定文件格式、读取多帧图像、从URL读取等。同时,imread会根据图像的位深度返回不同类型的数组,对于索引图像,还会返回相应的颜色映射图。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >





  
imread




Read image from graphics file 
Syntax




A = imread(filename, fmt)
[X, map] = imread(...)
[...] = imread(filename)
[...] = imread(URL,...)
[...] = imread(...,Param1,Val1,Param2,Val2...)


Description




A = imread(filename, fmt) reads a grayscale or color image from the file specified by the string filename. If the file is not in the current folder, or in a folder on the MATLAB path, specify the full pathname. 


The text string fmt specifies the format of the file by its standard file extension. For example, specify 'gif' for Graphics Interchange Format files. To see a list of supported formats, wit
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Zhang_P_Y

感谢支持

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值