フィルターのクリア

What is difference between "orientation" of Regionprops and "principal component coefficients" of PCA

3 ビュー (過去 30 日間)
Hi
I am stuck in my work because of few confusions.
1. Is the difference of "principal component coefficients" of PCA and "orientation" of regionprops? Do they give the same result?
2. In PCA, By default, pca centers the data and uses the singular value decomposition (SVD) algorithm. But what if I use regionprops to get orientation? Is that on centered data as well?
Can anyone clarify please?

採用された回答

Image Analyst
Image Analyst 2018 年 1 月 13 日
The orientation fits an ellipse to the blob and gives you the angle of the major axis. PCA (demo attached) gives the PCs of the data not the angle. Of course PC1 will align with the major axis but the PC1 values themselves are the values of the image along the PC1 direction. So for a megapixel binary image you'd get a million floating point values that are the binary image interpolated at the new locations in PC-space.
Think of a color image with a gamut that looks like a long cigar if you were to do a scatterplot of the color values. now PC1 would be along the long axis of the cigar. PC1 is the major axis of the rotated coordinate system. PC2 and PC3 are the short axes perpendicular to the main cigar axis. So the new PC1 value is a linear combination of the red, green, and blue values. It's basically a gray level, not an angle like orientation from regionprops is.
  3 件のコメント
Image Analyst
Image Analyst 2018 年 1 月 14 日
Why don't you calculate each and plot them over the blobs and see which you agree with more overall?
Ashbub
Ashbub 2018 年 1 月 15 日
Thankyou. I am considering this.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDimensionality Reduction and Feature Extraction についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by