Efficient 3D scene modeling and mosaicing