MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   Matlab imread()在Linux下读取jpg错误 (https://www.labfans.com/bbs/showthread.php?t=24125)

poster 2019-12-10 20:48

Matlab imread()在Linux下读取jpg错误
 
matlab7.10.0(R2010a)

我= imread('input-small.jpg');

使用==> jpeg_depth JPEG参数结构不匹配时出错:库认为大小为632,调用者希望为616

==> readjpg在13 [depth,msg] = jpeg_depth(filename)时出错;

==>中的错误在441 [X,map] = feval(fmt_s.read,filename,extraArgs {:})处读取;



[B]回答:[/B]

我刚在R2010b中遇到此错误。与图片本身没有关系。

它正在使用系统的JRE。当我将其切换回Matlab附带的JRE时,它可以工作。



[url=https://stackoverflow.com/questions/4193220]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 01:13

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.