Skip to content
0:00 / 0:00

#jpeg#discretecosinetransform#imagecompression

The Unreasonable Effectiveness of JPEG: A Signal Processing Approach

Reducible

338K subscribers • 3 videos on Hallway

YouTube

Intermediate. Assumes working knowledge.

1.2M views4 years ago1 recommendation

Graphics and audioComputer scienceRenderingAlgorithmsMath for programmers

Reducible explains the mathematics and signal processing concepts behind JPEG compression, including the Discrete Cosine Transform.

Visit brilliant.org/Reducible/ to get started learning STEM for free, and the first 200 people will get 20% off their annual premium subscription. Chapters: Introducing JPEG and RGB Representation Lossy Compression What information can we get rid of? Introducing YCbCr Chroma subsampling/downsampling Images represented as signals Introducing the Discrete Cosine Transform (DCT) Sampling cosine waves Playing around with the DCT Mathematically defining the DCT The Inverse DCT The 2D DCT Visualizing the 2D DCT Introducing Energy Compaction Brilliant Sponsorship Building an image from the 2D DCT Quantization Run-length/Huffman Encoding within JPEG How JPEG fits into the big picture of data compression The JPEG algorithm is rather complex and in this video, we break down the core parts of the algorithm, specifically color spaces, YCbCr, chroma subsampling, the discrete cosine transform, quantization, and lossless encoding. The majority of the focus is on the mathematical and signal processing insights that lead to advancements in image compression and the big themes in compression as a whole that we can take away from it. Animations created jointly by Nipun Ramakrishnan and Jesús Rascón. References/Additional Resources: red.com/red-101/video-chroma-subsampling - great resource on different types of chroma subsampling weitz.de/dct/ - play around with the DCT cse.iitd.ac.in/~pkalra/col783-2017/DCT-History.pdf - paper referenced in video ee.ic.ac.uk/hp/staff/dmb/courses/DSPDF/00300_Transforms.pdf - a more rigorous signal processing approach to the DCT impulseadventure.com/photo/jpeg-huffman-coding.html - great landing point for learning more about how huffman codes work in the context of JPEG youtube.com/watch?v=CPT4FSkFUgs&list=PLpsTn9TA_Q8VMDyOPrDKmS… - a great playlist I recommend that dives deep into actually implementing a JPEG decoder This video wouldn't be possible without the open source library manim created by 3blue1brown and maintained by Manim Community. The Manim Community Developers. (2021). Manim – Mathematical Animation Framework (Version v0.11.0) [Computer software]. manim.community/ Here is link to the repository that contains the code used to generate the animations in this video: github.com/nipunramk/Reducible All music in the video is from Aakash Gandhi

Why it's here

1 person recommends this

What people say. Recommended as an exceptionally clear and visual explanation of the math and engineering behind JPEG compression.

Moments people linked to

Hail_Spacecakeon Lobsters • Recommends

The Unreasonable Effectiveness of JPEG: A Signal Processing Approach

u/DRIESASTERin r/compsci • Mentions

On “What were your favorite college classes?”

I'd say start learning about jpeg, it uses a lot of compression technologies and a decent amount of math. After that you'll kinda know where to go i'd say. [video [video link to this video
1View on Reddit