The 2D shape structure dataset: A user annotated open access database A Carlier, K Leonard, S Hahmann, G Morin, M Collins This code was tested on Matlab R2015a, on Ubuntu 14.04 and on Mac OS 10.9.5.