An official website of the United States government
Here's how you know
Official websites use .gov
A
.gov website belongs to an official
government organization in the United States.
Secure .gov websites use HTTPS
A lock (
) or https:// means you've safely
connected to the .gov website. Share sensitive
information only on official, secure websites.
Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Require: Video , , and from right, left, and back cameras with regions of interest , , and .
Ensure: (angular velocity), (linear velocity).
Procedure:
1.
Let and acquire the first frame of in gray scale, ;
2.
For each subsequent frame of input video, :
(a)
Acquire frame in gray scale.
(b)
Detect sub-pixel accurate corners in for frame to obtain feature set .
(c)
Calculate optical flow for , , and to obtain corresponding sparse feature set using Lucas-Kanade.
(d)
Remove keypoints without correspondences from and .
(e)
Project and from the image plane to the ground plane to obtain and using the camera calibration information ( matrix) determined according to the method described in Section 3.1.
(f)
Combine point set and , , separately to obtain ground point sets and .
(g)
Remove outliers from and using RANSAC to obtain consistent ground plane point sets and .
(h)
Compute rotation matrix and translation vector using and .
(i)
Compute the rotational velocity and linear velocity using and .