Skip to content

homography estimation, forward and backward warping, marker-based planar AR, Panorama

Notifications You must be signed in to change notification settings

Spheluo/Projective-Geometry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Projective-Geometry

homography estimation, forward and backward warping, marker-based planar AR, Panorama

part 1. Homography Estimation

Implements forward warping to warp images into canvas with part1.py. The DLT method is based on singular value decomposition (SVD). Familiar DLT (direct linear transform) estimation method is as follows:

截圖 2023-01-20 下午12 14 22 times 截圖 2023-01-20 下午12 14 57 output1

$ python3 part1.py

part 2. Marker-Based Planar AR

Familiar with off-the-shelf ArUco marker detection tool and practice backward warping with part2.py

$ python3 part2.py

part 3. Unwarp the secret

What can go wrong with practical homography?

截圖 2023-01-20 下午12 04 30

$ python3 part3.py

part 4. Panorama

Practice panorama stitching with ORB feature detector, brute-force matching with ORB Descriptors, and RANSAC for selecting best homography.

output4 $ python3 part4.py