Patent ID: 8923648

Claim:
A method of processing first and second image data, the method comprising: analyzing pixels of the first image data from a first image sensor and pixels of the second image data from a second image sensor to determine a size of an overlap area of the first and second image data; determining a first overlap horizontal position and a maximum width of the overlap area to determine a horizontal scale of the overlap area; determining a first overlap vertical position and a maximum height of the overlap area to determine a vertical scale of the overlap area; computing a first weight and a second weight of each pixel of the first image data and each pixel of the second image data, respectively, based on a relative position of the first and second image data of each pixel in the overlap area, the first weight of each pixel of the first image always being higher as a position of each pixel gets closer to the first image sensor and the second weight of each pixel of the second image always being higher as a position of each pixel gets closer to the second image sensor; and generating a final image by blending the first image data from the first image sensor and the second image data from second image sensor based on the first weight and the second weight; wherein the computing comprises computing a horizontal weight and a vertical weight based on the relative pixel position and on a desired minimum weight greater than zero; and the first weight and the second weight are based on at least one of the horizontal weight and the vertical weight; wherein when determining the maximum width, a first loop is executed which looks ahead and tests each following pixel until one of an end of a row of pixels is reached and a non-overlap area is found; and when determining the maximum height, a second loop is executed which looks ahead and tests each following pixel until one of the end of a column of pixels is reached and a non-overlap area is found.