I run the attached Content Based Image Retrieval code in Matlab, but i get error? and the retrieved images are not diplayed? could you correct the code and display the retrieved images.
Just add "IMAGES" folder (containing the images) to Matlab path.
For this purpose, do the following instructions (or add a piece of code to your mfile):
Open Matlab and in the "current folder" pane, navigate to your "finalRelease" folder (or in windows explorer, just double click on "cbirMP.m").
In "current folder" pane, right-click on "IMAGES" folder and select "Add to Path" option and then "Select folders and subfolders".
Do not forget to reverse this operation when you finish your work (Right-click on "IMAGES" folder, select "Remove from Path" option and then "Select folders and subfolders" ). Unless, it may cause some problems later.
IMPORTANT: You must note that your program does not really retrieve any images, because "query_button_Callback" function is actually a sample function which must be completed (Look at line 136 of "cbirMP.m"). It is based on another function "RF", which is an empty function that must be completed, too. See "ECE417MP6.html" in "documentation" folder.
Anyway, the program should not return any error as it does not on my PC. I'm using Matlab 2014b, by the way.
NOTE: If you run "cbirMP.m" directly, you may not need to add the "IMAGES" folder to Matlab path manually (, probably).