The Problem with JPEG - Computerphile

preview_player
Показать описание
Never use JPEG with text. But why? Image Analyst Mike Pound explains what goes wrong when JPEG tries to compress text.

This video was filmed and edited by Sean Riley.

Рекомендации по теме
Комментарии
Автор

Interestingly enough, the "no JPEG for scientific images" statement is a very real consideration for space missions. Now I'm pretty sure they don't actually use JPEG, but for New Horizons which is about to encounter Pluto, ALL of their images will be compressed in a lossy way. At that distance, bandwidth is very limited resource. Since they'll be flying past Pluto at a ridiculous speed, they have opted to apply lossy compression so they can get significantly more data back home. A good knowledge of what kind of compression artifacts are caused by the specific algorithm in use will be required to thoroughly clean up and analyze the images.

Niosus
Автор

He mentions text, but this applies to anything that's not a photograph, basically. Drawings and animation are the same, it's the sharp lines you want to preserve, not the general swaths of colour.

theblackwidower
Автор

Another area where i find that JPEG falls short is in technical drawings, such as electronic circuit diagrams. I am an electronics hobbyist, and therefore often consult datasheets of various ICs, but i find that many, especially older, datasheets are often difficult to decipher due to artifacts.
Just my two cents.

BertGrink
Автор

I usually don't have an issue picking up on stuff as I watch an informational video, but there's so many technical details in this, that I need to go watch that "how a jpeg works" video, and come back to this. I love it though. Learning the in depth details about something makes me feel like I actually know how it works. I always need to know the how and the why down to the smallest detail before I'm satisfied. This channel makes me research so much, and like I said before, I love it.

TheBrickson
Автор

People shoot in RAW not because of end result as-is, but because of the data in the image that can be used to edit the photo.

Автор

JPEG is the reason why some people believe in Aliens on earth.

madforlorn
Автор

Around about 1990, back when hard drives were a lot smaller and people still used floppies a lot, JPEG was an absolute revelation. The idea that you could take a photorealistic image and reduce the file size by a factor of 10 with no perceptible difference in image quality was stunning.

lawrencedoliveiro
Автор

The term for those artifacts is “mosquitoing”. They are the image equivalent of “ringing” in digital audio.

lawrencedoliveiro
Автор

Nearly everyone has forgotten about variable jpeg compression within the same image. You can apply different levels of compression to different parts of the image - selective optimization.

TheDementation
Автор

When I first started working in film, I was actually surprised when I found out the extent to which they used JPEG for pretty much anything that didn't have to be HDR, which I presumed at the time to be too artifact-ridden to be of any use.  That said, it wasn't standard "web" JPEG.  It was generally 16-bit-per-channel, and mapped to Rec.2020 or DCI-P3 gamut rather than sRGB.  The idea with 16-bits per channel was based on the hope that the quantization errors like those described in the video would be reduced to such a small order of magnitude that they'd not be noticeable, and you'd anyway be mixing this with all nature of modifiers to the extent that errors like that would get lost in the mix.

That said, it's not as if we used high degrees of compression either, but JPEG at 98% quality is still significantly smaller than anything lossless, so that was the real point.  Counts for a lot when you've got several hundred GB of data shuffling about for a single 20-second shot.

parasharkchari
Автор

As an astronomer I have to interject here. I run an imaging camera onboard a telescope and all our files are in the FITS format architecture. We need to retain the exact photon values for each pixel in order to be able to accurately measure stellar photometry, spectra (via grism), and to look for any artifacts. JPEG would completely compress this data making it completely poor for real science. Plus the issue of going from high luminosity to low luminosity would be a major issue with JPG given that stars basically go from thousands or even tens of thousands of photon counts to effectively 0 for space. Cosmic rays are even worse than that because they're not gradual like stars are with their 2D gaussian like profiles.

LurkerPatrol
Автор

The whole "shooting in RAW" thing is like this: During the entire production chain of a photograph, you want to keep as much information as possible. Only during the final step, publishing, it makes sense to publish as JFIF to get some "workable" file sizes.

Same for any other industry (video, music, etc...)

MechMK
Автор

We want more videos with Mike! Those videos about graphics are just awesome!!!

xavinitram
Автор

I prefer using .png most of the times for small images the file size is smaller, and the image quality is better. I'm not sure at what size .jpeg files become less file size than .png, but .png works for my purpose.

Khaltazar
Автор

The difference between JPEG and RAW is *more* than just compression, it also loses additional sensor data that makes JPEG images harder to edit after the fact. It is extremely difficult to fix JPEG white balance in post for example, but it is very simple to do with RAW.

MichaelJE
Автор

I've been loving this series. I'm hoping we get to see something about PNG compression sometime.

PrimeSonic
Автор

After all these years of being troubled by the appearance of speckles, this Computerphile upload helps me to better understand their presence. When making a collage where some of the images used had text with speckles, it added to the time needed to make the collage. Cleaning up the speckles is such a chore.

deeliciousplum
Автор

that dude changed for good. i havent seen the old videos for a while.

habdochkeineahnung
Автор

There is another problem with JPEG, and that is if you push the compression too hard even on images without sharp edges in them, it ends up looking blocky.

There is another compression technique, known as “JPEG-2000”, that uses wavelets instead of DCT. Here when you push things too hard, it gets fuzzy rather than blocky, which many people feel is less objectionable.

lawrencedoliveiro
Автор

I still credit JPEG for speeding up the early internet. Anybody still remember BMPs/GIFs as the common format on early internet? It used to take a few MINUTES to render a picture. Let that sink in a

danmanx
join shbcf.ru