1. A method, comprising: evaluating image quality of a number of consecutive frames out of a plurality of images using a predetermined criterion, wherein said number is an integer of at least a value of two; selecting one frame out of said evaluated frames with the best image quality using a predetermined rule; and appending said one frame to other selected frames for constructing an image panorama by an electronic device.