Matlab Code for ECCV 2014 paper "A Graph Theoretic Approach for Object Shape Representation in Compositional Hierarchies using a Hybrid Generative-Descriptive Model". Includes vocabulary learning and basic test image inference code. The code is regularly updated to have new features.