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 said series to determine an initial flow direction; identifying a first interruption in the series of frames; and ranking the frames in an evenly ranked matrix according to matrix dimensions based at least partly upon said initial flow direction and characteristics of said first interruption.