1. A method of automatically estimating the layout of a sequentially ordered series of frames to be used to form a panorama comprising: examining frames of the series to determine an initial flow direction; identifying a first interruption in the series of frames; ranking the frames in an evenly ranked matrix according to matrix dimensions based at least partly upon the initial flow direction and characteristics of the first interruption; arranging the frames in the matrix and evaluating the matrix to determine if the panorama forms a 360 degree image; and wherein during the evaluating the first and last frames of each row of the matrix are registered; and the evaluating is performed when each row of the matrix includes a threshold number of frames; and in accordance with the rankings, arranging the frames into a layout that represents the panorama.