|
OpenCV for Unity 3.0.5
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/5.0/index.html ) for the details of the argument of the method.
|
Monocular visual odometry pipeline. More...
Public Member Functions | |
| IntPtr | getNativeObjAddr () |
| int | getNumKeyframes () |
| int | getNumMapPoints () |
| OdometryParams | getParams () |
| bool | processFrame (Mat image) |
| Feed one image. Returns true if a pose was emitted. | |
| void | reset () |
| Reset to NOT_INITIALIZED, clearing map and trajectory. | |
| void | setParams (OdometryParams _params) |
Public Member Functions inherited from OpenCVForUnity.DisposableObject | |
| void | Dispose () |
| Releases resources used by this object. | |
| void | ThrowIfDisposed () |
| Throws ObjectDisposedException if this object has been disposed. | |
Static Public Member Functions | |
| static VisualOdometry | __fromPtr__ (IntPtr addr) |
| static VisualOdometry | create (Feature2D detector, DescriptorMatcher matcher, Mat cameraMatrix) |
| static VisualOdometry | create (Feature2D detector, DescriptorMatcher matcher, Mat cameraMatrix, Mat distCoeffs) |
| static VisualOdometry | create (Feature2D detector, DescriptorMatcher matcher, Mat cameraMatrix, Mat distCoeffs, OdometryParams _params) |
Static Public Member Functions inherited from OpenCVForUnity.DisposableObject | |
| static IntPtr | ThrowIfNullIntPtr (IntPtr ptr) |
| Returns the native pointer, or throws CoreModule.CvException if it is zero. | |
Protected Member Functions | |
| override void | Dispose (bool disposing) |
Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject | |
| DisposableOpenCVObject () | |
| Initializes a new instance with a zero native pointer and dispose enabled. | |
| DisposableOpenCVObject (bool isEnabledDispose) | |
| Initializes a new instance with a zero native pointer. | |
| DisposableOpenCVObject (IntPtr ptr) | |
| Initializes a new instance with the specified native pointer and dispose enabled. | |
| DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose) | |
| Initializes a new instance with the specified native pointer. | |
Protected Member Functions inherited from OpenCVForUnity.DisposableObject | |
| DisposableObject () | |
| Initializes a new instance with dispose enabled. | |
| DisposableObject (bool isEnabledDispose) | |
| Initializes a new instance. | |
Additional Inherited Members | |
Package Attributes inherited from OpenCVForUnity.DisposableOpenCVObject | |
Properties inherited from OpenCVForUnity.DisposableObject | |
| bool | IsDisposed [get, protected set] |
| bool | IsEnabledDispose [get, set] |
Monocular visual odometry pipeline.
State machine: NOT_INITIALIZED → INITIALIZING (H/F two-view bootstrap) → TRACKING (per-frame PnP + local-map refinement). Tracking failure rewinds to INITIALIZING.
Purely in-memory: feed images with processFrame and read back the trajectory and map with getTrajectory / getMap. See samples/slam for driving this from a directory of images and writing the result to disk (e.g. COLMAP format).
|
static |
|
static |
|
static |
|
static |
|
protectedvirtual |
Reimplemented from OpenCVForUnity.DisposableOpenCVObject.
| IntPtr OpenCVForUnity.PtcloudModule.VisualOdometry.getNativeObjAddr | ( | ) |
| int OpenCVForUnity.PtcloudModule.VisualOdometry.getNumKeyframes | ( | ) |
| int OpenCVForUnity.PtcloudModule.VisualOdometry.getNumMapPoints | ( | ) |
| OdometryParams OpenCVForUnity.PtcloudModule.VisualOdometry.getParams | ( | ) |
| bool OpenCVForUnity.PtcloudModule.VisualOdometry.processFrame | ( | Mat | image | ) |
Feed one image. Returns true if a pose was emitted.
| void OpenCVForUnity.PtcloudModule.VisualOdometry.reset | ( | ) |
Reset to NOT_INITIALIZED, clearing map and trajectory.
| void OpenCVForUnity.PtcloudModule.VisualOdometry.setParams | ( | OdometryParams | _params | ) |