First, upload a colour image by clicking on the “upload an image button”. The acceptable image formats are png, jpg, jpeg, img and tif. Then click on the "Plot the grayscale image". After that enter the no. of PC's up to which you want to retrieve the images (both colour and grayscale).
An error message/box will pop-up when you enter a number greater than the no. of PCs for that particular image. Also, an error will message will pop-up when the entered input is not a number.
Please go through this link for detail explanation;
https://medium.com/@abhilash.singh/principal-component-analysis-pca-on-images-in-matlab-a-graphical-user-interface-gui-3d4999ddd0d0
Enjoy!!!
ABHILASH SINGH (2021). Principal Component Analysis (PCA) on images in MATLAB (GUI) (https://github.com/abhilash12iec002/Principal-Component-Analysis-PCA-on-images-in-MATLAB-GUI-), GitHub. Retrieved .
Inspired by: Real Time Object Detection using Deep Learning.
Inspired: Linear Regression plot with Confidence Intervals in MATLAB
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
Thanks, Pankaj and Cao Wei for your review.
Bahut khoob.