Dense multi-view homography estimation and plane segmentation