1. Field of the Invention
Embodiments of the present invention generally relate to a method and apparatus for optimal seam for surround view synthesis.
2. Description of the Related Art
In a canonical surround view camera system, there is a geometric alignment module that corrects the lens distortion and applies perspective transform to bring all views to a common bird-eye perspective. There is also a photometric alignment module that corrects the brightness and color difference between the views. Selecting a seam that cuts through each view overlapping region, the corrected views are stitched together to generate the composite image. Since the perspective transform is based on the flat assumption of the ground plane, the two views do not coincide on non-planar objects in their overlapping region, as shown in
Therefore, there is a need for a method and/or apparatus for correcting the seam in surround view camera system.
Embodiments of the present invention relate to a method, apparatus and a surround view camera system for determining the optimal seem for a surround view camera system. The method includes determining the corrected side view image at bird-eye perspective, generating a cost map for overlapping region, finding a minimum cost seam for each overlapping region, computing weight based on distance to the seam, if blending of the pixel, and blending the pixel, synthesizing composite view, and generating a composite view image.
So that the manner in which the above recited features of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be bad by reference to embodiments, some of which are illustrated in the appended drawings. It is to be noted, however, that the appended drawings illustrate only typical embodiments of this invention and are therefore not to be considered limiting of its scope, for the invention may admit to other equally effective embodiments.
The objective herein is to find a seam that cut through each view's overlapping region in such a way that difference between two views along the seam is minimized. In one embodiment, the cost map for each overlapping region is generated by computing the absolute difference of local block average between two views. The block-wise operation serves two advantages: 1. Downscale the problem by the size of block; 2. Avoid noisy pixel level comparison and turn to compare local statistics instead. As such, a valid or desirable seam exists in the overlapping region of two views. It is the boundary where two adjacent views meal in the composite image.
One practical concern is that shortest path is usually very sensitive to value change in the cost map. To stabilize the shortest path result, especially for real time testing, a constraint is sat to where the shortest path can only evolve from the starting point toward the boundary and restrict a backward shift. As an example, the shortest path on the upper right overlapping region usually evolves in three directions: right, up, and upper-right. Such a constraint on the shortest path solves the problem by dynamic programming.
While the foregoing is directed to embodiments of the present invention, other and further embodiments of the invention may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow.
This application claims priority from U.S. Provisional Patent Application No. 61/905,625 filed on Nov. 18, 2013, which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
61905625 | Nov 2013 | US |