how to find size of image compressed by principal component analysis??

1 visualización (últimos 30 días)
i have compressed images/data by PCA,now i want to find size of the image that i have compressed by PCA????

Respuesta aceptada

Image Analyst
Image Analyst el 17 de Feb. de 2014
Each PC image will be the same number of rows and columns, though each pixel might be as many as 8 bytes instead of 1 if you're getting double arrays out and starting with uint8. So it may not be compressed at all. Anyway, it would depend on how many PC components there are. There could be 1, 2, 3, 4, 5, or whatever. How many are you calculating and keeping?
  5 comentarios
Image Analyst
Image Analyst el 18 de Feb. de 2014
The eigen images are computed just once for all images you want to model. Then for each image, you just need to save the weights applied to each eigenface image. So compression is happening because you're just saving a 1D vector of weights, not all the images. If you're taking 50 eigen images, then each image only needs to save 50 numbers. The eigen images themselves are not considered when you compute compression because they are just the same set of permanent images for all images you want to synthesize.
azizullah khan
azizullah khan el 19 de Feb. de 2014
thanks sir,but i now want to plot compression vs threshold graph.So how i can change compression?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Dimensionality Reduction and Feature Extraction en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by