|
Algorithm 1 Stitching two images. |
Input: a target image and a reference image . Output: a stitched image.
-
1:
Match point and line features between and to obtain and via feature correspondences increase.
-
2:
Calculate a global homography and a global similarity matrix via dual-feature.
-
3:
Calculate a hybrid warp by Equation (18) and Equation (19).
-
4:
Calculate and from by Equation (16) and Equation (17).
-
5:
Detecting salient line segments in the non-overlapping region to obtain .
-
6:
Merge collinear local line segments into global lines .
-
7:
Uniformly sample ,,,.
-
8:
Solve via minimizing the total energy term in Equation (26).
-
9:
Warp via the bilinear interpolation on the basis of .
-
10:
Stitching the warped with via linear blending or seam-cutting blending.
|