メインコンテンツ

位置推定と地図作成

R2026b
ビジョンおよび LiDAR データを使用した自己位置推定と環境地図作成の同時実行、地図の作成、オドメトリ

SLAM (自己位置推定と環境地図作成の同時実行) アルゴリズムを使用して、環境地図作成と自車の姿勢推定を同時に行います。SLAM アルゴリズムは、ビジュアル データまたは点群データで使用できます。カメラ イメージ データを使用した visual SLAM の実装の詳細については、MATLAB での Visual SLAM の実装およびDevelop Visual SLAM Algorithm Using Unreal Engine Simulationを参照してください。LiDAR データを使用した点群 SLAM の実装の詳細については、Implement Point Cloud SLAM in MATLAB (Point Cloud Toolbox)およびDesign Lidar SLAM Algorithm Using Unreal Engine Simulation Environmentを参照してください。

慣性計測ユニット (IMU) や全地球測位システム (GPS) などのセンサーからの測定値を使用して、ビジュアル データまたは LiDAR データによる地図作成プロセスを改善できます。例については、LiDAR データからのマップの作成を参照してください。

既知のマップが存在する環境では、マップの座標系の原点を基準にして自車の姿勢を推定することで、自車の位置を特定できます。既知のビジュアル マップを使用した位置推定の例については、Visual Localization in a Parking Lotを参照してください。既知の点群マップを使用した位置推定の例については、Lidar Localization with Unreal Engine Simulationを参照してください。

既知のマップが存在しない環境では、ビジュアル データと IMU データを融合することでビジュアル慣性オドメトリを使用して、開始姿勢に対する自車の姿勢を推定できます。例については、Visual-Inertial Odometry Using Synthetic Dataを参照してください。

駐車場の空き駐車スポットを検出する地図作成および位置アルゴリズムのアプリケーションについては、Perception-Based Parking Spot Detection Using Unreal Engine Simulationを参照してください。

関数

すべて展開する

すぐに使用できる Visual SLAM 関数

monovslamVisual simultaneous localization and mapping (vSLAM) and visual-inertial sensor fusion with monocular camera (R2023b 以降)
rgbdvslamFeature-based visual simultaneous localization and mapping (vSLAM) and visual-inertial sensor fusion with RGB-D camera (R2024a 以降)
stereovslamFeature-based visual simultaneous localization and mapping (vSLAM) and visual-inertial sensor fusion with stereo camera (R2024a 以降)

独自の Visual SLAM パイプラインの構築

imageviewsetManage data for structure-from-motion, visual odometry, and visual SLAM
optimizePosesOptimize absolute poses using relative pose constraints
createPoseGraphCreate pose graph
relativeCameraPose(非推奨) カメラの姿勢間の相対的な回転と並進を計算
triangulateステレオ イメージでの歪み補正後のマッチする点の 3 次元位置
bundleAdjustment3 次元の点とカメラの姿勢のコレクションの調整
bundleAdjustmentMotionAdjust collection of 3-D points and camera poses using motion-only bundle adjustment
bundleAdjustmentStructureRefine 3-D points using structure-only bundle adjustment

点群の保存、変換、および可視化

pointCloudObject for storing 3-D point cloud
pcshowPlot 3-D point cloud
pcplayerVisualize streaming 3-D point cloud data
pctransformTransform 3-D point cloud
pcalignAlign array of point clouds

点群のレジストレーション

pcregistercorrRegister two point clouds using phase correlation
pcregistercpdRegister two point clouds using CPD algorithm
pcregistericpRegister two point clouds using ICP algorithm
pcregisterndtRegister two point clouds using NDT algorithm
pcregisterloamRegister two point clouds using LOAM algorithm (R2022a 以降)

独自の点群 SLAM パイプラインの構築

pcviewsetObject for managing data for point cloud-based odometry and SLAM
optimizePosesOptimize absolute poses using relative pose constraints
createPoseGraphCreate pose graph from point cloud view set
scanContextDistanceDistance between scan context descriptors
scanContextDescriptorExtract scan context descriptor from point cloud
pcmapndtCreate localization map using Normal Distributions Transform (NDT)

トピック

注目の例