adds simple DCT formation explanation

Esse commit está contido em:
Leandro Moreira
2017-03-15 15:16:13 -03:00
commit 8de149b72d
2 arquivos alterados com 10 adições e 0 exclusões
+10
Ver Arquivo
@@ -393,6 +393,16 @@ And then we reconstruct the image from this discarded block of coefficients (rem
As we can see it resembles the original image but it introduced lots of differences from the original, we **throw away 67.1875%** and we still were able to get at least something similar to the original. We could more intelligently discard the coefficients to have a better image quality but that's the next topic.
> **Each coefficient is formed using all pixels**
>
> It's important to note that each coefficient doesn't directly map to a single pixel but it's a weighted sum of all pixels. This amazing graph shows how the first and second coefficient are calculated, using weights which are unique for each index.
>
> ![dct calculation](/i/applicat.jpg "dct calculation")
>
> Source: https://www.iem.thm.de/telekom-labor/zinke/mk/mpeg2beg/whatisit.htm
<br/>
> ### Hands-on: throwing away different coefficients
> You can play around with the [DCT transform](/uniform_quantization_experience.ipynb).
BIN
Ver Arquivo
Arquivo binário não exibido.

Depois

Largura:  |  Altura:  |  Tamanho: 51 KiB