A method for operating an electronic device , the method comprising: identifying corresponding blocks between a first frame and a second frame of an image that have overlapping field of views; determining whether to replace at least a portion of the first frame with a corresponding portion of the second frame based on a block difference error associated to the corresponding blocks; and combining the first frame and the second frame based on the determining; wherein the method comprises: selecting a block of the second frame having a maximum correlation with a block of the first frame; and establishing an estimated motion vector based upon the relative position of the selected block of the second frame to the block of the first frame; and wherein determining whether to replace at least a portion of the first frame with a corresponding portion of the second frame comprises: normalizing the block of the first frame using a mean value of the pixels of the block of the first frame and normalizing the block of the second frame using a mean value of the pixels of the block of the second frame; and generating the block difference error based on the normalized block of the first frame and the normalized block of the second frame. identifying corresponding blocks between a first frame and a second frame of an image that have overlapping field of views; determining whether to replace at least a portion of the first frame with a corresponding portion of the second frame based on a block difference error associated to the corresponding blocks; and combining the first frame and the second frame based on the determining; wherein the method comprises: selecting a block of the second frame having a maximum correlation with a block of the first frame; and establishing an estimated motion vector based upon the relative position of the selected block of the second frame to the block of the first frame; and wherein determining whether to replace at least a portion of the first frame with a corresponding portion of the second frame comprises: normalizing the block of the first frame using a mean value of the pixels of the block of the first frame and normalizing the block of the second frame using a mean value of the pixels of the block of the second frame; and generating the block difference error based on the normalized block of the first frame and the normalized block of the second frame. selecting a block of the second frame having a maximum correlation with a block of the first frame; and establishing an estimated motion vector based upon the relative position of the selected block of the second frame to the block of the first frame; and wherein determining whether to replace at least a portion of the first frame with a corresponding portion of the second frame comprises: normalizing the block of the first frame using a mean value of the pixels of the block of the first frame and normalizing the block of the second frame using a mean value of the pixels of the block of the second frame; and generating the block difference error based on the normalized block of the first frame and the normalized block of the second frame. normalizing the block of the first frame using a mean value of the pixels of the block of the first frame and normalizing the block of the second frame using a mean value of the pixels of the block of the second frame; and generating the block difference error based on the normalized block of the first frame and the normalized block of the second frame. <EOS>