A method and system of merging a pair of images to form a seamless panoramic image including the following steps. A set of feature points are extracted along the edges of the images, each feature point defining an edge orientation. A set of registration parameters is obtained by determining an initial set of feature points from a first one of the images which matches a set of feature points of a second one of the images. A seamless panoramic image is rendered using the first and second images with the set of registration parameters.

Patent
   RE43206
Priority
Feb 04 2000
Filed
Sep 28 2006
Issued
Feb 21 2012
Expiry
Feb 04 2020
Assg.orig
Entity
Large
3
26
all paid
1. A method of merging a different pair of images to form a seamless panoramic image comprising:
extracting a set of feature points along the edges of the images, each feature point defining an edge orientations orientation, wherein extracting the set of feature points along the edges of the images includes applying wavelet transforms to the images;
obtaining a set of registration parameters by determining an initial set of feature points from a first one of the images which matches a set of feature points of a second one of the images; and
rendering a seamless panoramic image using the first and second images with the set of registration parameters.
0. 8. An apparatus for merging a different pair of images to form a seamless panoramic image comprising:
means for extracting a set of feature points along the edges of the images, one or more feature point defining an edge orientations, wherein said means for extracting the set of feature points along the edges of the images includes means for applying wavelet transforms to the images;
means for obtaining a set of registration parameters by determining an initial set of feature points from a first one of the images which matches a set of feature points of a second one of the images; and
means for rendering a seamless panoramic image using the first and second images with the set of registration parameters.
0. 18. A system for merging a pair of images to form a panoramic image comprising:
a memory capable of storing one or more images acquired from an image device; and
at least one processor coupled to said memory, said processor being capable of:
extracting a set of feature points along the edges of the images by applying wavelet formations to the images, one or more feature point defining an edge of orientation;
obtaining a set of registration parameters by determining an initial set of feature points from a first one of the images which matches a set of feature points of a second one of the images; and
rendering a seamless panoramic image using the first and second images with the set of registration parameters.
6. A system for merging a pair of images to form a panoramic image comprising:
an image device which, in operation, acquires a series of the images;
a storage for storing the series of images:
a memory which stores computer code; and
at least one processor which executes the computer code to:
extract different sets of feature points along the edges of each input image, each feature point defining an edge orientation;
extract a set of feature points along the edges of the images by applying wavelet formations to the images, each feature point defining an edge of orientation;
obtain a set of registration parameters by determining an initial set of feature points from a first one of the images which matches a set of feature points of a second one of the images; and
render a seamless panoramic image using the first and second images with the set of registration parameters.
0. 13. An article of manufacture comprising a storage medium having instructions stored thereon that, if executed, result in merging of a different pair of images to form a seamless panoramic image by:
extracting a set of feature points along the edges of the images, each feature point defining an edge orientations, wherein extracting the set of feature points along the edges of the images includes applying wavelet transforms to the images;
obtaining a set of registration parameters by determining an initial set of feature points from a first one of the images which matches a set of feature points of a second one of the images; and
rendering a seamless panoramic image using the first and second images with the set of registration parameters.
2. The method of claim 1, wherein determining the initial set of matching pairs feature points includes a relaxation technique, including the steps of:
calculating the edge orientation of each feature point;
comparing the an orientation difference between the matching pair;
calculating the a value of correlation of the matching pair; and
comparing the value of correlation with a predefined threshold.
3. The method of claim 1, wherein extracting the set of feature points, includes:
calculating an edge correlation for each image;
locating the a feature point whose edge response is the a maxima within a window;
comparing the maxima with a predefined threshold.
4. The method of claim 1, wherein obtaining the set of reliable registration parameters, comprises:
determining an initial set of matching pairs for registration;
calculating a quality value for the initial set of matching pairs;
updating the matching result according to the quality value of the match;
imposing an angle consistency constraint to filter out impossible matches; and
using a voting technique to obtain the registration parameters.
5. The method of claims 1, wherein rendering the seamless panoramic image comprises:
dynamically adjusting the intensity differences between adjacent images; and
properly blending the an intensity difference between consecutive images.
7. The system of claim 6, wherein the processor extracts the set of feature points, including:
calculating an edge correlation for each image;
locating the a feature point whose edge response is the a maxima within a window;
comparing the maxima with a predefined threshold.
0. 9. An apparatus as claimed in claim 8, wherein said obtaining means for obtaining a set of registration parameters by determining an initial set of feature points comprises:
means for calculating the edge orientation of one or more feature points;
means for comparing the orientation difference between the matching pair;
means for calculating the value of correlation of the matching pair; and
means for comparing the value of correlation with a predefined threshold.
0. 10. An apparatus as claimed in claim 8, wherein said obtaining means comprises:
means for calculating an edge correlation for one or more images;
means for locating the feature point whose edge response is a maxima within a window; and
means for comparing the maxima with a predefined threshold.
0. 11. An apparatus as claimed in claim 8, wherein said obtaining means comprises:
means for determining an initial set of matching pairs for registration;
means for calculating a quality value for the initial set of matching pairs;
means for updating the matching result according to the quality value of the match;
means for imposing an angle consistency constraint to filter out impossible matches; and
means for using a voting technique to obtain the registration parameters.
0. 12. An apparatus as claimed in claims 8, wherein said rendering comprises:
means for dynamically adjusting the intensity differences between adjacent images; and
means for properly blending the intensity difference between consecutive images.
0. 14. An article of manufacture as claimed in claim 13, wherein the instructions, if executed, further result in merging of a different pair of images to form a seamless panoramic image by:
calculating the edge orientation of one or more feature points;
comparing the orientation difference between the matching pair;
calculating the value of correlation of the matching pair; and
comparing the value of correlation with a predefined threshold.
0. 15. An article of manufacture as claimed in claim 13, wherein the instructions, if executed, further result in merging of a different pair of images to form a seamless panoramic image by:
calculating an edge correlation for each image;
locating the feature point whose edge response is a maxima within a window; and
comparing the maxima with a predefined threshold.
0. 16. An article of manufacture as claimed in claim 13, wherein the instructions, if executed, further result in merging of a different pair of images to form a seamless panoramic image by:
determining an initial set of matching pairs for registration;
calculating a quality value for the initial set of matching pairs;
updating the matching result according to the quality value of the match;
imposing an angle consistency constraint to filter out impossible matches; and
using a voting technique to obtain the registration parameters.
0. 17. An article of manufacture as claimed in claims 13, wherein the instructions, if executed, further result in merging of a different pair of images to form a seamless panoramic image by:
dynamically adjusting the intensity differences between adjacent images; and
properly blending the intensity difference between consecutive images.
0. 19. The system as claimed in claim 18, wherein said processor is further capable of:
calculating an edge correlation for each image;
locating the feature point whose edge response is a maxima within a window; and
comparing the maxima with a predefined threshold.
0. 20. The system as claimed in claim 18, wherein said processor is further capable of:
determining an initial set of matching pairs for registration;
calculating a quality value for the initial set of matching pairs;
updating the matching result according to the quality value of the match;
imposing an angle consistency constraint to filter out impossible matches; and
using a voting technique to obtain the registration parameters.

The present invention relates to an apparatus, algorithm, and method for stitching different pieces of images of a scene into a panoramic environment map.

The most common way to electronically represent the real world is with image data. Unlike traditional graph-based systems, there are systems which use panoramic images to construct a virtual world. The major advantage of a system which uses panoramic images is that very vivid and photo-realistic rendering results can be obtained even when using PCs. In addition, the cost of constructing the virtual world is independent of scene complexity. In such systems, panoramic images are stitched together into a panoramic map from several individual images which are acquired by rotating a camera horizontally or vertically. This panoramic map can be used in different applications such as movie special effects, the creation of virtual reality, or games. A typical problem is how to stitch the different pieces of a scene into a larger picture or map. One approach to address this problem is to manually establish correspondences between images to solve unknown parameters of their relative transformation. Because manual methods are tedious for large applications, automatic schemes are preferably used for generating a seamless panoramic image from different pieces of images.

One proposed approach uses a nonlinear minimization algorithm for automatically stitching panoramic images by minimizing the discrepancy in intensities between images. This approach has the advantage of not requiring easily identifiable features. However, this technique does not guarantee finding the global minimum if the selection of starting points is not proper. Further because the optimization process is time-consuming, the approach is inefficient. In this invention, the domain of images under consideration is panoramic images.

The invention allows users to generate panoramic images from a sequence of images acquired by a camera rotated about its optical center. In general, the invention combines feature extraction, correlation, and relaxation techniques to get a number of reliable and robust matching pairs used to derive registration parameters. Based on the obtained registration parameters, different pieces of consecutive images can-be stitched together to obtain a seamless panoramic image.

In a first aspect, a method of merging a pair of images to form a seamless panoramic image includes the following steps. A set of feature points along the edges of the images is extracted, each feature point defining an edge orientation. A set of registration parameters is obtained by determining an initial set of feature points from a first one of the images which matches a set of feature points of a second one of the images. A seamless panoramic image is rendered using the first and second images with the set of registration parameters.

The invention provides a feature-based approach for automatically stitching panoramic images acquired by a rotated camera and obtaining a set of matching pairs from a set of feature points for registration. Since the feature points are extracted along the edges, each feature point specifies an edge orientation. Because the orientation difference between two panoramic images is relatively small, the difference between edge orientations of two feature points is also small if they are good matches. Based on this assumption, edge information of feature points can be used to eliminate in advance many false matches by checking their orientation difference. Moreover, many unnecessary calculations involving cross-correlation can be screened in advance, thereby significantly reducing the search time needed for obtaining correct matching pairs. After checking, by calculating the value of correlation of the remaining matching pairs, a set of possible matches can be selected with a predefined threshold. The set of possible matches are further verified through a relaxation scheme by calculating the quality of their matches. Once all of the correct matching pairs are found, they are then used to derive registration parameters. In this invention, an iterative scheme is applied to increase the reliability in providing matching results. Since only three iteration or fewer are needed and only a few feature points are involved in the matching pairs, the whole procedure can be accomplished very efficiently. Also, as discussed above, because the orientation difference of two feature points is checked in advance (before matching). Many calculations involving cross-correlation are not required and the efficiency of stitching is significantly improved. Compared with conventional algorithms, the proposed scheme offers improved efficiency and reliability for stitching images.

Embodiments of this aspect of the invention may include one or more of the following features. In one embodiment, a set of feature points are first extracted through wavelet formations. Among other advantages, the invention uses wavelet transforms to obtain a number of feature points with edge orientations. Such edge information can speed up the entire registration process by eliminating many impossible matches in advance and avoiding many unnecessary calculations of correlation. The method determines a number of reliable and robust matching pairs through relaxation. The method also measures the quality of a matching pair, imposes angle consistency constraint for improving the robustness of registration, and uses a voting concept to get the desired solution from the set of final matching results.

In other embodiments, the method forms the final panoramic image with the help of the registration results. In particular, the method adjusts the intensity differences between consecutive input images and blends the intensities of adjacent images to obtain a seamless panoramic image. The final panoramic images can then be used to build a virtual world.

Still other embodiments may include one or more of the following features:

For example, the method selects a number of feature points through wavelet transforms. Each feature point is associated with an edge orientation so that the speed of the registration process is increased.

The method uses an angle constraint to construct a set of matching pairs, which are used to obtain reliable matching results through a relaxation and a voting technique. The set of matching results are then used to form the final seamless panoramic image.

Constructing an initial set of matching pairs for registration includes comparing the edge orientation differences of feature points in one image and its corresponding feature points in another, calculating the values of correlation of each possible matching pair, and thresholding them with a predefined threshold.

Getting reliable matching results through relaxation and a voting technique includes calculating the quality of a matching pair, imposing angle consistency constraint to filter out impossible matching pairs, updating matching results through relaxation, and using the voting technique to obtain the reliable registration parameters. In addition, it refines the final registration results by using the correlation technique with a proper starting point.

Forming the final panoramic images includes dynamically adjusting and properly blending the intensity differences between adjacent images.

In another aspect, the invention features a system for merging pairs of images to form a panoramic image. The system includes an imaging device which, in operation, acquires a series of images, a storage for storing a series of images, a memory which stores computer code, and at least one processor which executes computer code to extract a set of feature points along the edges of the images, each feature point defining an edge orientation and to obtain a set of registration parameters by determining an initial set of feature points from a first one of the images which matches a set of feature points of a second one of the images, and to render a seamless panoramic image using the first and second images with the set of registration parameters.

Other advantages and features of the invention will become apparent from the following description, including the claims and the drawings.

FIG. 1 illustrates an approach for generating a virtual panoramic world.

FIG. 2 shows the geometry for cylindrical mapping.

FIG. 3 is a flowchart illustrating the steps used to extract feature points from images using wavelet transform.

FIG. 4 is a flowchart illustrating the steps used to obtain an initial set of matches using edge orientations and correlation values.

FIG. 5 is a flowchart illustrating the relaxation procedure used to obtain a set of reliable matching pairs.

FIG. 6 illustrates adjusting intensities of Ia and Ib such that their intensity differences are small.

FIG. 7 illustrates an example for a blending technique.

FIG. 8 shows an architecture for implementing the present invention.

FIG. 9 shows a series of input images for stitching.

FIG. 10 shows the stitching result obtained by the proposed stitcher.

FIG. 11 shows images used to demonstrate the ghost-like effect.

FIG. 12 shows how the ghostlike effect is removed: (a) with a wider blending width and (b) with a narrower blending width.

Referring first to the flow diagram of FIG. 1, a method of the general steps of generating a seamless panoramic image from different pieces of an image is shown.

In general, it is difficult to seamlessly stitch two adjacent images together to form a panoramic image due to perspective distortion introduced by a camera. To remove the effects of this distortion, these images are preferably reprojected onto a simple geometry, e.g., a cube, a cylinder, or a sphere. In many applications, a cylindrical geometry is preferable since its associated geometrical transformation is simple. In this example, the cylindrical geometry is used. FIG. 2 illustrates the relationship between the cylindrical surface ▭pqrs and film plane ▭PQRS of the camera. Note that the plane ▭PQRS is tangent to the cylindrical surface ▭pqrs. Let O denote the optical center, C the center of image plane, f the focal length and r the radius of the cylinder. Further, assume that P(x, y) is a pixel in the image plane and p(u, v) is its corresponding pixel in the cylindrical map. Using FIG. 2, the coordinates of p (u, v) can be obtained as follows:

u = r∠C OB = r tan - 1 CB _ OC _ = r tan - 1 x f , ( 1 )
and

v = r PB _ OB _ = r x x 2 + f 2 . ( 2 )
Moreover, since the radius r is equal to f, Equations (1) and (2) can be rewritten as follows:
u=f tan−1x/f
and

v = f x x 2 + f 2 . ( 4 )
Based on Eqs. (3) and (4), input images are provided and then (step 10) warped into a cylindrical map for further registration to construct a complete panoramic scene (step 11).

Referring again to FIG. 1 and FIG. 3, once the input images have been warped, useful features required for registration are extracted (step 12). This process advantageously uses a wavelet transform for feature extraction (step 31). In particular, all of the feature points are detected along the edges. First, let S(x, y) be a 2-D smoothing function. Two wavelets, ψ1(x, y) and ψ2(x, y) are the partial derivatives of the smoothing function S(x,y) in the x and y directions, respectively, where

ψ 1 ( x , y ) = S ( x , y ) x
and

ψ 2 ( x , y ) = S ( x , y ) y .
Let

ψ 2 j 1 = 1 4 j ψ 1 ( x 2 j , y 2 j )
and

ψ 2 j 2 = 1 4 j ψ 2 ( x 2 j , y 2 j ) ,
At each scale 2j, the 2-D wavelet transform of a function I(x,y) in L2(R2) can be decomposed into two independent directions as follows:
W2j1I(x, y)=I*ψ2j1(x, y) and W2j2I(x, y)=I*ψ2j2(x, y).
Basically, these two components are equivalent to the gradients of I(x,y) smoothed by S(x,y) at scale 2j in the x and y directions. At a specific scale s=2i, the modulus of the gradient vector of f(x,y) can be calculated as follows:
M2jI(x, y)=√{square root over (|W12jI(x, y)|2+|W22jI(x,y)|2)}{square root over (|W12jI(x, y)|2+|W22jI(x,y)|2)}.
If the local maximum of M2jI(x, y) are located and thresholded with a preset value, then the edge points of I(x,y) at scale 2j can be detected. Since we are interested in specific feature points for scene registration, additional constraints have to be introduced. In general, noise is the main cause of false detection of edge points. In order to suppress the effect of noise, a criterion called edge correlation is introduced (step 32):

R n ( j , x , y ) = n - 1 i = 0 M 2 j + 1 I ( x , y ) ,
where n is a positive integer indicating the number of scales involved in the multiplication, and j represents the initial scale for edge correlation. Rn reveals a peak whenever a true edge exists and is suppressed by the multiplication process if a point at location (x,y) is not a true edge. Thus, using the relationship for Rn(j, x, y) above, the noise in an image can be suppressed while the true edges can be retained. In one embodiment of the invention, the number of scales for multiplication is chosen to be 2. In order to conserve the energy level, Rn(j, x, y) should be normalized as follows:

R _ n ( j , x , y ) = R n ( j , x , y ) MP ( j ) RP n ( j ) ,
where

MP ( j ) = x , y M 2 j I ( x , y ) 2
and

RP n ( j ) = x , y R n ( j , x , y ) 2 .
During the feature point selection process, an edge point is recognized as a candidate if its corresponding normalized edge correlation R2(j, x, y) is larger than its corresponding modulus value. Basically, the above mentioned process is equivalent to detecting an edge point with the strongest edge response in a local area. The three conditions which will be used to judge whether a point P(x,y) is a feature point or not are as follows:

M 2 j I ( x , y ) = max ( x , y ) N p { M 2 j I ( x , y ) } ,
where Np is the neighborhood of P(x,y) (step 34).

Referring to FIGS. 3 and 4, as part of step 12 of FIG. 1, a set of feature points is extracted using wavelet transform (step 31). Let FPIa={pi=(pxi, pyi)} and FPIb={qi=(qxi, qyi)} represent two sets of feature points extracted from two partially overlapping images Ia and Ib respectively. Assume that NIa and NIb represent the number of elements in the set of points FPIa and FPIb, respectively. Let. A(u) be the angle of an edge point u. A standard method for estimating the orientation of an edge-based feature point u at scale 2j can be expressed as follows:
Arg(W2j2I(x, y)+W2j2I(x, y)).
However, the above representation can be very sensitive to noise. Therefore, an edge tracking technique plus a line-fitting model is used to solve the noise problem (step 41).

Let P be a feature point and Ne be its neighborhood. Since P is an edge point, there should exist an edge line passing through it. By considering P as a bridge point, an edge line passing through P can be determined by searching in all the directions from P. All the edge points on the edge are then used as candidates for determining the orientation of the edge line. During the searching process, the edge connection constraint and the direction consistency constraint are used to restrict the searching domain. The edge connection constraint means that if Ne contains another edge l but l does not pass P, all edge points in l will not be included in estimating the orientation of P. In certain cases, however, there will exist more than one edge line passing through P. In these cases, the first line detected is adopted to estimate the orientation. Let l1 denote this line. The direction consistency constraint means all the edge points along other edge lines whose orientations are inconsistent with l1 are not included to estimate the orientation of P. In this way, a set of edge points can be selected and then used to estimate the orientation of P using a line-fitting model. In other embodiments, other edge tracking technique can also be applied to provide a better estimation.

After the orientation is estimated, all feature points u will associate with an edge orientation A(u). For a feature point pi in the set of points FPIa and qj in the set of points FPIb, the orientation difference between them is calculated as follows (step 42):
θij=A(qj)−A(pi).
In fact, if pi and qi provide a good match, the value of θij will be small since the orientation of image Ia is similar to that of Ib. Assuming this is the case, step 14 (FIG. 1) is performed to eliminate impossible false matches in advance, avoiding many unnecessary correlation calculations.

For a feature point pi in FPIa and a feature point qj in FPIb, if they form a good match (step 44), the following condition will be satisfied:
|A(pi)−A(qi)|<10°.   Condition 1:
Adding this criterion will significantly speed up the search time. On the other hand, if pi and qi form a good match, the similarity degree between pi and qi should be larger. A cross-correlation which can be used to measure the similarity degree between pi and qj (step 46) and is defined as follows (step 32):

C ( p i ; q j ) = 1 σ i σ j ( 2 M + 1 ) 2 x , y = M x , y = - M [ I a ( x + p x i , y + p y i ) - u i ] [ I b ( x + q x i , y + q y i ) - u j ] , ( 5 )

where ui and uiuj are the local means of pi and qj, respectively, σi and σi are the local variances of pi and qj, respectively; and (2M+1)2 represents the area of matching window. Based on this correlation measure, a pair {picustom characterqj} is qualified as a possible matching pair if the following conditions are satisfied (step 33):

Condition  2:   C I a I b ( p i ; q j ) = Max q k FP I b C ( p i ; q k ) , Condition  3:   C I a I b ( p i ; q j ) = Max p k FP I a C ( p k ; q i ) ,
and
CiaIb(pi;qj)>Te, where Tc=0.65 (step 35).   Condition 4:
Condition 2 means that given a feature point pi it is desired to find a point qiεFPIb such that a the value of CIaIb(pi;qj) is maximized for all points qkεFPIb. Condition 3 means that given a feature points qi, it is desired to find a point piεFPIa such that the value of CIaIb(pi;qj) is maximized. If only Condition 2 is used, it is possible that several points pi match with single point qj. Conversely, if only Condition 3 is used, several points qj possibly will match with single point pi. As for Condition 3, it forces the value of CIaIb of a matching pair to be larger than a threshold. In a preferred implementation, the orientation constraint will be checked first. If the constraint is not satisfied, it is not necessary to check Conditions 2, 3, and 4. In this way, only a few pairs are needed to calculate the cross-correlation measure CIaIb, which is considered a time bottleneck of the whole process.

Referring to FIGS. 1 and 5, a set of reliable matching pairs is obtained through relaxation. Let MPIaIb={picustom characterqi}i=1, 2 . . . be the set of matching pairs which satisfy Conditions 1, 2, 3, and 4 above, where pi is a point in image Ia(x, y) and qi is another point in image Ib(x, y). Let NeIa(pk) and NeIb(qk) denote the neighbors of pk and qk within an area of radius R, respectively. Assume that NPpiqj={nk1custom characternk2}k=1, 2 . . . is the set of matching pairs, where nk1εNeIa(pi), nk2εNeIb(qj), and all elements of NPpiqj belong to MPIaIb. The proposed method is based on a concept that if {picustom characterqi} and {pjcustom characterqj} provide a pair of good matches, the distance between pi and pj should be similar to the one between qi and qj. Based on this assumption, we can measure the quality of a matching pair {picustom characterqi} according to how many matches {nj1custom characternj2} in NPPiqj whose distance d(pi, nj1) is similar to the distance d(qi, nj2), where d(ui, uj)=|ui−uj∥, the Euclidean distance between two points ui and uj. With this concept, the measure of the quality of a match {picustom characterqi} is defined as follows:

G I a I b ( i ) = { n k i n k 2 } NP Pi4i r ( i , k ) 1 + dist ( i , k ) , ( 6 )
where

dist ( i , k ) = [ d ( p i , n k 1 ) + d ( q i , n k 2 ) ] / 2 , r ( i , k ) = { - u ( i , k ) / T 1 if μ ( i , k ) < T 2 0 , otherwise
with the two predefined thresholds

T 1 and T 2 , and u ( i , k ) = d (p i , r k 1 ) - d ( q i , r k 2 ) dist ( i , k ) .
The contribution of a pair {nk1custom characternk2} in NPpiqi monotonically decreases based on the value of dist(i,k). Further, if the value of u(i,k) is larger than the threshold T2, the contribution of {nk1custom characternk2} is set to zero.

Referring to FIG. 5, after the quality of match of each pair {picustom characterqi} in MPIa,Ib (step 51), relative quality value of each pair is obtained to GIaIb (i) to further eliminate false matches (step 51). Now, based on the quality value of each candidate match, a relaxation technique is used to eliminate false candidates for further registration. If we define the energy function as follow:

F = p i q i | MP I a I b G I a I b ( i ) .
then the relaxation procedure can be formulated as follow:

 Iterate {
  -Compute the quality for each candidate match
  -Choose the best possible candidates for minimizing F
  according to the quality value GIaIb (i).
} until F converges.

There are several strategies for updating the matching candidates. In one application an update strategy, referred to here as “some-looser-take-nothing” is used to update the matching candidates (step 52). First, according to the quality value of GIaIb (i), we sort each element of MPIa,Ib is sorted in increasing order (step 52). Then, a predetermined percentage Q% of matches in are eliminated as the impossible matches. Thus, the remaining (100−Q%) of matches are selected as potential matches for further relaxation (step 54). In our implementation, Q is set to 25. Three iterations are generally sufficient for achieving relaxation (step 53).

On the other hand, in order to make the matching results more reliable, the method includes an “angle consistency” constraint (step 53) within the first iteration of the relaxation process to further eliminate impossible matching pairs. That is, if {picustom characterqi} and {pjcustom characterqj} are well matched, the angle between {right arrow over (pipj)} and {right arrow over (qiqj)} must be close to zero. In this case, during this first iteration, for each element {picustom characterqi} in MPIa,Ib, a counter CAi is used to record the number of matches {pkcustom characterqk} in MPIa,Ib where the angle between {right arrow over (pipk)} and {right arrow over (qiqk)} is less than a predefined threshold θ. According to the value of CAi, the elements of MPIa,Ib are sorted in increasing order. The first Q% of matches in MPIa,Ib are considered to be impossible matches.

After applying the relaxation process, a set of reliable matches is obtained. Referring to FIG. 1, the method uses a “voting” concept to derive a desired offset from the set of reliable matching pairs. For example, assume that this set is CPIa,Ib={uicustom charactervi}i=1, 2 . . . Ne, where Ne is the total number of elements in CPIa,Ib. In general, the 2-D point sets {ui} and {vi} satisfy the following relation:
vi=ui+T, for i=1,2,3 . . . , Ne,
where T is the desired solution. However, in real cases, different pairs {uicustom charactervi} will lead to different offsets Ti. Therefore, a voting technique is used to measure the quality of different solutions Ti. Let S(i) denote a counter which records the number of solutions Tk consistent with Ti. Two solutions Ti and Tk are said to be consistent if the distance between Ti and Tk is less than a predefined threshold. Since there are Ne elements in CPIa,Ib, the total number of consistency tests will be Ne(Ne−1)/2. After applying the consistency test, the offset T associated with the maximum value of S(i) is chosen as the desired solution.

Note that due to noise and image quality, the positions of feature points will not be precisely located and the accuracy of T is affected. In practical implementation, the y-component Ty of T is generally affected more then Tx. Therefore, the following method is proposed to refine and correct the solution of Ty for the y-component. Let {ucustom characterv} be the matching pair of CPIa,Ib having the highest quality value. Given point u and the offset T, the refined offset can be found by searching the local neighborhood of the point (u+ T) in another image Ih using the correlation technique. However, if there is little texture information within the local neighborhood of the point u, the above approach will not necessarily provide a satisfactory solution. Let

g x ( k ) = 5 i = 1 I a ( u x + i , k ) - I b ( u x - i , k )
be the horizontal gradient of the point (ux,k) in Ih, where ux is the x-coordinate of u. Instead of using the starting point u directly, we use another starting point ū for refining the desired offset T by searching the point ū whose a horizontal gradient gx is largest along a column of pixels with the same x-coordinate ux. Based on the starting point ū, the final offset can then be accurately obtained with the correlation technique.

In general, when stitching two adjacent images, discontinuities of intensity exist between their common areas. Therefore, step 17 of FIG. 1 is used to eliminate such intensity discontinuities. The scheme used in step 17 can be divided into two stages. The first stage is used to adjust the intensities of two adjacent images such that their intensities are similar. The second stage is used to blend their image intensities according to a distance measure such that the final composite image appears smooth. Assume Ia and Ib are two adjacent images with their widths in wa and wb, respectively. Let ΔI be the average intensity difference between the overlapping area

of Ia and Ib, that is,

ΔI = 1 A i A ( I b ( q ( i ) ) - I a ( p ( i ) ) ) , ( 7 )
where A is the overlapping area of Ia and Ib, |A| is the number of pixels in A, p(i) is a pixel in Ia, and q(i) is its corresponding pixel in Ib.

In particular, referring to FIGS. 6A and 6B, the gap of average intensity between Ia and Ib is about ΔI. According to ΔI, wa, and wb, the first stage is used to adjust the intensities of Ia and Ib as follows:

I a ( p ( x , y ) ) = I a ( p ( x , y ) ) + x Δ I 2 w 1 , ( 8 )
and

I b ( q ( x , y ) ) = I b ( q ( x , y ) ) + ( x - w 2 ) ΔI 2 w 2 . ( 9 )

After this adjusting step, the intensities of Ia and Ib in FIG. 6(a) will be gradually changed to approach the intensity line EF shown in FIG. 6(b), thereby bringing the intensities between Ia and Ib closer. As will be described below, in order to further smooth the intensity discontinuity between Ia and Ib, a blending technique is then applied.

The second stage uses a ray-casting method to blend different pixel intensities together. Referring to FIG. 7, pi is a pixel in Ia, qi is its corresponding pixel in Ih, and Ia and Ih are two boundary lines in Ia and Ih, respectively. With pi and qi, the intensity of the corresponding pixel ri in the composite image I can be obtained as follows:

I ( r i ) = d b t I a ( p i ) + d a t I b ( q i ) d a t + d b t ( 10 )
Where da is the distance between pi and Ia, dh the distance between qi and Ih, and t is an adjustable parameter. Using Equation (10), the intensities in Ia are gradually changed to approach the intensities of pixels in Ih such that the final composite image I looks very smooth. In fact, if the blending area is chosen too large, a “ghostlike” effect will occur, particularly when moving objects in the common overlapping area exist between Ia and Ib. However, since the intensities of Ia and Ib have been adjusted, the blending width can be chosen small such that the so-called ghostlike effect is significantly reduced. In one preferred embodiment, the blending width is chosen as one-third of the original width of the overlapping area.

Referring to FIG. 8, one preferred architecture for implementing the real-time stitcher apparatus, described above, includes input devices 60 (e.g., digital cameras or scanners) to acquire a series of panoramic images. Then, the panoramic images are stored into external storage 62 such as hard disks for further processing or being directly provided to one or more microprocessors 64 for stitching. The microprocessors 64 perform the stitching including warping, feature extraction, edge orientation estimation, correlation calculation, relaxation, rendering and blending the final panoramic images, etc. All the temporary data are stored in the system RAM memory to speed up stitching. Finally, the stitching result is sent to the display engine for displaying. In many applications this architecture can be implemented using a general personal computer.

Referring to FIG. 9, to analyze the performance of the real-time stitcher apparatus, described above, a series of original panoramic images 9a-9e captured by a rotated camera were provided.

Referring to FIG. 10, the stitched panoramic image obtained by our proposed method is shown. In addition, if moving objects in two adjacent images exist, the proposed method can significantly minimize ghost-like effects. FIG. 11 shows two adjacent images with moving objects. The posture of the man in (a) is clearly different from the one in (b). Besides, large intensity differences exist between them. In order to smooth such large intensity differences, the blending width should be chosen to be large. However, with a large area, the ghost-like effect will appear in the final composite image (see FIG. 12(a)). Contrary to the previous technique, with our proposed blending technique, since the intensities of input images have been adjusted before blending, the blending width can be chosen smaller. Therefore, the ghostlike effect is significantly lessened, the quality of (b) is clearly improved over the quality shown in FIG. 12(a).

Hsieh, Jun-Wei, Chiang, Cheng-Chin, Way, Der-Lor

Patent Priority Assignee Title
9047692, Dec 20 2011 GOOGLE LLC Scene scan
9076238, Aug 21 2013 Seiko Epson Corporation Intelligent weighted blending for ultrasound image stitching
9530076, Jan 14 2009 A9.COM, INC. Method and system for matching an image using normalized feature vectors
Patent Priority Assignee Title
5613013, May 13 1994 Reticula Corporation Glass patterns in image alignment and analysis
5625408, Jun 24 1993 Canon Kabushiki Kaisha Three-dimensional image recording/reconstructing method and apparatus therefor
5850352, Mar 31 1995 CALIFORNIA, THE UNIVERSITY OF, REGENTS OF, THE Immersive video, including video hypermosaicing to generate from multiple video views of a scene a three-dimensional video mosaic from which diverse virtual video scene images are synthesized, including panoramic, scene interactive and stereoscopic images
5953076, Jun 16 1995 DISNEY ENTERPRISES, INC System and method of real time insertions into video using adaptive occlusion with a synthetic reference image
5963664, Jun 22 1995 Sarnoff Corporation Method and system for image combination using a parallax-based technique
5987164, Aug 01 1997 Microsoft Technology Licensing, LLC Block adjustment method and apparatus for construction of image mosaics
6009190, Aug 01 1997 Microsoft Technology Licensing, LLC Texture map construction method and apparatus for displaying panoramic image mosaics
6011581, Nov 16 1992 Reveo, Inc. Intelligent method and system for producing and displaying stereoscopically-multiplexed images of three-dimensional objects for use in realistic stereoscopic viewing thereof in interactive virtual reality display environments
6044168, Nov 25 1996 Texas Instruments Incorporated Model based faced coding and decoding using feature detection and eigenface coding
6075905, Jul 17 1996 Sarnoff Corporation Method and apparatus for mosaic image construction
6078701, Aug 01 1997 Sarnoff Corporation Method and apparatus for performing local to global multiframe alignment to construct mosaic images
6349153, Sep 03 1997 HANGER SOLUTIONS, LLC Method and system for composition images
6393162, Jan 09 1998 Olympus Optical Co., Ltd. Image synthesizing apparatus
6393163, Nov 14 1994 SRI International Mosaic based image processing system
6411339, Oct 04 1996 Nippon Telegraph and Telphone Corporation Method of spatio-temporally integrating/managing a plurality of videos and system for embodying the same, and recording medium for recording a program for the method
6434276, Sep 30 1997 Sharp Kabushiki Kaisha Image synthesis and communication apparatus
6466262, Jun 11 1997 Hitachi, LTD Digital wide camera
6473536, Sep 18 1998 SANYO ELECTRIC CO , LTD Image synthesis method, image synthesizer, and recording medium on which image synthesis program is recorded
6486908, May 27 1998 Transpacific IP Ltd Image-based method and system for building spherical panoramas
6516099, Aug 05 1997 Canon Kabushiki Kaisha Image processing apparatus
EP249644,
EP257129,
EP415648,
TW300369,
TW350183,
TW376670,
//
Executed onAssignorAssigneeConveyanceFrameReelDoc
Sep 28 2006TransPacific IP Ltd.(assignment on the face of the patent)
Nov 24 2006Industrial Technology Research InstituteTranspacific IP LtdASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS 0255420601 pdf
Date Maintenance Fee Events
Nov 07 2014ASPN: Payor Number Assigned.
Feb 23 2016M1553: Payment of Maintenance Fee, 12th Year, Large Entity.


Date Maintenance Schedule
Feb 21 20154 years fee payment window open
Aug 21 20156 months grace period start (w surcharge)
Feb 21 2016patent expiry (for year 4)
Feb 21 20182 years to revive unintentionally abandoned end. (for year 4)
Feb 21 20198 years fee payment window open
Aug 21 20196 months grace period start (w surcharge)
Feb 21 2020patent expiry (for year 8)
Feb 21 20222 years to revive unintentionally abandoned end. (for year 8)
Feb 21 202312 years fee payment window open
Aug 21 20236 months grace period start (w surcharge)
Feb 21 2024patent expiry (for year 12)
Feb 21 20262 years to revive unintentionally abandoned end. (for year 12)