1. A method for automatically creating a panoramic view of a scene, comprising using a computing device to perform steps for: receiving a video sequence of a scene captured from a moving camera; zero padding borders of each image frame of the video sequence to increase extents of each image frame; setting a preferred number sprites to be identified within the zero padded video sequence; setting a preferred number of layers into which each frame of the zero padded video sequence is to be decomposed, said layers including at least a background layer and a front layer, said front layer passing the entire contents of each zero padded image frame to be probabilistically considered for contributions to the background layer via a generative model; using the generative model to automatically decompose the zero padded video sequence into the preferred number of sprites and the preferred number of layers, said layers including the background layer; and wherein the background layer decomposed from the zero padded video sequence provides a static panoramic view of the scene relative to the original image frames of the video sequence.