Aidan Mala

IT professional

Computer Vision: Geometric Image Warping and DLT-Based Stitching

Not my photo

The following task, stitch the two following images together. How hard could it be?

The approach that is going to be used in this post is to estimate a 3×3 homography matrix using the Direct Linear Transform (DLT) algorithm.

[xCwyCww]=[h11h12h13h21h22h23h31h32h33][xRyR1]\left[ \begin{matrix} x^C w \\ y^C w \\ w \end{matrix} \right] = \left[ \begin{matrix} h_{11} & h_{12} & h_{13} \\ h_{21} & h_{22} & h_{23} \\ h_{31} & h_{32} & h_{33} \end{matrix} \right] \left[ \begin{matrix} x^R \\ y^R \\ 1 \end{matrix} \right]

We then detect the SIFT features

Using the resulting homography matrix, we can stitch the two images together