Skip to content

Commit

Permalink
improves the dct explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
leandromoreira committed Mar 26, 2017
1 parent fa26c58 commit 6931ea3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -489,11 +489,16 @@ As we can see it resembles the original image but it introduced lots of differen
>
> 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 is calculated, using weights which are unique for each index.
>
> You can also try to [visualize the DCT by looking at a simple image](/dct_better_explained.ipynb) formation over the DCT basis.
>
> ![dct calculation](/i/applicat.jpg "dct calculation")
>
> Source: https://www.iem.thm.de/telekom-labor/zinke/mk/mpeg2beg/whatisit.htm
>
> You can also try to [visualize the DCT by looking at a simple image](/dct_better_explained.ipynb) formation over the DCT basis. For instance, here's the [A character being formed](https://en.wikipedia.org/wiki/Discrete_cosine_transform#Example_of_IDCT) using each coefficient weight.
>
> ![](https://upload.wikimedia.org/wikipedia/commons/5/5e/Idct-animation.gif )



<br/>

Expand Down

0 comments on commit 6931ea3

Please sign in to comment.