Class VisOdomMonoDepthPnP<T extends ImageBase<T>>

All Implemented Interfaces:

public class VisOdomMonoDepthPnP<T extends ImageBase<T>>
extends VisOdomBundlePnPBase<VisOdomMonoDepthPnP.Track>
Full 6-DOF visual odometry where a ranging device is assumed for pixels in the primary view and the motion is estimated using a Estimate1ofPnP. Range is usually estimated using stereo cameras, structured light or time of flight sensors. New features are added and removed as needed. Features are removed if they are not part of the inlier feature set for some number of consecutive frames. New features are detected and added if the inlier set falls below a threshold or every turn. Non-linear refinement is optional and appears to provide a very modest improvement in performance. It is recommended that motion is estimated using a P3P algorithm, which is the minimal case. Adding features every frame can be computationally expensive, but having too few features being tracked will degrade accuracy. The algorithm was designed to minimize magic numbers and to be insensitive to small changes in their values. Due to the level of abstraction, it can't take full advantage of the sensors used to estimate 3D feature locations. For example if a stereo camera is used then 3-view geometry can't be used to improve performance.
  • Constructor Details

    • VisOdomMonoDepthPnP

      public VisOdomMonoDepthPnP​(ModelMatcher<Se3_F64,​Point2D3D> motionEstimator, ImagePixelTo3D pixelTo3D, @Nullable @Nullable RefinePnP refine, PointTracker<T> tracker)
      Configures magic numbers and estimation algorithms.
      motionEstimator - PnP motion estimator. P3P algorithm is recommended/
      pixelTo3D - Computes the 3D location of pixels.
      refine - Optional algorithm for refining the pose estimate. Can be null.
      tracker - Point feature tracker.
  • Method Details