필터 지우기
필터 지우기

How can i extract three texture features among the 22 using PCA?

조회 수: 4 (최근 30일)
Arathy Das
Arathy Das 2016년 12월 20일
댓글: Image Analyst 2016년 12월 20일
I am doing project on lung cancer detection for that i have extracted texture features using GLCM. Among the 22 features i need only three. Can anyone please help me to do this using PCA?

답변 (1개)

Image Analyst
Image Analyst 2016년 12월 20일
If you have 22 PCA columns, then just extract the 3 you want as usual.
pca3 = pca22(:, 1:3); % or whatever.
If you have any followup questions, read this first and be much much more explicit in describing your situation.
  댓글 수: 2
Arathy Das
Arathy Das 2016년 12월 20일
It is not that it has 22 columns sir.The output of extracting texture features of an image using GLCM is an 1x1 struct with 22 fields. This 22 fields are various texture information like autocorrelation,sum average etc. From this 22 features i need to extract three. How can it be done?
Image Analyst
Image Analyst 2016년 12월 20일
Are you using graycomatrix() or graycoprops()? How are you getting 22 things from either of those? I don't get that. My graycomatrix() demo is attached. Why don't you just call pca() and take the 3 most important components?

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

카테고리

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