特異値分解を利用した点群レジストレーションについて
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
ichiro obayashi
le 29 Juin 2017
Commenté : ichiro obayashi
le 30 Juin 2017
特異値分解を利用した点群レジストレーションを行いたいと考えています。 点群データは2セット(AとB)あります。 データセットの形は(432*176)です。 各XYZ座標(それぞれ144*176の形のデータセット)と対応点はわかっています。
特異値分解を用いて、対応点に基づくレジストレーションを行う場合どの様な計算を行えばよいのでしょうか? ご教授お願いいたします。
0 commentaires
Réponse acceptée
Tohru Kikawada
le 29 Juin 2017
Modifié(e) : Tohru Kikawada
le 29 Juin 2017
以前、お答えした内容のデモで特異値分解(SVD)を利用して位置計算をしています。
findRtFromRGBD.m の内容をご確認ください。
%==========================================================================
% Solve the following minimization problem:
% min_{R, T} sum(|R*p+T-q|^2)
%
% p, q are all N-by-d matrix with N data points
%
% The problem is solved by SVD
%==========================================================================
function [R, T] = minimizePointToPointMetric(p, q)
n = size(p, 1);
m = size(q, 1);
% Find data centroid and deviations from centroid
pmean = sum(p,1)/n;
p2 = p - repmat(pmean, n, 1);
qmean = sum(q,1)/m;
q2 = q - repmat(qmean, m, 1);
% Covariance matrix
C = p2'*q2;
[U,~,V] = svd(C);
% Handle the reflection case
R = V*diag([ones(1,size(C,1)-1) sign(det(U*V'))])*U';
% Compute the translation
T = qmean' - R*pmean';
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur LIDAR および点群の処理 dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!