Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
普通会员
注册日期: 2009-03-05
年龄: 37
帖子: 34
声望力: 17 ![]() |
![]()
我想打开一个名为CrimeFprint.mat的图像文件,所以写了一段程序
load('CrimeFprint.mat'); f=fopen('CrimeFprint.mat'); imshow(f); 运行后没错,但是没有图像出现,这是为什么呢? 于是我又改了一段: load('CrimeFprint.mat'); fopen('CrimeFprint.mat'); imshow('CrimeFprint.mat'); 结果出现以下错误: ??? Error using ==> imuitools\private\imageDisplayParseInputs>getImageFromFile Could not read this file: "CrimeFprint.mat" Error in ==> imuitools\private\imageDisplayParseInputs at 128 [cdata,map] = getImageFromFile(filename); Error in ==> imshow at 146 [cdata, cdatamapping, clim, map, xdata, ydata, ... Error in ==> dippart2 at 3 imshow('CrimeFprint.mat'); 这是为什么?到底imshow处应该写什么才能正确显示图像? |
![]() |
![]() |
主题工具 | |
显示模式 | |
|
|
![]() |
||||
主题 | 主题作者 | 版面 | 回复 | 最后发表 |
Studying the World's Most Complex Dynamic Systems | TechnicalArticles | MATLAB技术文章 | 0 | 2008-10-22 02:59 |
[求助]关于Matlab与Java混合编程的环境变量设置 | lxduan | MATLAB论坛 | 1 | 2008-04-03 16:23 |