Delineating buildings by grouping lines with MRFs | Synapse