| Date | File | Comment by | Comment | Rating |
|---|---|---|---|---|
| 24 Feb 2009 | Image retrieval - Query by Example Demo This demo provides a simple query by image example method, based on HSV values. | Giannakopoulos, Theodoros | Hi guys, thanx alot for your comments. Sorry for the looong delay, but I hadn't checked the forum for quite a long time. Anyway, I am posting a simple function that computes the color histograms of a whole directory of images. In this way you will be also able to build your training data. You can use this function and then store the returned histograms (along with the filenames) in a mat file. Matlab code: function [Hists, files] = getImageHistsDir(DirName) D = dir(DirName); count = 0; for (i=3:length(D))
As you can see, you just specify the directory name in which the images are stored. This is actually what Nicola Franzoso has provided, but in a function mode. |
|
| 23 Nov 2008 | Real Time Microphone and Camera data acquisition and audio-video processing This Matlab-code is a demo for real-time audio and image processing. | Giannakopoulos, Theodoros | ||
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.
Contact us at files@mathworks.com