Dose anyone can help with PCA technique

조회 수: 1 (최근 30일)
Noor Abbas
Noor Abbas 2017년 11월 22일
댓글: Image Analyst 2017년 11월 27일
How can PCA code reduce the dimension of image, if I have image with 128*128, after used PCA to compress image?
  댓글 수: 3
KSSV
KSSV 2017년 11월 22일
Noor Abbas
Noor Abbas 2017년 11월 24일
Thanks for your answer M and KSSV

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

답변 (1개)

Image Analyst
Image Analyst 2017년 11월 22일
Attached is a demo where I use it.
  댓글 수: 10
Noor Abbas
Noor Abbas 2017년 11월 27일
what do you mean about features?
Image Analyst
Image Analyst 2017년 11월 27일
Like what are your distinguishing attributes? You can't have just one - the gray level - you need more than 1. Like when I did it in the demo for a color image we had 3 - the red value,the green value, and the blue value. You can't just take one measurement and do PCA. Like if you had the heights of your classmates, you can't just say "I want to do PCA on the list of heights" - it doesn't make sense. Just like you can't say "I want to do PCA on the gray levels". If you don't even know what your features are, then why do you think that PCA is the approach you want to use??? Are you just wanting to write a compressed image, like in JPG or PNG format or something?

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

카테고리

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