This code extracts Histogram of Orientation Shape Context (HOOSC) [1,2] local shape
descriptor from an input hieroglyph image.

Detailed explaination of the HOOSC descriptor can be found in the paper [1,2]. 

More explaination of the usage of the code can be found in:

    http://www.idiap.ch/paper/maaya/hoosc/index.html

Contact method: Rui Hu <rhu@idiap.ch>

'main.m' gives an example of how to use this code.

Note that 'gray2skel.m' convert input hieroglyph image into thin lines. You are
welcome to replace this code with your own pre-processing method, which works
better for your data, to convert your input image into thin lines.

[1]. E. Roman-Rangel, C. Pallan-Gayol, J.-M. Odobez, and D. Gatica-Perez.
     Searching the past: an improved shape descriptor to retrieve maya hieroglyphs.
     In ACM Multimedia, pages 163–172, 2011.

[2]. R. Hu, Jean-Marc Odobez, and Daniel Gatica-Perez, Assessing a Shape Descriptor
     for Analysis of Mesoamerican Hieroglyphics: A View Towards Practice in Digital
     Humanities, Digital Humanities, 2016.
