PCA_Weighted.m

バージョン 1.3.0.0 (4.34 KB) 作成者: Germano Gomes
Weighted PCA on 3D triangle meshes
ダウンロード: 836
更新 2014/6/2

ライセンスの表示

The use of PCA to reorient 3D triangle meshes into axis that maximize variance of the data can be used as pre step in feature extraction. That would be fine if all triangles were equal i.e. a perfectly uniform distribution of points over the surface geometry, but that is rarely the case. In fact, with medical data, usually triangle reduction techniques based on curvature are used to reduce file size(e.g. flatter areas have less but bigger triangles). A consequence of this is that both the centroid and principal axis will get skewed in a naive implementation of PCA. To solve this problem, weights can be used(e.g. area of each triangle associated with each triangle centroid). That is what PCA_Weighted does. Given a mesh in any location and orientation, it will center and reorient it in an optimal way (orthogonal least squares sense) irrespective of the triangulation. I use the weighted covariance matrix and the eigenvalue decomposition algorithm.

引用

Germano Gomes (2024). PCA_Weighted.m (https://www.mathworks.com/matlabcentral/fileexchange/46659-pca_weighted-m), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2014a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.3.0.0

Formatting, spelling and code comments.

1.2.0.0

Updated Description.

1.1.0.0

Changed summary line.

1.0.0.0