how to fix my source code Retrieving Image Data Binary Types from database?

1 次查看(过去 30 天)
I'm doing research thesis. I am confused with sorce code to retrieving image data binary types from database. I have tried the source code at this link http://www.mathworks.com/help/database/ug/retrieving-binary-or-other-sun-java-sql-data-types.html. but I get an error like this
>>saveimg
ans =
[2] [255x1 int8]
[3] [255x1 int8]
??? Error using ==> imread at 342 Unable to determine the file format.
Error in ==> parsebinary at 74 [x,map] = imread(['testfile.' lower(f)]);
Error in ==> saveimg at 13 parsebinary(gbr, 'bmp');
Can help me to fix this source code? thanks

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by