Info

This question is closed. Reopen it to edit or answer.

search an image from database

1 view (last 30 days)
poonam
poonam on 22 Oct 2011
hi I m doing a poject on image processing.. I have a database in Ms Access. there are two feilds.. no,name of the image.. I require to compare the no and retrive the correponding image from the database..i have written a query. But it is only showing a dot in the figure instead of the image..pleasse solve my problem..
this iss the code..
curs=(exec(conn,['select path from student where number = ''32''']));
>> curs=fetch(curs);
>> v=get(curs,'data');
>> imshow(v);
  2 Comments
Alex Foreever
Alex Foreever on 16 Feb 2013
Maybe the image is not in the matlab's current working directory.U may need to store the full path in database.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!