Ask Your Question
2

On Visual odometry

asked 2013-02-13 16:11:19 -0600

Dawei Jiang gravatar image

I am trying to estimate my stereo camera's position and posture from successive frames. I want to match corresponding feature points in both left and right image and get real 3d information of matched feature points. Then track the point through frames to estimate camera movement. Anybody can shall me any relevant opencv functions or experience on this topic? Thanks!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-02-14 01:26:02 -0600

This page shows OpenCV functionalities for stereo. See also the sample in cpp stereo_match.cpp or python2/stereo_match.py (more simple and readable to start, it also creates a 3D mesh viewable by MeshLab).

These examples compute the disparity map. To track your interesting points, you need to perform tracking on both images (right and left), rectify images and find points association (using epipolar geometry). After you need the "original" 3D position of points to compute the calibration step.

If you want to calibrate your stereo system, you probably should use a chessboard pattern and use OpenCV function here to calibrate and findChessbordCorner for a chessboard or findCircleGrid. See samples in cpp/tutorial_code/calib3d and the related pages on wiki.

If you want to track your interesting points in 3D. Perform the calibration step, compute your points in both images and use the association and disparity map to get the 3D position estimation.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-02-13 16:11:19 -0600

Seen: 2,376 times

Last updated: Feb 14 '13