Slashdot Mirror


Google Brain Creates Technology That Can Zoom In, Enhance Pixelated Images (softpedia.com)

Google Brain has created new software that can create detailed images from tiny, pixelated images. If you've ever tried zooming in on an image, you know that it generally becomes more blurry. You'd just get larger pixels and not a clear image. Google's new software effectively extracts details from a few source pixels to enhance pixelated images. Softpedia reports: For instance, Google Brain presented some 8x8 pixel images which it then turned into some pretty clear photos where you can actually tell facial features apart. What is this sorcery, you ask? Well, it's Google combining two neural networks. The first one, the conditioning network, works to map the 8x8 pixel source image against other high-resolution images. Basically, it downsizes other high-res images to the same 8x8 size and tries to make a match on the features. Then, the second network comes into play, called the prior network. This one uses an implementation of PixelCNN to add realistic, high-res details to that 8x8 source image. If the networks know that one particular pixel could be an eye, when you zoom in, you'll see the shape of an eye there. Or an eyebrow, or a mouth, for instance. The technology was put to the test and it was quite successful against humans. Human observers were shown a high-resolution celebrity face vs. the upscaled image resulted from Google Brain. Ten percent of the time, they were fooled. When it comes to the bedroom images used by Google for the testing, 28 percent of humans were fooled by the computed image.

28 of 146 comments (clear)

  1. Google can put together images by hackwrench · · Score: 2

    Google can put together images based on smaller images that look like faces.

  2. No CSI by Thelasko · · Score: 5, Informative

    I don't care how fancy the algorithm is, the original data was lost. This is still just a guess about the original content. It's just a better guess than was possible before.

    I just hope law enforcement doesn't think they can use this to solve any crimes.

    --
    One of our competitors trademarked the term "hypothesis". From now on, we will call them "boneheaded ideas".
    1. Re:No CSI by rmdingler · · Score: 5, Insightful

      Law enforcement would never rely upon unproven methods to improve conviction rates.

      --
      Happiness in intelligent people is the rarest thing I know.

      Ernest Hemingway

    2. Re:No CSI by Thelasko · · Score: 2

      Sure, it could narrow a search. However, this shouldn't be used as evidence in a trial, or even to obtain a warrant.

      --
      One of our competitors trademarked the term "hypothesis". From now on, we will call them "boneheaded ideas".
    3. Re:No CSI by Hognoxious · · Score: 2

      Absolutely not. If that was allowed to happen then before you know it they'd be acting as an army (except with different coloured uniforms) and we all know that'll never happen because FREEDOM and NUMBER ONE!

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    4. Re:No CSI by PPH · · Score: 2

      I just hope law enforcement doesn't think they can sell this to a jury.

      FTFY.

      CSI has already proved problematic in that jurors have developed unreasonable expectations of what is possible.

      --
      Have gnu, will travel.
    5. Re:No CSI by wbr1 · · Score: 2
      This needs so many more points. As someone who has been to prison - guilty as charged and pled to it, there are many who were not. There are plenty who were guilty in prison, but one that is not is too many.

      One particular case stands out to me. Navy soldier, on leave, drunk. Seen in an altercation in a bar with someone. that someone was known for instigating fights. Person winds up stabbed to death later.

      The suspect is arrested, and drunk, and with a huge lack of sleep, under duress from trained psychological tactics confesses. He later recants. Blood at the scene does not match hos or the victims blood type. None matches his. No physical evidence shows he was there. Convicted of 2nd degree murder.

      He has a family member (through an attorney) years later make an inquiry if the evidence is still in storage. Murder cases are supposed to have evidence kept for a very long time (if not forever) in my state. They are told yes. Attorney gets innocence project involved. A few months later the innocence project requests evidence, and is told sorry, it was 'lost' in a move between labs, never to be found again.

      This man did more than two decades before mandatory release. For a crime he possibly did not commit. He is not the only one with stories like this.

      Find this video from 2006 and ask has it gotten any better? http://www.cnn.com/CNN/Program...

      "The degree of civilisation in a society is revealed by entering its prisons." -Fyodor Dostoyevsky
      "If you want to see the scum of the earth, go to any prison - at shift change" - Paul Harvey

      --
      Silence is a state of mime.
    6. Re:No CSI by mmell · · Score: 2
      That's part of the problem though, isn't it? We all root for the protagonists on CSI, Criminal Minds, Law & Order, and at least half a dozen other police dramas when they routinely use some mystical all-knowing government database or "hack" into government and private (corporate) databases and nail the bad guy beyond all shadow of doubt. Many of us would groan when the protagonists would "hack" into live bank ATM security cameras and enhance the medallion number of a cab half a block down from a dozen greyscale pixels (my own wife constantly reminds me "it's only television" when I point out how ridiculous it is that they can create data out of the ether).

      So - will this algorithm always come up with medallion #1313, because that's what it "learned" a medallion number is? When the system "guesses" at the missing data based on what it "learned" during "training", will it always identify Christy Brinkley and Chuck Norris as the perpetrators? Some of this is valid - I can often read information which is blurry or even pixelated, but not always. Intuitively differentiating an 8 from a 0 based on how dark that few pixels are is different from proving that it was an 8 or a 0.

      One other concern - in the past, enhanced video has been useful in court, when there was someone able to explain exactly what transformations were done, someone prepared to prove why the enhanced video is still representative of the portrayed reality. Learning systems may often produce surprisingly accurate results from seemingly inadequate data, but it's considerably harder to prove that the enhanced information accurately portrays reality - perhaps impossible, given the complexity of such systems.

  3. Blade Runner-esque? by threadsafe · · Score: 2

    Is this Blade Runner-esque? Decker summoned some wicked camera technology. Don't bother me with those pesky limits to the physical laws.

    1. Re:Blade Runner-esque? by threadsafe · · Score: 4, Funny

      I'm actually a dog on the internet because I didn't proof or spell check my previous reply.

    2. Re:Blade Runner-esque? by FatdogHaiku · · Score: 4, Funny

      I'm actually a dog on the internet because I didn't proof or spell check my previous reply.

      Just paws before you hit Submit...

      --
      You have the right to remain sentient. If you give up the right to remain sentient, you will be elected to public office
  4. Ideal test case by fibonacci8 · · Score: 3, Interesting

    Feed it minecraft screenshots and japanese porn, and see what the result is.

    --
    Inheritance is the sincerest form of nepotism.
    1. Re:Ideal test case by Djoulihen · · Score: 2

      Well, if you are into that kind of stuff (neural network generated kind-of porn but not really), I suggest you check this out: https://open_nsfw.gitlab.io/ (Warning: somehow NSFW, or just weird, I don't know, but it will give you nightmares).

  5. It's about time! by npslider · · Score: 4, Funny

    So in other words... from a small picture of the earth viewed from orbit, Google can now show me my house AND the address on the UPS package sitting at my doorstep?

    Amazing!

    1. Re:It's about time! by mmell · · Score: 2

      Yes, they can! And the flip-side of this technology is that you can zip a 500GB database down to 200GB, zip that down to 700MB, zip that down to a few hundred KB . . . when it's 1B, you can embed it on a carbon atom on my DNA and I can carry it back to Kronos, for the glory of the Empire!

  6. What about zoom out ? by alexhs · · Score: 3, Funny

    If it doesn't do uncrop, it's lame.

    --
    I have discovered a truly marvelous proof of killer sig, which this margin is too narrow to contain.
    1. Re:What about zoom out ? by K.+S.+Kyosuke · · Score: 5, Interesting
      --
      Ezekiel 23:20
  7. "...it was quite successful against humans..." by turkeydance · · Score: 3, Funny

    now we know the perception and purpose,

  8. no need to photoshop by zlives · · Score: 2

    this is perfect for your "real" profile pic on dating sites, just upload a google enhanced image of your self created from your 8x8 pixel image. yes this celebrity is really me.

  9. They've been watching too much TV by taustin · · Score: 4, Insightful

    TV Detective: "We have this security video showing the murder."

    TV Lab Rat: "It's too grainy to tell how is it?"

    TV Detective: "Can't you enhance it?"

    TV Lab Rat: "Sure. Who do you want it to look like?"

  10. Really impressive progress by PhrostyMcByte · · Score: 3, Informative

    A while ago, someone made the nnedi upsampler that uses neural networks to upsample. It's still one of the best image upsamplers available.

    Google's approach is quite a bit different. Where nnedi worked to better extract detail out of what was already in the image, Google seems to literally fill in detail that was probably in the source but maybe not. Much, I guess, like how our own memories work. It's an interesting approach and the results look quite fantastic. My only question is how well it will work on a random sampling.

  11. Re:Stupid by ceoyoyo · · Score: 3, Informative

    I see you still don't actually know what a Fourier transform is.

  12. Bad summary by swillden · · Score: 5, Informative

    The summary's explanation of what this does isn't correct. It says:

    Google's new software effectively extracts details from a few source pixels to enhance pixelated images.

    It doesn't extract details from a few source pixels. It invents details to add to those source pixels, based on the knowledge that the pixelated image is of a face, and of what faces look like. It produces something that plausibly fits the input data. How close this is to the original image, pre-pixelation, depends on what images were in its training set.

    This is an interesting piece of work, but it doesn't mean that you can recover data that has been discarded.

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  13. They do that in movies all the time by OneHundredAndTen · · Score: 2

    Does this imply that movies have been lying to us all along? :-)

  14. Come on Google by CODiNE · · Score: 3, Insightful

    At least make the world a better place...
    by making this a MAME scaler.

    --
    Cwm, fjord-bank glyphs vext quiz
  15. Re:Stupid by PopeRatzo · · Score: 3, Interesting

    You will get smacked down if you try to feign knowledge in those domains because those of us who know our shit have zero tolerance for bullshit

    No, once information has been lost it's gone. No amount of time or frequency domain analysis will restore it.

    https://arxiv.org/pdf/1101.007...

    --
    You are welcome on my lawn.
  16. Re:Stupid by elgatozorbas · · Score: 2

    Anti-aliasing is not "providing data that is not actually there", anti-aliasing is removing data that is actually not there, more specifically high-frequency aliases of the low-frequency information. Hence the name anti-aliasing.
    In practice, this means that the best any algorithm can do to improve a (general) blocky image, is smooth the edges of the blocks. What this algorithm apparently does, as far as I understand, is just correlate the blocky image to a library of known facial features. This has nothing to do with FFT or anti-aliasing whatsoever.

    Apart from that, unless your name is "M", I am afraid

    I know this because I am friends with both of the "B"s in BBM.

    doesn't really mean anything.

  17. Re:Stupid by AmiMoJo · · Score: 2

    A Fourier transform takes a signal and converts it into a bunch of sine waves that when combined will reproduce the original signal.

    A signal is just varying amplitude over time. A sine wave is a signal where the amplitude is sin(t), where t is time. It turns out that all signals can be constructed by combining sine waves. The more sine waves you have the close to the original signal you can get.

    Why it is useful to convert a signal to sine waves? Say you decide you are going to use 20,000 sine waves, the first one a 1Hz wave, the second one a 2Hz wave, 3Hz, 4Hz all the way up to 20,000Hz. You use a Fourier transform to convert the signal to those sine waves. Now you increase the amplitude of the low frequency sine waves, say 200Hz and below. Now do another Fourier transform to convert from sine waves back into a signal. Congratulations, you just pumped up the bass on your music.

    In technical terms the signal is in the time domain, and the sine waves are in the frequency domain.

    Disclaimer: This is a simplification, it's more complex than this but without getting into the heavy maths of it, this is basically what's going on.

    --
    const int one = 65536; (Silvermoon, Texture.cs)
    SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC