3 ms·
Are there any machine-learning approaches to superresolution which take context into account? By that I mean filling in details that can only be guessed by cont
by amelius 10y ago
Are there any machine-learning approaches to superresolution which take context into account? By that I mean filling in details that can only be guessed by context.
For example, when the algorithm detects that the image is of a field of grass (but individual blades of grass not discernible), then in the superresolution output it paints in these blades.
- sillysaurus3 10y agoOne of my favorites is Neural Enhance: https://github.com/alexjc/neural-enhance https://github.com/alexjc/neural-enhance I was playing around with it and the results are quite interesting. It's pretty much exactly what you describe. The nice thing is, if you have Docker installed, you can run: docker run --rm -v `pwd`:/ne/input -it alexjc/neural-enhance --help and everything magically works. Compared to other machine learning projects, neural enhance is probably one of the easiest to get started with.
- amelius 10y agoThat looks amazing! Thanks.
- fhuszar 10y agoSome of the deeper - and wider - convolutional neural network-based SR methods do this, implicitly. We have a few papers, like SRGAN (https://arxiv.org/abs/1609.04802 https://arxiv.org/abs/1609.04802) or AffGAN (https://arxiv.org/abs/1610.04490 https://arxiv.org/abs/1610.04490) that generate pretty interesting context-aware textures. Sophisticated hallucination of missing details comes at a cost: As one would expect, in some cases the algorithm guesses incorrectly. See for example Figure 5 of AffGAN paper, column 3: when superresolving an image of a snake, the algorithm mistakenly thought it's a body of water, and produces textures accordingly. Overall we found that most people find the results of GAN-based approaches superior to other ML-based techniques.