I need to compute PCA of a binary image

조회 수: 6 (최근 30일)
hadhami garbouge
hadhami garbouge 2018년 4월 5일
댓글: hadhami garbouge 2018년 4월 6일
I need to compute PCA of a binary image

채택된 답변

Image Analyst
Image Analyst 2018년 4월 6일
I don't even know what that could possibly mean. In your mind, what might be the first principal component?
For what it's worth, I attach my demo converting an RGB color image into a 3 component PCA image. The initial components are the red, green, and blue values of the image pixels. You can plot them and then plot the PCA values in a scatter plot and see how PCA is a rotated version of the color gamut. I have no idea what it would be for a binary image because you have not told us your inputs. And you can't just say "they're the true or false values of the image" - that makes no sense.
  댓글 수: 1
hadhami garbouge
hadhami garbouge 2018년 4월 6일
Thanks for your answer i need the pca for determination of Object Rotation in binary image so my input is binary image (black-white image) that i have my object rotate with pi/4 (ellipse)

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Abhishek Ballaney
Abhishek Ballaney 2018년 4월 6일
https://in.mathworks.com/help/stats/pca.html

카테고리

Help CenterFile Exchange에서 Dimensionality 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