Point cloud normal vector

버전 (1.76 KB) 작성자: Jered Wells
NORMND computes the vector normal to points in an N-D point cloud
다운로드 수: 1.7K
업데이트 날짜: 2013/5/3

라이선스 보기

normnd(DATA) computes the vector normal to the N-dimensional sample
point locations in DATA. DATA is defined as an MxN matrix where M is
the number of samples. Each column contains the sample locations in
each of the orthogonal dimensions in N-dimensional space

% Compute the normal vector to 3-D sample points
data = randn(20,3);
% Bias the normal vector toward the Z-axis
data(:,3) = data(:,3)./10;
v = normnd(data);
% Plot
figure; scatter3(data(:,1),data(:,2),data(:,3));
hold on; quiver3(mean(data(:,1)),mean(data(:,2)),mean(data(:,3)),v(1),v(2),v(3))

See also: cov, eig.

인용 양식

Jered Wells (2024). Point cloud normal vector (https://www.mathworks.com/matlabcentral/fileexchange/41609-point-cloud-normal-vector), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2013a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
Help CenterMATLAB Answers에서 Point Cloud Processing에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보