Clear Filters
Clear Filters

How to convert RGB image to gray scale using Principal Component Analysis (PCA) transform?

3 views (last 30 days)
Hi All,
I have an RGB image how can I convert it to gray scale using Principal Component Analysis (PCA) transform? Is there a built in Matlab function do that? Or any matlab code my be useful Thanks in advance for help

Answers (1)

Image Analyst
Image Analyst on 24 Dec 2013
Edited: Image Analyst on 24 Dec 2013
Good question. There is nothing built into the Image Processing Toolbox that I'm aware of though I wish there were. You can look at this link posted by Helen at the Mathworks: http://www.mathworks.com/matlabcentral/linkexchange/links/2031-putting-pca-to-work
Or see if anything in the File Exchange will work for you: http://www.mathworks.com/matlabcentral/fileexchange/index?utf8=%E2%9C%93&term=pca

Tags

Community Treasure Hunt

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

Start Hunting!