how to change compression level in PCA?

1 次查看(过去 30 天)
how to change compression in pca and how to find the compression ratio in pca...

采纳的回答

Walter Roberson
Walter Roberson 2014-2-21
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 个评论
Walter Roberson
Walter Roberson 2014-2-22
"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.

请先登录,再进行评论。

更多回答(0 个)

类别

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