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

조회 수: 1 (최근 30일)
Fathin Ulfah
Fathin Ulfah 2014년 2월 14일
편집: Fathin Ulfah 2014년 2월 15일
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