how can I fix this error code in cbir using wavelet transform and color histogram ?

1 view (last 30 days)
I have a project of CBIR (Content Based Image Retrieval) using wavelet transform and color histogram. I perform re-experiment from Singha and Hemachandran research. I have tried to code it, but when an image was added in database, there was an error. The error message states :
Error using database/fastinsert (line 222)
Cell array or struct should not contain vectors
Error in koneksidbEkstraksi (line 11)
fastinsert(conn, 'ekstraksifitur', colciri, rowciri);
Error in metode_ekstraksi (line 157)
koneksidbEkstraksi(A, H, V);
Error in tambah>btn_tmbhcitra_Callback (line 361)
metode_ekstraksi(input);
Error in gui_mainfcn (line 96)
feval(varargin{:});
Error in tambah (line 42)
gui_mainfcn(gui_State, varargin{:});
Error in
@(hObject,eventdata)tambah('btn_tmbhcitra_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating uicontrol Callback
I think it was caused by algorithm of extraction code. I have attached the m-file of algorithm code. It was named metode_ekstraksi.m . Before that, I've also attached the m-file of database connection for result of extraction. It was named koneksidbEkstraksi.m. I hope someone can help me to solve this problem.
Thank you.

Answers (0)

Community Treasure Hunt

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

Start Hunting!