build graph for facade images,include building and matching approach