Method Create
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Create(Feature2D, DescriptorMatcher, InputArray, InputArray, VisualOdometryParams?)
Creates a monocular visual odometry pipeline.
public static VisualOdometry Create(Feature2D detector, DescriptorMatcher matcher, InputArray cameraMatrix, InputArray distCoeffs = default, VisualOdometryParams? parameters = null)
Parameters
detectorFeature2DFeature detector and descriptor extractor.
matcherDescriptorMatcherMatcher compatible with the detector's descriptors.
cameraMatrixInputArrayCamera intrinsic matrix.
distCoeffsInputArrayOptional camera distortion coefficients.
parametersVisualOdometryParams?Optional parameters. The default OpenCV parameters are used if omitted.
Returns
Remarks
The pipeline keeps the native detector and matcher alive until it is disposed.