Panoramic scene generation from multi-view images with close foreground objects