3 ms·
>a Gaussian blur is easy to reverse That's the most surprising thing I've read today. I assumed it was destructive.
by thrwyoilarticle 6y ago
>a Gaussian blur is easy to reverse
That's the most surprising thing I've read today. I assumed it was destructive.
- jacquesm 6y agoIt's lossy, but not destructive, and a 'sharpen' operation is technically the same as blur but in reverse. So you won't end up pixel-perfect after doing an 'unblur' but you will be able to make out more than you could before.
- eru 6y agoIf you know anything about the probability distribution of likely inputs, it's even easier to reverse with minimal loss. Eg knowing that the input was black text on white background or a natural image (instead of eg white noise) helps a lot.
- zerd 6y agoAlso if you have multiple pixelated/blurry images that helps you can reconstruct it more easily, e.g. if different newspapers print pixelated picture of the "suspect" you can reconstruct it pretty accurately. Machine learning can also do a surprising good job of it, especially if you know what the target is (e.g. a face) https://www.vox.com/future-perfect/2019/9/4/20848008/ai-machine-learning-enhance-button https://www.vox.com/future-perfect/2019/9/4/20848008/ai-mach... Sample code: https://gist.github.com/JonathanFly/80b669a72bf624d17b56a1cfec742588#file-progressivefacesuperresolutiondemo-ipynb https://gist.github.com/JonathanFly/80b669a72bf624d17b56a1cf...
- eru 6y ago> Machine learning can also do a surprising good job of it, especially if you know what the target is (e.g. a face) Yes. Though that's just a corollary of doing better when you know something about the probability distribution of inputs. (But a very useful and practical corollary. My formulation didn't give any hint how you might make use of that knowledge of the distribution.)