メインコンテンツ

このページは前リリースの情報です。該当の英語のページはこのリリースで削除されています。

点群の処理

R2026a
幾何学的形状の前処理、可視化、レジストレーション、近似、ならびにマップの作成、SLAM アルゴリズムの実装、3 次元点群を使った深層学習の使用

点群とは、3 次元空間におけるデータ点の集合です。点のまとまりは 3D 形状またはオブジェクトを表します。データ セットの各点は、x、y、z の幾何学的座標で表されます。点群は、多数の単一の空間測定値を、記述可能なオブジェクトとして表現されるデータセットにまとめる手段を提供します。点群処理はロボットの操縦および認識、深度推定、ステレオ ビジョン、視覚レジストレーション、および先進運転者支援システム (ADAS) といった分野で使用されています。Computer Vision Toolbox™ のアルゴリズムは、点群のダウンサンプリング、ノイズ除去、および変換を行うための点群処理機能を提供します。また、このツールボックスには点群のレジストレーション、幾何学的形状の 3 次元点群への近似、点群の読み取り、書き込み、保存、表示、比較を行う機能が備わっています。複数の点群を組み合わせて 3 次元シーンを再構築したり、レジストレーションされた点群を使用してマップを作成したり、ループ閉じ込みを検出したり、マップを最適化してドリフトを修正したり、事前作成したマップで位置推定を実行したりできます。詳細については、を参照してください。

"点群レジストレーション" (2 つ以上の点群を単一の座標系に揃えるプロセス) を実行するには、通常、基準 ("固定") 点群として 1 つの点群から始めて、次に他の ("移動") 点群をそれに揃えます。点群の "絶対姿勢" とは、基準フレーム (ワールド座標系とも呼ばれる) に対する全体的な位置と向きを指します。Computer Vision Toolbox は、移動点群を固定点群にレジストレーションするためのさまざまなレジストレーション手法を提供します。これらの手法には、反復最近接点 (ICP)、正規分布変換 (NDT)、位相相関、コヒーレント点ドリフト (CPD) が含まれます。また、LiDAR レジストレーション アナライザー (Point Cloud Toolbox) アプリを使用して、さまざまなレジストレーション手法、調整パラメーター、前処理ステップを使用した結果を対話的にレジストレーションし、比較することもできます。

関数

すべて展開する

pcreadRead 3-D point cloud from PLY or PCD file
pcwriteWrite 3-D point cloud to PLY or PCD file
pcfromdepthConvert depth image to point cloud (R2022b 以降)
pcfromkinectKinect for Windows からの点群
velodyneFileReaderRead point cloud data from Velodyne PCAP file
pcviewsetObject for managing data for point cloud-based odometry and SLAM
pointCloudObject for storing 3-D point cloud
pcviewerVisualize and inspect large 3-D point clouds (R2023a 以降)
pcshowPlot 3-D point cloud
pcshowpairVisualize difference between two point clouds
pcplayerVisualize streaming 3-D point cloud data
showShapeDisplay shapes on image, video, or point cloud

前処理

pcbinSpatially bin point cloud points
pcdenoiseRemove noise from 3-D point cloud
pcdownsampleDownsample 3-D point cloud
pcnormalsEstimate normals for point cloud

点の検索と削除

findPointsInCylinderFind points within a cylindrical region in a point cloud (R2023a 以降)
findPointsInROIFind points within region of interest in point cloud
findNearestNeighborsFind nearest neighbors of query points in point cloud
findNeighborsInRadiusFind neighbors within radius for query points in point cloud
removeInvalidPointsRemove invalid points from point cloud
pcsegdistSegment point cloud into clusters based on Euclidean distance
segmentGroundFromLidarDataSegment ground points from organized lidar data
segmentLidarDataSegment organized 3-D range data into clusters
pcbinSpatially bin point cloud points

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

pcregistercorrRegister two point clouds using phase correlation
pcregistericpRegister two point clouds using ICP algorithm
pcregistercpdRegister two point clouds using CPD algorithm
pcregisterndtRegister two point clouds using NDT algorithm

点群の変換

rigidtform3d3 次元剛体幾何学的変換 (R2022b 以降)
pctransformTransform 3-D point cloud

点群の整列と組み合わせ

pcalignAlign array of point clouds
pccatConcatenate 3-D point clouds
pcmergeMerge two 3-D point clouds

ループ閉じ込み候補の決定

findPoseLocalize point cloud within map using normal distributions transform (NDT) algorithm
scanContextDistanceDistance between scan context descriptors
scanContextDescriptorExtract scan context descriptor from point cloud
scanContextLoopDetectorDetect loop closures using scan context descriptors

姿勢の最適化

createPoseGraphCreate pose graph from point cloud view set
optimizePosesOptimize absolute poses using relative pose constraints

位置推定マップの作成

pcmapndtCreate localization map using Normal Distributions Transform (NDT)
pcfitcylinderFit cylinder to 3-D point cloud
pcfitplaneFit plane to 3-D point cloud
pcfitsphereFit sphere to 3-D point cloud
pcnormalsEstimate normals for point cloud
fitPolynomialRANSACFit polynomial to points using RANSAC
ransacノイズを含むデータへのモデルの当てはめ
cylinderModelObject for storing parametric cylinder model
planeModelObject for storing parametric plane model
sphereModelObject for storing a parametric sphere model

ブロック

すべて展開する

Point Cloud Viewer blockPoint Cloud ViewerVisualize streaming point cloud data sequence (R2023a 以降)

トピック

注目の例