Main Content

vSLAM

Monocular, stereo, and RGB-D visual simultaneous localization and mapping (vSLAM)

Visual simultaneous localization and mapping (vSLAM), refers to the process of calculating the position and orientation of a camera, with respect to its surroundings, while simultaneously mapping the environment. The process uses only visual inputs from the camera. Applications for visual SLAM include augmented reality, robotics, and autonomous driving. For more details, see Implement Visual SLAM in MATLAB.

Functions

expand all

detectSURFFeaturesDetect SURF features
detectORBFeaturesDetect ORB keypoints
extractFeaturesExtract interest point descriptors
matchFeaturesFind matching features
matchFeaturesInRadiusFind matching features within specified radius (Since R2021a)
triangulate3-D locations of undistorted matching points in stereo images
img2world2dDetermine world coordinates of image points (Since R2022b)
world2imgProject world points into image (Since R2022b)
estgeotform2dEstimate 2-D geometric transformation from matching point pairs (Since R2022b)
estgeotform3dEstimate 3-D geometric transformation from matching point pairs (Since R2022b)
estimateFundamentalMatrixEstimate fundamental matrix from corresponding points in stereo images
estworldposeEstimate camera pose from 3-D to 2-D point correspondences (Since R2022b)
findWorldPointsInViewFind world points observed in view (Since R2020b)
findWorldPointsInTracksFind world points that correspond to point tracks (Since R2020b)
estrelposeCalculate relative rotation and translation between camera poses (Since R2022b)
optimizePosesOptimize absolute poses using relative pose constraints (Since R2020a)
createPoseGraphCreate pose graph (Since R2020a)
bundleAdjustmentAdjust collection of 3-D points and camera poses
bundleAdjustmentMotionAdjust collection of 3-D points and camera poses using motion-only bundle adjustment (Since R2020a)
bundleAdjustmentStructureRefine 3-D points using structure-only bundle adjustment (Since R2020a)
compareTrajectoriesCompare estimated trajectory against ground truth (Since R2024b)
trajectoryErrorMetricsStore accuracy metrics for trajectories (Since R2024b)
imshowDisplay image
showMatchedFeaturesDisplay corresponding feature points
plotPlot image view set views and connections (Since R2020a)
plotCameraPlot a camera in 3-D coordinates
pcshowPlot 3-D point cloud
pcplayerVisualize streaming 3-D point cloud data
bagOfFeaturesBag of visual words object
bagOfFeaturesDBoWBag of visual words using DBoW2 library (Since R2024b)
dbowLoopDetectorDetect loop closure using visual features (Since R2024b)
imageviewsetManage data for structure-from-motion, visual odometry, and visual SLAM (Since R2020a)
worldpointsetManage 3-D to 2-D point correspondences (Since R2020b)
indexImagesCreate image search index
invertedImageIndexSearch index that maps visual words to images
monovslamVisual simultaneous localization and mapping (vSLAM) with monocular camera (Since R2023b)
addFrameAdd image frame to visual SLAM object (Since R2023b)
hasNewKeyFrameCheck if new key frame added in visual SLAM object (Since R2023b)
checkStatusCheck status of visual SLAM object (Since R2023b)
isDoneEnd-of-file status (logical)
mapPointsBuild 3-D map of world points (Since R2023b)
posesAbsolute camera poses of key frames (Since R2023b)
plotPlot 3-D map points and estimated camera trajectory in visual SLAM (Since R2023b)
resetReset visual SLAM object (Since R2023b)
rgbdvslamFeature-based visual simultaneous localization and mapping (vSLAM) with RGB-D camera (Since R2024a)
addFrameAdd pair of color and depth images to RGB-D visual SLAM object (Since R2024a)
hasNewKeyFrameCheck if new key frame added in RGB-D visual SLAM object (Since R2024a)
checkStatusCheck status of visual RGB-D SLAM object (Since R2024a)
isDoneEnd-of-processing status for RGB-D visual SLAM object (Since R2024a)
mapPointsBuild 3-D map of world points from RGB-D vSLAM object (Since R2024a)
posesAbsolute camera poses of RGB-D vSLAM key frames (Since R2024a)
plotPlot 3-D map points and estimated camera trajectory in RGB-D visual SLAM (Since R2024a)
resetReset RGB-D visual SLAM object (Since R2024a)
stereovslamFeature-based visual simultaneous localization and mapping (vSLAM) with stereo camera (Since R2024a)
addFrameAdd pair of color and depth images to stereo visual SLAM object (Since R2024a)
hasNewKeyFrameCheck if new key frame added in stereo visual SLAM object (Since R2024a)
checkStatusCheck status of stereo visual SLAM object (Since R2024a)
isDoneEnd-of-processing status for stereo visual SLAM object (Since R2024a)
mapPointsBuild 3-D map of world points from stereo vSLAM object (Since R2024a)
posesAbsolute camera poses of stereo key frames (Since R2024a)
plotPlot 3-D map points and estimated camera trajectory in stereo visual SLAM (Since R2024a)
resetReset stereo visual SLAM object (Since R2024a)

Topics

Featured Examples