Image processing
2 views (last 30 days)
Show older comments
Hi, I have to store many images in my database. Could you tell how to create a database or how to save images using commands. Now, an input query image will be given. It has to check with the images present in the database. It has to be compared with those images and we have to tell whether it matches or not.
0 Comments
Accepted Answer
Walter Roberson
on 24 Dec 2011
You can save images using save(). Or imwrite() or print() or saveas(). Or you can get fancier and use SQL or one of the Microsoft databases.
Unless your data is intended to be used in a high-performance system (e.g., recognizing people in a crowd), save() or imwrite() is probably fine.
How does your situation define "matches or not" ? Is it exact pixel comparison? Same object, same lighting, but perhaps a different size or orientation? (e.g., when scanning an ID badge the distance and angle might not be exactly the same.) You need to be able to identify individual Muppets in a crowd scene from The Muppet Show? You need to be able to scan in an MRS (Magnetic Resonance Spectroscopy) FID from a patient and have the spectrum automatically classified as to thyroid cancer stage? You need to match astronomical photographs taken anywhere in the solar system against the astronomical database to figure out exactly which stars in the picture are which?
0 Comments
More Answers (1)
Sivakumaran Chandrasekaran
on 28 Mar 2012
1 Comment
Image Analyst
on 28 Mar 2012
This does not answer the question of whether you are looking for an EXACT match, or just something close. Are you going to ask the database "is there a copy of this exact picture of siva inside you?" or are you going to ask the database "please retrieve all pictures of Indians less than 30 years old."?
See Also
Categories
Find more on Convert Image Type in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!