Automatic roof outlines reconstruction from photogrammetric DSM