how to store images in a database

4 views (last 30 days)
ramesh jallu
ramesh jallu on 27 Jan 2011
I have some doubts regarding my project on facial recognition. After capturing image using a camera
  1. how to store them?
  2. where should i store them?
  3. which database should i use?
  4. how to retrieve and update?
  5. how to check an image with an existing image?
Those are all my doubts. If I know these concepts I can start my project.

Answers (2)

Chris
Chris on 27 Jan 2011
You can literally just use the save command in MATLAB. It has a lot of options including saving as a standard image format such as BMP, JPG or PNG. If you want more information stored with the image you can save each image or group of images in a single monolithic .mat file.
  3 Comments
Chris
Chris on 28 Jan 2011
My apologies, it is the imwrite command that saves a variable as an image file. The rest stands though, so long as the picture is in an array not a figure, you can save it along with any other variables to a monolithic .mat file using save.
ramesh jallu
ramesh jallu on 28 Jan 2011
thank you friend

Sign in to comment.


Walter Roberson
Walter Roberson on 27 Jan 2011
Store the images where-ever you like that has enough room, is fast enough, and that you are authorized to use.
The exact choice of database probably will not matter to you, as the interface to them is fairly similar.
I suggest you review this blog about storing arrays as BLOBs (Binary Large OBjects)

Community Treasure Hunt

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

Start Hunting!