matlab imread() read jpg error under linux [closed]
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.
精彩评论