Class VisualOdometry
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Estimates camera motion and builds a sparse map from a sequence of monocular images.
public sealed class VisualOdometry : CvObject, IDisposable
- Inheritance
-
VisualOdometry
- Implements
- Inherited Members
Properties
- KeyframeCount
Gets the current number of keyframes in the map.
- MapPointCount
Gets the current number of points in the map.
- Parameters
Gets or sets the parameters used by the pipeline.
- State
Gets the current pipeline state.
Methods
- Create(Feature2D, DescriptorMatcher, InputArray, InputArray, VisualOdometryParams?)
Creates a monocular visual odometry pipeline.
- GetLastPose(OutputArray)
Copies the most recent camera pose into a 4-by-4 CV_64F matrix.
- GetTrajectory()
Returns the trajectory as independent 4-by-4 CV_64F matrices. Dispose each returned matrix after use.
- ProcessFrame(InputArray)
Feeds an image to the pipeline.
- Reset()
Clears the map and trajectory and returns the pipeline to its initial state.