mirror of
https://github.com/leandromoreira/digital_video_introduction.git
synced 2026-01-09 06:27:58 -05:00
adds simple DCT formation explanation
This commit is contained in:
10
README.md
10
README.md
@@ -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.
|
||||
>
|
||||
> 
|
||||
>
|
||||
> 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
i/applicat.jpg
Normal file
BIN
i/applicat.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 51 KiB |
Reference in New Issue
Block a user