5 ms·
Depends on the blur used, right? Straight pixelation is very lossy, but gaussian is less so.
by tyingq 6y ago
Depends on the blur used, right? Straight pixelation is very lossy, but gaussian is less so.
- qayxc 6y agoNot really. The images aren't pixelated as an effect - it's just a representation of the actual number of pixels taken from the ground truth. You can just as well take these pixels and apply any kind of blur filter - you still wouldn't retain any more information. If you go from say 1k x 1k pixels down to 100 x 100 pixels, you end up with 1% of the original information, no matter what you do.
- contravariant 6y agoI think they may have been thinking of just blurring rather than actually lowering the amount of pixels. A Gaussian blur doesn't really remove as much information as you might expect. Although it's very sensitive to noise.
- qayxc 6y agoBut that's something else entirely then - the very idea of upsampling is based around taking a lowres picture and turning it into a hires version.
- contravariant 6y agoBoth pixelation and blurring are used to anonymize faces, which this very article is about, so I can see the relation.
- not2b 6y agoIt's information theory. No matter what blur technique you use, there's only so much information in the pixels. You can't produce more information by magic, or by technology so advanced that it is indistinguishable from magic (h/t Arthur Clarke).
- tyingq 6y agoWell, I'm suggesting that, for example, pixelation where you change 10x10 blocks of pixels to 1 10x10 block of a single color...is very lossy. A blur of a known algorithm (gaussian, for example), can be somewhat reversed. It's not as lossy.
- WrtCdEvrydy 6y agoBest blur method is just to make all pixels black.
- qayxc 6y agoYou seem to have misunderstood what the article is about. It's not about turning a shitty image to a nice a clean one. It's about turning a lowres image into a hires version, i.e. you start with 100 x 100 pixels (doesn't matter how you obtained them - could be a section of a much bigger image, for example) and try to extrapolate a 1k x 1k pixel version from it. The pixelation you see in the examples is just a representation of what little information you have to work with. It's NOT in any way shape or form related to where you get these pixels in from in the first place. Just to give you a different context here: imagine this upscaling being used to "enhance" a single face in an image like this [1] - there's no way "Gaussian blur" or whatever filter you'd like gets you more information out of that. In the example image I created, I applied a Gaussian blur to the "pixelated" (i.e. enlarged) version of the marked image section. As you can see, enlarging the same section using super-sampling (i.e. similar to what you proposed), doesn't change the information content and one version can basically be transformed into the other. [1] https://imgur.com/a/m23u6Xx https://imgur.com/a/m23u6Xx
- tyingq 6y agoNo, I understood. The article gives several different examples of "blurry", and they aren't all the same. Fixing motion blur is one example of something where you aren't just completely guessing and "inpainting".
- A_No_Name_Mouse 6y agoRight. As long as the number of pixels remains the same it should be possible to remove gaussian blur almost completely. The information isn't lost, it is still there, but smeared out over a larger area. Also I don't understand why the first Mona Lisa results in a picture that when pixelated again, wouldn't produce the original pixelated picture. It is as if the create a face inspirated by the original, but not one that could ever be the original.
- hatsunearu 6y agoYou actually do lose quite a lot of information, particularly so if you have a limited bit depth/other quantization noise.