Robust Near-Isometric Matching via Structured Learning of Graphical Models