我已經插入圖像在sql服務器使用matlab,但是當我檢索該圖像我得到這個 [845941x1 int8]作爲我的輸出,所以請告訴我我將如何獲得我的原始圖像使用此輸出........或任何其他方式來檢索圖像....我如何檢索我的圖像從sql server 2008使用matlab
這是我的代碼中插入圖片:
// conn = database('test','prashant','');
//pes = exec(conn,'insert into filee select ''jpg'' as filetype,* from
//openrowset (bulk ''D:\file\index.jpg'' , single_blob) as x ');
//close(conn);
代碼來檢索是:
// conn = database('test','prashant','');
// pess = exec(conn,'select * from filee');
//pess = fetch(pess);
// pess.data[1,3];
// close(conn);
請告訴我的代碼來檢索我的形象回來.....