How adityasaini06/vo_project works
This is a C monocular visual-odometry program: it takes two grayscale PGM frames and camera intrinsics, then estimates and prints relative rotation and translation. The principal workflow is wired in main.c: image loading, corner detection and suppression, BRIEF description and matching, point normalization, robust essential-matrix estimation, pose recovery, and a sanity check. Match visualization is also produced. The README documents these capabilities; the graph’s implementation links are based on the shown main.c and source excerpts, not an inspection of unsampled files.
Main entry points: main.c Pair pipeline · matcher.c Match visualization · geometry.c Essential estimation · detector.c FAST detection
Components 18
Pipeline orchestration
- Pair pipeline
main.c - Pose report
main.c
Feature extraction
- FAST detection
src/detector.c - Keypoint NMS
src/detector.c - BRIEF descriptors
src/matcher.c - Feature matching
src/matcher.c - Match visualization
src/matcher.c
Geometric estimation
- Intrinsics parser
src/geometry.c - Point normalization
src/geometry.c - Essential estimation
src/geometry.c - RANSAC consensus
src/geometry.c - Pose recovery
src/geometry.c - Pose sanity check
src/geometry.c
Image handling
- PGM image I/O
src/image.c - Line drawing
src/image.c
Other components
- User
- Camera intrinsics
camera.txt - LAPACK SVD
Connections 17
- User → Pair pipeline: provides frames
README.md - Pair pipeline → PGM image I/O: loads frames
main.c - Pair pipeline → Intrinsics parser: loads calibration
main.c - Pair pipeline → FAST detection: detects corners
main.c - Pair pipeline → Keypoint NMS: suppresses points
main.c - Pair pipeline → BRIEF descriptors: computes descriptors
main.c - Pair pipeline → Feature matching: matches features
main.c - Pair pipeline → Match visualization: saves visualization
main.c - Pair pipeline → Point normalization: normalizes points
main.c - Pair pipeline → RANSAC consensus: estimates consensus
main.c - RANSAC consensus → Essential estimation: fits candidates
src/geometry.c - Pair pipeline → Pose recovery: recovers pose
main.c - Pair pipeline → Pose sanity check: checks pose
main.c - Pair pipeline → Pose report: prints pose
main.c - Match visualization → Line drawing: draws matches
src/matcher.c - Essential estimation → LAPACK SVD: calls SVD
src/geometry.c - Pose recovery → LAPACK SVD: calls SVD
src/geometry.c