A hybrid multi-view stereo algorithm for modeling urban scenes