how to change compression level in PCA?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
azizullah khan
le 21 Fév 2014
Commenté : azizullah khan
le 24 Fév 2014
how to change compression in pca and how to find the compression ratio in pca...
0 commentaires
Réponse acceptée
Walter Roberson
le 21 Fév 2014
pca is not in itself a compression scheme. pca is sometimes used for compression by finding the vectors that are most responsible for variation in the image and discarding some of the vectors that are least responsible (which are closer to 0.) To change the compression level, discard more or fewer components.
3 commentaires
Walter Roberson
le 22 Fév 2014
"intensity reduction" might be called "dynamic range compression" in some cases.
In general, "compression" is "to make smaller" and that is the sense used for dynamic range compression (amongst other uses.)
When compression of data is being discussed, the topic is compressing (making smaller) the memory required to reproduce the data afterwards ("decompression"). There are two important sub-varieties of data compression: lossless (in which decompression must be able to exactly recreate the data), and lossy (in which decompression just has to recreate the data "close enough to be usable" for whatever purpose the compression was devised.
In the more general case, "resizing" an image does not necessarily involve reducing the amount of data the image requires, and might only refer to the amount of display space used for the image.
In the case of a data array such as might be used to store an image, "resizing" it does change the amount of storage used. Resizing a data array to be smaller is one form of lossy compression.
Using PCA for image compression is a form of lossy compression: you keep the information that has the most effect on how the image looks, and you let some of the fine details be erased by not storing the information needed to recreate them.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Dimensionality Reduction and Feature Extraction dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!