According to SVD technique A=U*S*V'. But when I apply SVD to my image, I am not able to retrieve my original image. Is that because S matrix is not taking the all the eigen values? Eventhough, I had to get a partially correct image?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Sandra Maria Cherian
il 20 Feb 2018
Commentato: Sandra Maria Cherian
il 20 Feb 2018
[u,s,v]=svd(a); ap=u*s; a=ap*v;
0 Commenti
Risposta accettata
Roger Stafford
il 20 Feb 2018
Modificato: Roger Stafford
il 20 Feb 2018
You've left off the transpose operator at the last step:
ap*v';
It's a very small character, but it's all-important!
Round-off errors may cause tiny differences between your original a and the restored a. If the image pixels in the original a were all integers, just do a round on the result and that should restore it exactly.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Logical in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!