Model-Based Automatic Building Extraction From Lidar And Aerial Imagery