Re:With Google's RAISR, images can be up to 75% smaller with...
by tinco on Monday January 16, 2017 @04:02PM
(#13412986)
The title is a bit misleading. Detail was lost, that is the law. Raisr makes up detail based on some learned likelihood of that detail being there.
You could add any image to Raisr and it will make up more detail, you could let it loop over the same picture over and over and it will probably add infinite detail, or up to some fixed point.
What's cool is that for many pictures, it's good enough at making up detail that the result is credible.
Re:With Google's RAISR, images can be up to 75% smaller with...
by kartan on Monday January 16, 2017 @07:33PM
(#13414278)
Yes. And as such it has obvious artistic value, as images look better. But I can see that people can misuse them CSI style. You can add more detail to an image, but it is mainly an artistic interpretation that is not the real original image.
Re:With Google's RAISR, images can be up to 75% smaller with...
by jacobolus on Monday January 16, 2017 @04:36PM
(#13413242)
From TFA, “the quality gain is clear to see”, and then they show a picture where pixels have been upsized into weird painterly blotches, with essentially the same level of detail as the original.
This doesn’t seem to produce results which are obviously better than the state of the art from 20 years ago. (Or if so, this article certainly doesn’t demonstrate it.) So is the novelty supposed to be that it’s less computationally expensive?
Re:With Google's RAISR, images can be up to 75% smaller with...
by walrus01 on Monday January 16, 2017 @05:47PM
(#13413714)
The blotches in the example on the right resemble what happens when you run an ordinary raster image through some freely available raster-to-vector image processing tools.
Re:With Google's RAISR, images can be up to 75% smaller with...
by Animats on Monday January 16, 2017 @06:26PM
(#13413977)
Reminds me of Jaggies Are Gone, a old Macintosh application which did this sort of thing by dumber means.
There's an neural net system which upscales old low-resolution anime stills.[1] It's been trained on hand-drawn cartoons, so it restores line art detail. That's very similar to this Google thing.
Re:With Google's RAISR, images can be up to 75% smaller with...
by jerf on Monday January 16, 2017 @03:32PM
(#13412760)
This article and the linked blog post from Google [1] suggest that this has already been deployed. How does it work in the field? For instance, I can imagine it being a JS library that can be downloaded and cached for client-side use, or it could be deployed as an Android module that the Android browser can use. But I don't know where to go looking for this because I don't use Google+, have no photos on it, and wouldn't be sure whether or not I was seeing it.
Re:With Google's RAISR, images can be up to 75% smaller with...
by gwern on Monday January 16, 2017 @06:51PM
(#13414104)
>RAISR produces results that are comparable to or better than the currently available super-resolution methods, and does so roughly 10 to 100 times faster, allowing it to be run on a typical mobile device in real-time....For example, in addition to improving digital “pinch to zoom” on your phone, one could capture, save, or transmit images at lower resolution and super-resolve on demand without any visible degradation in quality, all while utilizing less of mobile data and storage plans.
> In our proposed approach, the run-time is more than one to two orders of magnitude faster than the best competing methods currently available, while producing results comparable or better than state-of-the-art.
From the blog post & article, I think the idea is that you ship a small CNN (a few MB model size, which will accordingly run in realtime on mobile GPUs) to the Android device, and then when browsing, it downloads a small thumbnail (cheap on bandwidth, quick to download), and upscale it as necessary locally on the device.
Re:With Google's RAISR, images can be up to 75% smaller with...
by jacobolus on Monday January 16, 2017 @10:47PM
(#13415071)
In general they’d get better bandwidth savings for the same quality and decode effort by shipping the higher-resolution image with more aggressive image compression (using http://bellard.org/bpg/ or something, not JPEG, and ideally running the decode in hardware). Seems like a dubious method overall.
The main impression I get is “woo! neural nets can do everything! let’s use them everywhere!”
I don’t believe their claim that this is “comparable or better than the state of the art” for image upscaling without much better evidence than they provide in their paper.
Re:With Google's RAISR, images can be up to 75% smaller with...
by itcrowd on Monday January 16, 2017 @09:04PM
(#13414632)
Thanks. I'd like to make some comments on the paper
- it is very readable, even for non-ML folk
- first author was an intern at Google. Cool for him to have a project like this handed to him.
- paper is quite long and I don't think it would ever be published in a reputable journal. The content/length ratio is too low, for one
- another reason I think it would not get accepted is the lack of novelty. What is being done here is a basic interpolation scheme (which explains the "10-100X speedup over SotA) but with weights determined by a lookup table. The table itself is learned beforehand by analyzing a large number of other images.
Re:With Google's RAISR, images can be up to 75% smaller with...
by almostarockstar on Tuesday January 17, 2017 @06:59AM
(#13416752)
I havn't time to read through it, but based on your comments, I could see it being accepted to a conference, which is where most CS publications come from (in europe anyway).
Re:With Google's RAISR, images can be up to 75% smaller with...
by tornadoboy55 on Monday January 16, 2017 @03:37PM
(#13412791)
The biggest about this is not being able to 'compress' images to 25%, but that you can now take (some) images that we're previously only low-res, and upscale them!
Re:With Google's RAISR, images can be up to 75% smaller with...
by explorigin on Monday January 16, 2017 @05:15PM
(#13413506)
The cool thing is that it's not a compression algorithm so you could use both. TinyJPG to compress the smaller-sized image, RAISR to upsample the smaller image. If you've ever played with GIMP (or Photoshop I suppose), RAISR looks like unsharp mask with an neural network controlling the inputs.
Re:With Google's RAISR, images can be up to 75% smaller with...
by derefr on Monday January 16, 2017 @10:35PM
(#13415022)
Now create a psychophysical compressor that optimizes for the weighted combination of smallest compressed size and most-faithful RAISR restoration.
I wonder if there's a guaranteed-optimal way to do that, given whatever RAISR is using as an algorithm; some logical inverse to the particular way it adds information. Maybe truncated wavelet compression?
Re:With Google's RAISR, images can be up to 75% smaller with...
by chubs on Monday January 16, 2017 @04:42PM
(#13413280)
I wonder if this could be used to upscale, say, a 1080p movie frame-by-frame to 4k? Could be fantastic if so. Imagine if it could be built into an FPGA and done in real-time by high-end TVs. Very impressive!
Re:With Google's RAISR, images can be up to 75% smaller with...
by andai on Monday January 16, 2017 @05:33PM
(#13413634)
The trick is that using a simple frame-by-frame approach means the details filled in only depend on the frame, not on the details which were filled in to the previous frame, so you get crazy jitter.
Deepart.io now has a video mode [0] that takes this into account.
Re:With Google's RAISR, images can be up to 75% smaller with...
by gkbrk on Monday January 16, 2017 @05:50PM
(#13413733)
I actually think Prisma sends the image to their servers for processing, their app size is way too small to contain that many trained networks. Also it doesn't work without an internet connection if I'm correct.
Re:With Google's RAISR, images can be up to 75% smaller with...
by wodenokoto on Tuesday January 17, 2017 @07:43AM
(#13416962)
It is possible, no doubt. You also have image decoder on the client and getting support for a new format is difficult because it is the browser vendors job to distribute these.
So how do they practically get the client to decode / upscale? JavaScript?
Re:With Google's RAISR, images can be up to 75% smaller with...
by ZenoArrow on Monday January 16, 2017 @03:39PM
(#13412803)
I'd be interested to see if similar techniques could be used for scaling up pixel art. Tools to upscale pixel art do exist already, but the results are a bit hit and miss. Could be a good stress test for the machine learning algorithms too.
Re:With Google's RAISR, images can be up to 75% smaller with...
by andai on Monday January 16, 2017 @05:38PM
(#13413660)
That sounds interesting. Do you have any links?
I must not understand what you mean by scaling up, I though the best way to scale up pixel art was to disable interpolation, so each pixel just becomes a perfectly sharp square?
Re:With Google's RAISR, images can be up to 75% smaller with...
by deadcast on Monday January 16, 2017 @07:27PM
(#13414251)
Does anyone know if there's something like this available now to experiment with? I've been looking for a new way to ultra compress images and never heard of these techniques before. Looks like Google hasn't released any tools yet to the public, if they ever will.
Re:With Google's RAISR, images can be up to 75% smaller with...
by randyrand on Monday January 16, 2017 @07:33PM
(#13414279)
For storage purposes: If you want, you could just downsample your images right now, and just wait around for this or similar to be released. I dont recommend it.
Re:With Google's RAISR, images can be up to 75% smaller with...
by andai on Monday January 16, 2017 @05:36PM
(#13413651)
I believe the down-scaling is done the old fashioned way. The up-scaling uses a neural network to guess what the original image was. See waifu2x [0][1].
The new thing here is that they're using it to save bandwidth, and running it on the user side.
You could add any image to Raisr and it will make up more detail, you could let it loop over the same picture over and over and it will probably add infinite detail, or up to some fixed point.
What's cool is that for many pictures, it's good enough at making up detail that the result is credible.
This doesn’t seem to produce results which are obviously better than the state of the art from 20 years ago. (Or if so, this article certainly doesn’t demonstrate it.) So is the novelty supposed to be that it’s less computationally expensive?
Here’s a site I just found in a quick web search with some comparisons of other upscaling tools: http://www.americaswonderlands.com/digital_photo_interpolati...
There's an neural net system which upscales old low-resolution anime stills.[1] It's been trained on hand-drawn cartoons, so it restores line art detail. That's very similar to this Google thing.
[1] http://waifu2x.udp.jp/
[1]: https://www.blog.google/products/google-plus/saving-you-band...
> In our proposed approach, the run-time is more than one to two orders of magnitude faster than the best competing methods currently available, while producing results comparable or better than state-of-the-art.
From the blog post & article, I think the idea is that you ship a small CNN (a few MB model size, which will accordingly run in realtime on mobile GPUs) to the Android device, and then when browsing, it downloads a small thumbnail (cheap on bandwidth, quick to download), and upscale it as necessary locally on the device.
The main impression I get is “woo! neural nets can do everything! let’s use them everywhere!”
I don’t believe their claim that this is “comparable or better than the state of the art” for image upscaling without much better evidence than they provide in their paper.
- first author was an intern at Google. Cool for him to have a project like this handed to him.
- paper is quite long and I don't think it would ever be published in a reputable journal. The content/length ratio is too low, for one
- another reason I think it would not get accepted is the lack of novelty. What is being done here is a basic interpolation scheme (which explains the "10-100X speedup over SotA) but with weights determined by a lookup table. The table itself is learned beforehand by analyzing a large number of other images.
https://www.inverse.com/article/17200-twitter-buys-london-vi...
There's an example of them finding a low res image of Barack Obama, and filling in the missing detail via ML to make a compelling high resolution image that still looks like Barack Obama: https://fsmedia.imgix.net/25/36/be/9d/fd04/4c51/9f79/ef675b0...
(Upvotes for anyone who a) replies with a better link and b) is Zehan [if b) then HI ZEHAN!])
Although on a serious note, does anyone know if and how statistical probability is accepted as evidence in a court of law?
"Your face is too generic that the AI drew you as all of our suspects."
https://www.blog.google/products/google-plus/saving-you-band...
"To help everyone be able to see the beautiful photos that photographers share to Google+ in their full glory"
"we’ve only begun to roll this out for high-resolution images when they appear in the streams of a subset of Android devices."
Anybody has an idea which subset?
I wonder if there's a guaranteed-optimal way to do that, given whatever RAISR is using as an algorithm; some logical inverse to the particular way it adds information. Maybe truncated wavelet compression?
Deepart.io now has a video mode [0] that takes this into account.
[0] https://deepart.io/video/
https://www.youtube.com/watch?v=5kaI_qr0pFA
https://people.csail.mit.edu/celiu/CVPR2011/default.html
Contact him if you want to use the technology, dunno how much he charges for licensing.
http://www.infognition.com/VideoEnhancer/
For example, swiftkey does this already with its keyboard prediction. Prisma does it with image styling.
So how do they practically get the client to decode / upscale? JavaScript?
I must not understand what you mean by scaling up, I though the best way to scale up pixel art was to disable interpolation, so each pixel just becomes a perfectly sharp square?
Plenty to take a look at here:
https://en.wikipedia.org/wiki/Pixel_art_scaling_algorithms
But if they wanted they could probably try to train their neural network for pixel art specifically, similar to https://github.com/nagadomi/waifu2x
- http://www.ifp.illinois.edu/~jyang29/papers/chap1.pdf
* Image super-resolution: Historical overview and future challenges
- http://www.robots.ox.ac.uk/~vgg/publications/papers/pickup08...
* Machine Learning in Multi-frame Image Super-resolution
- http://www.cs.huji.ac.il/~peleg/papers/icpr90-SuperResolutio...
- http://www.wisdom.weizmann.ac.il/~vision/SingleImageSR.html
- http://chiranjivi.tripod.com/EDITut.html
- http://www.tecnick.com/pagefiles/appunti/iNEDI_tesi_Nicola_A...
- http://www.eurasip.org/Proceedings/Eusipco/Eusipco2009/conte...
- http://bengal.missouri.edu/~kes25c/
* http://bengal.missouri.edu/~kes25c/nnedi3.zip
* http://forum.doom9.org/showthread.php?t=147695
- http://arxiv.org/pdf/1501.00092v2.pdf
* http://waifu2x.udp.jp/
* https://github.com/nagadomi/waifu2x
* http://waifu2x-avisynth.sunnyone.org/
* https://github.com/sunnyone/Waifu2xAvisynth
- http://i-programmer.info/news/192-photography-a-imaging/1010...
* https://github.com/david-gpu/srez
- http://arxiv.org/pdf/1609.04802v1.pdf
- https://github.com/alexjc/neural-enhance
The new thing here is that they're using it to save bandwidth, and running it on the user side.
[0] https://raw.githubusercontent.com/nagadomi/waifu2x/master/im...
[1] http://waifu2x.udp.jp/