Slashdot Mirror


Google's New Compression Tool Uses 75% Less Bandwidth Without Sacrificing Image Quality (thenextweb.com)

An anonymous reader quotes a report from The Next Web: Google just released an image compression technology called RAISR (Rapid and Accurate Super Image Resolution) designed to save your precious data without sacrificing photo quality. Claiming to use up to 75 percent less bandwidth, RAISR analyzes both low and high-quality versions of the same image. Once analyzed, it learns what makes the larger version superior and simulates the differences on the smaller version. In essence, it's using machine learning to create an Instagram-like filter to trick your eye into believing the lower-quality image is on par with its full-sized variant. Unfortunately for the majority of smartphone users, the tech only works on Google+ where Google claims to be upscaling over a billion images a week. If you don't want to use Google+, you'll just have to wait a little longer. Google plans to expand RAISR to more apps over the coming months. Hopefully that means Google Photos.

59 of 103 comments (clear)

  1. ...without sacrificing photo quality by JasterBobaMereel · · Score: 4, Informative

    ....is a lie, it reduces image quality just in a way you cannot see visually

    If all you want to do is look at the image this is fine, but anything else that needs it full quality will be sacrificed

    --
    Puteulanus fenestra mortis
    1. Re:...without sacrificing photo quality by Big+Hairy+Ian · · Score: 1

      it reduces image quality just in a way you cannot see visually

      If all you want to do is look at the image this is fine, but anything else that needs it full quality will be sacrificed

      I'd love to see the Steg implementation

      --

      Build a Man a Fire, and He'll Be Warm for a Day. Set a Man on Fire, and He'll Be Warm for the Rest of His Life.

    2. Re:...without sacrificing photo quality by OneoFamillion · · Score: 2

      Maybe it's only Google's spy algorithms that need the full res, the rest of the world can have the shitty version.

    3. Re:...without sacrificing photo quality by Carewolf · · Score: 1

      ....is a lie, it reduces image quality just in a way you cannot see visually

      If all you want to do is look at the image this is fine, but anything else that needs it full quality will be sacrificed

      Actually I think you could probably see it if the device are using isn't already so high def you can't tell the smallest details anyway. What they do is just request a 1/4 size image and then upscale it. Woo clever.

    4. Re:...without sacrificing photo quality by arobatino · · Score: 1

      I wonder how well this compresses compared with FLIF, which actually is lossless?

    5. Re:...without sacrificing photo quality by butzwonker · · Score: 1

      Don't worry, you will still be able to find even the smallest detail after a few days of zoom and enhance.

    6. Re:...without sacrificing photo quality by Gr8Apes · · Score: 1

      Terribly. It is essentially a good resolution doubling solution.

      --
      The cesspool just got a check and balance.
    7. Re:...without sacrificing photo quality by Anonymous Coward · · Score: 1

      I bet the difference is immediately noticeable, that's why they are afraid to show a full size example of this magical zoom and enhance technology.

      I'll stick to WebP lossless for archival and JPEG 95% for general use.

    8. Re:...without sacrificing photo quality by PoopJuggler · · Score: 5, Insightful

      is a lie, it reduces image quality just in a way you cannot see visually

      If you can't see any difference then the visual quality is the same. Don't conflate visual quality with informational purity. Claiming it's a lossless conversion would be a lie, but that's not what they're claiming.

    9. Re: ...without sacrificing photo quality by Pieroxy · · Score: 1

      Exactly. Just like in audio, where you need 384kHz rate to capture the True Signal, Nyquist limit be damned.

      And at least a 48bit resolution. Otherwise the dynamic range will be horrendous

    10. Re:...without sacrificing photo quality by Anonymous Coward · · Score: 1

      Why would you use an obscure format like WebP for archival instead of something well-known like 24-bit PNG?

    11. Re:...without sacrificing photo quality by mjwx · · Score: 4, Insightful

      ....is a lie, it reduces image quality just in a way you cannot see visually

      If all you want to do is look at the image this is fine, but anything else that needs it full quality will be sacrificed

      Well that's kind of the point. They didn't develop this for image manipulation tools... they developed it to save bandwidth on websites. If you cant visually tell the difference, Mission Hay-Fucking-Complished.

      --
      Calling someone a "hater" only means you can not rationally rebut their argument.
    12. Re: ...without sacrificing photo quality by arth1 · · Score: 3, Insightful

      And at least a 48bit resolution. Otherwise the dynamic range will be horrendous.

      With the loudness war being lost, there is no dynamic range. Going to more bits is pointless if producers only use three bits of the 16 we already have in order to make everything sound as loud as possible.

    13. Re:...without sacrificing photo quality by arth1 · · Score: 2

      If you can't see any difference then the visual quality is the same.

      That is only true as long as the encoder controls the presentation.
      If a user is allowed to do things like zoom, rotate to non-square angles or even calibrate gamut, fidelity problems can become visible even if not seen in "standard presentation".

    14. Re:...without sacrificing photo quality by swillden · · Score: 4, Insightful

      ....is a lie, it reduces image quality just in a way you cannot see visually

      If all you want to do is look at the image this is fine, but anything else that needs it full quality will be sacrificed

      Actually I think you could probably see it if the device are using isn't already so high def you can't tell the smallest details anyway. What they do is just request a 1/4 size image and then upscale it. Woo clever.

      No, they request a 1/4 size image, then upscale it, then selectively restore details to portions of the image that humans pay attention to. The result isn't much larger than the 1/4 size image, but looks much better to people.

      I've been doing something vaguely similar (though not automatically) for years in my portrait photography. I selectively sharpen (actually, oversharpen) key facial features (especially eyes) that are the things that people focus on when looking at a portrait. This makes the whole image seem sharper and more vibrant, though it isn't. In fact, if the entire image were sharpened in the same way it would look terrible. This is especially useful when I shoot with a soft-focus filter which creates a very nice dreamy effect but can make the subject look dull. Soft focus plus sharpened eyes (and, often, lips -- it depends) make a beautiful portrait which people find more appealing and "realistic" than without the phony sharpening. Similarly, reduced overall resolution with detail retained in the right places makes an image look as good as the full resolution version, even though it's not.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    15. Re:...without sacrificing photo quality by ShanghaiBill · · Score: 2

      If a user is allowed to do things like zoom, rotate to non-square angles or even calibrate gamut, fidelity problems can become visible

      If you want to do that, then right-click to download the original image. But for the other 99.9% of the time, this will save bandwidth.

    16. Re: ...without sacrificing photo quality by Miamicanes · · Score: 4, Informative

      How well do Google-compressed images deal with enlargement compared to JPEG, JPEG2000, etc? It's nice to say a new algorithm reduces file size without visual consequences, but compression artifacts can manifest themselves in new, unforseen ways. And future upsizing algorithms might end up being able to get better results from one due to "useless" data the other discards.

      Case in point: VHS had a nominal resolution of approximately 160x480 or 512 (with color resolution that barely approximated 40x480/512). But with extreme oversampling of a wider tape path (so you also capture unintended sideband artifacts), you can clean up & resample the video in ways that would be frankly *impossible* if your only remaining source copy was literally a 160x480/512 mpeg-1 capture.

      This is a big deal for preservation of analog media. It's deteriorating by the week, but for videotape in particular, there's no good way to massively oversample a decaying source in a way that will let us restore it better in the future. What we *need* is a videotape capture device with a dense array of read heads the full width of the tape, in at least two staggered rows (so row 2's sensors are centered between row 1's sensors), so the state of the entire tape can be captured (the dense array is needed because VCRs recorded diagonally via rotating heads to increase the tape speed relative to the read head... it "kind of" worked, but the capture quality with normal VCRs is *profoundly* impaired if the capture VCR's tracking deviates from the recording VCR's tracking... and the recording VCR's tracking ITSELF might have been "wobbly". We now have the ability to make dense read heads, and sufficiently-cheap phase-change magneto-optical storage space (eg, non-LTH BD-R) to do high-density two-dimensional linear capture so the tracking can be handled after the fact via software.

      This isn't sci-fi. There are already floppy drive controllers that can use a normal PC quad-density floppy drive to oversample a 5-1/4" c64/apple II/etc floppy (~25 sectors/track, ~35 tracks at 40-track stepping) at 50+ sectors/track and 80 track steppings. They can recover data from old floppy disks that would have been *unreadable* by the original drives & computers **years** ago. And with some floppy mods to give you 160 or 320 track steppings and slow down the rotation speed, even more discs become readable. Not to mention, even the lesser method can trivially overcome disc-based copy protection (most of which depended on storing data in ways that old drives could semi-reliably read, but couldn't reliably/easily write (or wouldn't, if you used the official kernel/OS/BIOS/API).

      Anyway, the point is, for capturing decaying analog content from decaying media, compression is BAD if you ever want to be able to restore or enhance it someday.

    17. Re:...without sacrificing photo quality by arth1 · · Score: 1

      If you want to do that, then right-click to download the original image. But for the other 99.9% of the time, this will save bandwidth.

      True for the first two, but not for gamut corrections. Those take effect also on the first view, and defeats perceptual optimizations made for a different gamut.
      The underlying problem is the age-old one for web, where publishers mistakenly believe that they can control the presentation. It becomes a trade-off where you make things better for most, but worse for some.

      A similar problem is seen where images are adjusted for LCD monitors, using subpixels to increase the apparent resolution or color clarity (or pre-rendered text as part of an image). That may work great internally in a company where you can make sure that every user has an LCD monitor with RGB ordering, but makes things butt ugly on one that has BGR or vertical subpixels.

    18. Re:...without sacrificing photo quality by Anonymous Coward · · Score: 1

      I selectively sharpen (actually, oversharpen) key facial features

      That's weird, I sharpen the breasts and pussy and blur that face in my photos.

    19. Re: ...without sacrificing photo quality by AmiMoJo · · Score: 1

      This is going to be used for social media. Google sees emerging markets where bandwidth is limited and figures it can get an edge by providing better quality images on slow connections. They do this by taking an original large image, down-scaling it to 1/4 size to reduce bandwidth, and then scaling it back up again on the device.

      The scaling up uses machine learning to improve the result. Essentially it learns what things look like in real life, and then uses that knowledge to fill in the 75% of pixels that were discarded due to down-scaling. Previously the additional pixels would be calculated using pure mathematics (e.g. bilinear or bicubic interpolation), now Google has added some machine intelligence to the process.

      The test images look remarkably good, but I wonder how well it will do in real life.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    20. Re:...without sacrificing photo quality by BlackPignouf · · Score: 3, Informative

      +1.

      It's really impressive how much a difference sharp eyes make. I like taking close-up portraits with my 85mm f/1.4 on a full frame sensor.
      99% of the whole picture is basically completely out of focus. If the other 1% falls on the eyes, the picture looks perfectly sharp.
      It's junk otherwise.

    21. Re:...without sacrificing photo quality by swillden · · Score: 4, Insightful

      +1.

      It's really impressive how much a difference sharp eyes make. I like taking close-up portraits with my 85mm f/1.4 on a full frame sensor. 99% of the whole picture is basically completely out of focus. If the other 1% falls on the eyes, the picture looks perfectly sharp. It's junk otherwise.

      Yup. When people look at portraits, they look first, last and middle at the eyes. My slight oversharpening brings out detail in the irises and lashes that people don't consciously notice but really make the image "pop".

      Most of photography is understanding how humans see images and enhancing (with various techniques, including composition, focus, lighting, post-processing etc., etc.) the portions that the photographer wants the audience to look at, in ways the audience finds compelling. In hindsight it's obvious that you can take random photos and go the other direction, losing detail that no one cares about, without degrading human perception of the image. Doing it well requires some understanding of the content of the image, though, so it takes a smart-ish system.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    22. Re:...without sacrificing photo quality by Zaiff+Urgulbunger · · Score: 1

      Sharpen the knees too?

    23. Re:...without sacrificing photo quality by syntotic · · Score: 1

      As long as they do NOT lose the original picture but only use this for broadband management, it is OK.

  2. Doodle by Big+Hairy+Ian · · Score: 1

    How well does it do if you replace the lower quality picture with a doodle? Of course this will be no good to the internet unless they open source it.

    --

    Build a Man a Fire, and He'll Be Warm for a Day. Set a Man on Fire, and He'll Be Warm for the Rest of His Life.

    1. Re:Doodle by djinn6 · · Score: 1

      You should replace it with a meme. This is the internet after all.

    2. Re: Doodle by Miamicanes · · Score: 1

      Probably quite badly. I know that Fraunhoffer used an acapella song by Dido as their "acid test" for judging various mp3 compression schemes. Complex sounds and images compress easily... it's the ones that are the equivalent of a pencil sketch on a napkin or a flute solo that make the limits of a compression algorithm *really* stand out.

  3. This is awesome by Esteanil · · Score: 2, Interesting

    I can't wait until you get technology like this combined with eye tracking to decide on-the-fly what parts of your VR experience are the most visually important and can optimize rendering accordingly.

    On of my main pet peeves with current VR is that I can't see why you'd need to render at full resolution outside of the eye's focus area, which should make it possible to massively reduce the rendering required to get amazing quality.

    If you can also optimize by using machine learning to decide which areas are perceptually important that should make it possible to focus your processing resources even better on the parts that matter for the visual experience.

    --
    I'm a dreamer, the world is my playpen. But hey, I'm a serious person, I can't dream all the time.
    1. Re:This is awesome by JustNiz · · Score: 2

      >> On of my main pet peeves with current VR is that I can't see why you'd need to render at full resolution outside of the eye's focus area,

      I really can't imagine that you can reduce the quality of any part of the image enough to make a performance difference without at least subconciously noticing on some level though. That said, nVidia and other companies are already working on rendering only where you're looking, determined by active eye tracking sensors.

      It seems to me that the real visual quality problem in VR is not actually caused by a limit by GPU power, but that nearly all VR games released so far are by developers that are small entrepreneurial groups rather than large software houses, and don't have teams of artists etc., so are using very simple graphics assets just because they are much quicker/easier/cheaper to produce.

      Go look at The Lab to see whats actually possible for high detail and smoothness using current GPU technology, I realy dont think that GPU power is currently the real limiting factor here.

    2. Re:This is awesome by Bigjeff5 · · Score: 1

      I pretty much agree with your statements, with the caveat that the kind of LOD the OP is talking about would be really, really cool. Hard to do though, you need to track the eye and switch detail basically before they eye can register the image. If you're running at 60fps that means you get about two frames to switch detail levels to an appropriate setting, and really you probably want to get it done in that first frame to make it less likely that the player will notice.

      That takes more than just power, that takes some really clever software trickery to make that happen.

      --
      Security is mostly a superstition... Avoiding danger is no safer in the long run than outright exposure. - Helen Keller
    3. Re:This is awesome by dinfinity · · Score: 1

      There's a company working on exactly that.
      http://www.theverge.com/circui...
      https://www.getfove.com/

      I can't remember where, but I think I saw a hands-on review that said that it actually works really well.
      I found it slightly hard to believe, given that raising the detail after you've moved focus to another place (especially with saccades) is going to have some delay.

    4. Re:This is awesome by GNious · · Score: 1

      Eh, FOVE?

    5. Re:This is awesome by JustNiz · · Score: 1

      For those of us with top-end GPUs I just hope we will be able to turn that "feature" off, because I will bet a whole dollar that I will be able to notice it and won't like it.

  4. Actual Headline: Google+ Serves over 1B images by Overzeetop · · Score: 1

    52 Billion images a year? Damn, that's way more traffic than I ever would have expected on G+

    --
    Is it just my observation, or are there way too many stupid people in the world?
    1. Re:Actual Headline: Google+ Serves over 1B images by ShaunC · · Score: 1

      51.99 billion of those are probably just copies of this and these...

      --
      Thanks to the War on Drugs, it's easier to buy meth than it is to buy cold medicine!
  5. Sounds like... by Chuq · · Score: 3, Funny

    ... something they stole from Pied Piper.

    --
    - Chuq
    1. Re:Sounds like... by jonr · · Score: 1

      Probably using middle-out compression

  6. Better article by alexhs · · Score: 5, Informative

    Summary's links are fact-free ads.
    I found this one, that has the merit to link to the arXiv article about the process.

    --
    I have discovered a truly marvelous proof of killer sig, which this margin is too narrow to contain.
  7. Even better by hcs_$reboot · · Score: 1

    Given the number of pictures harvested by Google over the years, and provided that many people send the same boring pics (Eiffel t., China w., s. of Liberty...), in gmail for instance Google has just to put the index of the same stock picture they already have (say 8 bytes) and that's it. For a 8 MB pic, that's a 99.9999% compression rate.

    --
    Slashdot, fix the reply notifications... You won't get away with it...
    1. Re:Even better by MrDoh! · · Score: 1

      They could default to installing a chrome .dll that has all the common pictures people upload (generic plate of food, someone pulling a duck face selfie), then just transmit the differences between their already stored, local, base picture, and the other pic. If it's close enough, then don't even do that, just show the double good selfie and/or the double plus ungood meme. Would save TB's a day.

      --
      Waiting for an amusing sig.
  8. Re:More useless shit enslaving users by cdrudge · · Score: 2

    Do no evil my ass!

    What's evil in this case? Yesterday you didnt have /usr/bin/raisr and you probably don't use Google+. Today you know that google has /usr/bin/raisr but you still don't have it, and you still aren't using Google+. Nothing in your life has changed materially and you are no worse off then you were yesterday. At minimum, Google was neutral, neither good nor evil. The fact that it might help other people tips it slightly in the good direction even if it never gets released as /usr/bin/raisr.

  9. Acronym bumbled by drafalski · · Score: 3, Funny

    RAISR (Rapid and Accurate Super Image Resolution) does not work... try Rapid and Accurate Image Super Resolution

  10. Who invented the acronym "RAISR"? by Keith_Beef · · Score: 1

    "Rapid and Accurate Super Image Resolution" should give RASIR.

    Which illiterate philistine came up with "RAISR"?

    1. Re:Who invented the acronym "RAISR"? by Motherfucking+Shit · · Score: 1

      Which illiterate philistine came up with "RAISR"?

      Rapid And Inaccurate Shitty Resolution?

      --
      "BSD: Free as in speech. Linux: Free as in beer. Windows 10: Free as in herpes." --Man On Pink Corner in #52607549.
  11. Google is AAF by Virtucon · · Score: 1, Insightful

    Shit, first it was vp8/WEBM but momentum seems to have died on that but now there's vp9 and it's better than vp8 and now images. Google you're annoying as fuck with the moving targets on your open standards, and while I think it's great that we now have another way to store images but we still have GIF, PNG, SVG, JPEG and even your own )(*@)(*! WEBP which is based on VP8 which you don't like anymore. So now with RAISR what do we all do start buying dart boards to figure out what standards we as ISVs should be targeting? None of the other formats are going away anytime soon but since vp8, vp8, WEBP and RAISR are all under your roof, can we ask that you make up your damn minds, please?!?!

    --
    Harrison's Postulate - "For every action there is an equal and opposite criticism"
    1. Re:Google is AAF by Anonymous Coward · · Score: 1

      Innovation is only good if there is actually time to put it to use. Google is constantly releasing products and services that end up cut before they have a chance to become anything useful and people don't like having to constantly change all of their shit around.

      Captcha: flipflop

    2. Re:Google is AAF by swillden · · Score: 1

      Google you're annoying as fuck with the moving targets on your open standards, and while I think it's great that we now have another way to store images but we still have GIF, PNG, SVG, JPEG and even your own )(*@)(*! WEBP

      This ins't a new standard. The images processed by this algorithm are standard JPEGs, just adjusted in a way that reduces image complexity in a way that is imperceptible to humans.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    3. Re:Google is AAF by thegarbz · · Score: 1

      can we ask that you make up your damn minds, please?!?!

      So what you're saying is: Please cease progress! Did I translate that right?

    4. Re:Google is AAF by Virtucon · · Score: 1

      And everybody agrees JPEG is old, tired and long in the tooth the old patent issues. Then there was JPEG-2000 but again patent issues. Again, why would Google push this on top of what's essentially something that collectively we've been told is dying and encumbered by *possible* patent issues? I can see from the press info and details that they've come up with a way to use ML in a new way, great. But again, why not on top of WEBP they're own great new way of doing this and not JPEG? you can convert JPEGs to WEBP why not? Oh the browsers don't support WEBP but do JPEG?

      This is all the wrong way round. First Google and the other 800lb gorillas out there agree on a standard & make sure it's royalty and patent free. Then the 800lb gorillas all agree and you too digital camera mfgs and cell phone mfgs, all agree and then JPEG is dead and long live BPG. Google tried it, Mozilla, Facebook and others held their noses even though WEBP is great. Sure it takes awhile to convert but guess what, it does pretty much what this new standard does. WEBP isn't dead either but now because of no consensus there's BPG. That's why they're AAF, rather than working with Mozilla, MSFT, Facebook et al and getting to consensus on a standard they all can agree upon we have multiple, fragmented streams of standards and Google here won't really eat its own dog food.

      --
      Harrison's Postulate - "For every action there is an equal and opposite criticism"
    5. Re:Google is AAF by Virtucon · · Score: 1

      No, Google, eat your own dog food. WEBP is a great standard show me how RAISR is better than WEBP since both are under the same rooftop.

      --
      Harrison's Postulate - "For every action there is an equal and opposite criticism"
    6. Re:Google is AAF by swillden · · Score: 1

      And everybody agrees JPEG is old, tired and long in the tooth the old patent issues. Then there was JPEG-2000 but again patent issues. Again, why would Google push this on top of what's essentially something that collectively we've been told is dying and encumbered by *possible* patent issues? I can see from the press info and details that they've come up with a way to use ML in a new way, great. But again, why not on top of WEBP they're own great new way of doing this and not JPEG? you can convert JPEGs to WEBP why not? Oh the browsers don't support WEBP but do JPEG?

      You're missing the forest for the trees, I think.

      This technique is entirely independent of image format. You could do it with JPEG, or WEBP or anything you like... you could even do it with lossless compression formats, though you'd obviously be making them lossy. The researchers used JPEG because it was convenient.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  12. Example of the JBIG2 compression fiasco by Guppy · · Score: 4, Interesting

    Let's hope Google has had the forethought to have the image recognition algorithm pre-screen for images containing numbers, letters, and diagrams. Pattern-matching compression can be pretty scary when it decides two patterns are close enough:

    http://www.dkriesel.com/en/blo...

  13. Not compression but restoration by Anonymous Coward · · Score: 2, Informative

    The algorithm is not for compression, but for enhancing a low resolution version of the image.

  14. mod me informative if you want by Anonymous Coward · · Score: 3, Informative

    WEBM is video, and the momentum didn't die, when you view a "gif" on imgur you're actually viewing a webm, they just decided to use the wrong extension name. WEBM uses the VP9 codec. WEBP on the other hand is just a container format for the VP8 codec, which was derived from how frames were stored in WEBM when it was VP8-based. WEBP could upgrade to VP9 without changing the format, however it would require developers to link against a new library. And, the changes to VP9 were mostly advancements in moving video so they decided not to bother with static images. RAISR isn't a format, from what I understand, it's an algorithm that requires an entire cloud-based platform running a machine learning heuristic designed to scale images in a way that doesn't look quality but saves on bandwidth. My guess is that it could be applied to any image format eventually. Not only are these technologies open source, and in some ways technically superior to competitors, but they're uninhibited by patents. The world owes Google a big favor for the work they've done.

  15. Re:Mobile vs Desktop? by Rockoon · · Score: 1

    Artifacts are especially bad on displays with good contrast ratios.

    --
    "His name was James Damore."
  16. Re:Google+ by mspohr · · Score: 1

    Glad to see that you're sticking to your principles!

    --
    I don't read your sig. Why are you reading mine?
  17. RAISR - sounds like by fahrbot-bot · · Score: 1

    Rapid and Accurate Super Image Resolution

    Sounds like the name of a Japanese game show.

    --
    It must have been something you assimilated. . . .
  18. Tell us what we really want to know! by RumGunner · · Score: 1

    What's the Weissman score?!

  19. Dupe by stephenmac7 · · Score: 2
    --
    "No man's life, liberty, or property are safe while the legislature is in session." -- Judge Gideon J. Tucker