Image to sub-image

1 次查看(过去 30 天)
MD Anower Hossain
MD Anower Hossain 2019-12-17
Firstly, the image is divided into many 8 * 8 sub images, each sub image is FFT, and 64 coefficients in each sub image are sorted according to the variance of each coefficient. After that, the small transformation coefficients are removed, only 16 coefficients are retained, and the 4:1 image compression is realized.
  3 个评论
KALYAN ACHARJYA
KALYAN ACHARJYA 2019-12-17
As per my understanding-
  1. Image subdivided to 8x8, let say total nxn blocks having 8x8 individual image block size
  2. Replace with variance of individual blocks
Result will be nxn having variances of individual blocks sizes,right?
Image Analyst
Image Analyst 2019-12-17
For each 8 pixel-by-8 pixel block (of the n*n blocks total that cover the entire image) they do a fft2() to get real and imaginary 8x8 arrays (that's TWO arrays). So there are 2x8x8 or 128 coefficients - 64 real ones and 64 imaginary ones. Of those 64 they are (I guess) taking the variance of all the coefficients, like the variance of the n^2 (1,1) elements (upper left corner), the variance of the n^2 (1,2) elements, and so on down to the lower right corner, the (8,8) element. So now we'd have an 8x8 image where each element is the variance of the n^2 blocks. Then they sort and keep only 16 of the 64 coefficients and save those 2 * n^2 * 16 coefficients somehow in a file. The data will be reduced from the amount of data originally used to save the original image, thus leading to compression.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by