Matlab functions

The following functions have been tested on:
  • Matlab R14 sp 3 + Windows XP Home Edition 32bit sp 3
  • Matlab R2008a + Ubuntu Linux 10.04 64bit

Name
Description
Link
SCRIPT.m
Top-level script
SCRIPT.m
GeneralRoutines.m
General functions for image processing and pattern classification
GeneralRoutines.zip
TextureFunctions.m
Functions to compute bag-of-features and co-occurrences
TextureFunctions.zip


Dependencies

The following additional Matlab toolboxes need to be downloaded and installed:



Instructions

  1. Create a new directory (e.g.: ./mydir);
  2. Create a directory for Matlab code (./mydir/code);
  3. Save SCRIPT.m in ./mydir/code;
  4. Extract GeneralRoutines.zip into ./mydir/code/GeneralRoutines;
  5. Extract TextureFunctions.zip into ./mydir/code/TextureFunctions;
  6. Create a directory to store the required toolboxes (./mydir/code/Dependencies) or install them elsewhere;
  7. Create the following empty subdirectories:
    • ./mydir/data/Classification;
    • ./mydir/data/Features;
    • ./mydir/data/Labels;
    • ./mydir/data/LaTeX;
  8. Create a directory to store the images and other stuff (./mydir/data);
  9. Download and unzip the images from here. In doing so, make sure to maintain the following structure:
    • ./mydir/data/ALOT/{000,060,...,180}/...
    • ./mydir/data/BRODATZ/{00,10,...,90}/...
    • ./mydir/data/KYLBERG_SINTORN/{000,040,...,320}/...
    • ./mydir/data/MONDIAL_MARMI/{00,05,10,...,90}/...
    • ./mydir/data/OUTEX_00045/{00,05,10,...,90}/...
    • ./mydir/data/VECTORIAL/{00,10,...,90}/...
  10. Download and unzip the train and test numbers into ./mydir/code;
  11. Launch SCRIPT.m;
  12. Retrieve the results in LaTeX format in /mydir/data/LaTeX.



DISCLAIMER
The information and content on this Web site are provided with no warranty whatsoever. Any use for scientific or any other purpose is conducted at your own risk and under your own responsibility. The authors are not liable for any damages, including any consequential damages, of any kind that may result to the user from the use of the materials on this Web site or of any of the products or services described hereon.