摘要:
A method for aligning images includes (1) selecting a pair of overlapping pixels when two second image are aligned with a camera motion; (2) if both pixels are edge pixels, incrementing a correlation value between the two images for the camera motion; (3) if only one of pixels is an edge pixel, decrementing the correlation value between the two images for the camera motion; (4) repeating steps (1) to (3) for other pairs of overlapping pixels in the two images to determine the correlation value for the camera motion. The method further includes (5) repeating steps (1) to (4) for other camera motions; (6) selecting camera motions having large correlation values; (7) determining matched edge counts for members of the group; (8) selecting the camera motion with the largest matched edge count; and (8) aligning the two images with the selected camera motion.
摘要:
A method for color matching a first image and a second image, wherein a first region of the first image and a second region of the second image overlap, includes removing overlapping pixels in the first and the second regions that have pixel values are too different, generating a first histogram of the first region, generating a second histogram of the second region, determining corresponding pixel values in the first and the second histograms, determining parameters of an optoelectronic conversion function that matches the corresponding pixel values, and color matching the second image to the first image by applying the optoelectronic conversion function with the determined parameters to the second image.
摘要:
A method for creating a 360 degree panoramic image from multiple images includes (1) computing a gross rotation error ΔR between a first image and a calculated first image rotated to be stitched to a last image, and (2) spreading the gross rotation error ΔR to each pixel on the panoramic image. Spreading the gross rotation error ΔR includes (1) computing a rotation angle θ0 and rotational axis n0 from the gross rotational error ΔR, (2) determining an angle α of each pixel, and (3) determining a compensation matrix Rc for each pixel using the following formula: Rc(α)=R(α/2πθ0). Spreading the gross rotation error ΔR further includes (4) tracing a pixel on the panoramic image to a camera optical center of the images to form a first ray, (5) determining a second ray originating from the camera optical center that would be rotated by the compensation matrix Rc to coincide with the first ray, (6) tracing the second ray to a second pixel on one of the images, and (7) painting the first pixel with color values of the second pixel.
摘要:
A method of automatic photographs stitching in a photograph capturing electronic apparatus by capturing a photograph; on a viewfinder or display screen of said photograph capturing electronic apparatus, displaying at least one four-way guiding arrow for advising user the direction to move the photograph capturing electronic apparatus for capturing the next photograph which is suitable for stitching, the next suitable photograph having at a predetermined region, an area overlapped and aligned to the captured photograph with the overlapped and aligned area reaching a predetermined proportion; capturing the next suitable photograph; and stitching the consecutively captured photographs into a panoramic photograph.
摘要:
A method for merging first and second images includes determining a pixel difference image from the first and the second images, determining first and second locations of the foreground subject from the pixel difference image, determining a minimum path of values from the pixel difference image for a region between the first and the second locations of the foreground subject, forming a merged image by stitching the first and the second images along the minimum path, and adjusting pixels of the merged image within a width of the minimum path.
摘要:
A method for color matching a first image and a second image, wherein a first region of the first image and a second region of the second image overlap, includes removing overlapping pixels in the first and the second regions that have pixel values are too different, generating a first histogram of the first region, generating a second histogram of the second region, determining corresponding pixel values in the first and the second histograms, determining parameters of an optoelectronic conversion function that matches the corresponding pixel values, and color matching the second image to the first image by applying the optoelectronic conversion function with the determined parameters to the second image.
摘要:
A method for merging first and second images includes determining a pixel difference image from the first and the second images, determining first and second locations of the foreground subject from the pixel difference image, determining a minimum path of values from the pixel difference image for a region between the first and the second locations of the foreground subject, forming a merged image by stitching the first and the second images along the minimum path, and adjusting pixels of the merged image within a width of the minimum path.