开发者

matlab imread() read jpg error under linux [closed]

开发者 https://www.devze.com 2023-01-25 02:33 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying 开发者_运维技巧this question so that it can be reopened, visit the help center. Closed 10 years ago.

matlab7.10.0(R2010a)

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

???Error using ==> jpeg_depth JPEG parameter struct mismatch: library thinks size is 632, caller expects 616

Error in ==> readjpg at 13 [depth,msg]=jpeg_depth(filename);

Error in ==> imread at 441 [X,map]=feval(fmt_s.read,filename,extraArgs{:});


I just got this error with R2010b. There's no relation to the picture itself.

It was using the system's JRE. When I switched it back to the JRE shipped with Matlab it worked.

0

精彩评论

暂无评论...
验证码 换一张
取 消