Slashdot Mirror


Algorithm Seamlessly Patches Holes In Images

Beetle B. writes in with research from Carnegie Mellon demonstrating a new way to replace arbitrarily shaped blank areas in an image with portions of images from a huge catalog in a totally seamless manner. From the abstract: "In this paper we present a new image completion algorithm powered by a huge database of photographs gathered from the Web. The algorithm patches up holes in images by finding similar image regions in the database that are not only seamless but also semantically valid. Our chief insight is that while the space of images is effectively infinite, the space of semantically differentiable scenes is actually not that large. For many image completion tasks we are able to find similar scenes which contain image fragments that will convincingly complete the image. Our algorithm is entirely data-driven, requiring no annotations or labelling by the user."

198 comments

  1. Finally... by setirw · · Score: 5, Funny

    Uncensored Japanese pornography!

    --
    This message printed on 100% post-consumer recycled electrons.
    1. Re:Finally... by miletus · · Score: 0

      You beat me to the punch

    2. Re:Finally... by Anonymous Coward · · Score: 0

      We can fix Goatse!

    3. Re:Finally... by mwvdlee · · Score: 3, Insightful

      The algorithm requires images of similar content which can be used to fill the holes.
      Where are you going to find such images?

      --
      Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
    4. Re:Finally... by funkatron · · Score: 3, Funny

      The entire internet outside slashdot

      --
      "Welcome to our world. We are the wasted youth. And we are the future too." Yes, I know these are stupid lyrics.
    5. Re:Finally... by Anonymous Coward · · Score: 0

      My thought exactly! I wonder what this algorithm would "fill the gap" with :P

    6. Re:Finally... by tomhudson · · Score: 0

      "My thought exactly! I wonder what this algorithm would "fill the gap" with :P"

      Wait a year for it to be sold ... then ... IMAGE ADS BY GOOGLE!

      Probably a Pepsi logo ... (certainly a lot better than the pumpkin).

      Besides, we're looking to replace the goat guy. Here are some submissions by others (you can submit your candidates as well - the poll will be done in September), and the first suggestion. No, they're not safe anywhere - not at work, not at home.

    7. Re:Finally... by pla · · Score: 5, Interesting

      Finally... Uncensored Japanese pornography!

      More seriously, I can see this applied to "fixing" pictures of just about anyone you want to see naked.

      Fake celeb slips will of course come first, but why stop there? That cute girl at the coffee shop? Snap her with the camera phone, erase all those pesky clothes, and let this algorithm do its thing.

      Of course, I could also see this used for more nefarious (even "sick") purposes... Ex-GF cheated and you don't have any nude pics to release to the web? You do now. And if you "repaired" a fully-clothed original of someone underage, would it still count as child porn?

      And I don't even want to think about how the furries would use this... Ugh.

    8. Re:Finally... by SnarfQuest · · Score: 3, Funny

      Take one of those celebrity nude photos with pixelated parts, cut out the pixelated parts, then run this on them.

      You get photos of the celebrities, wearing japanese clothing!

      --
      Who would win this election: Andrew Weiner vs Andrew Weiner's weiner.
    9. Re:Finally... by kayditty · · Score: 1, Insightful

      Fake celeb slips will of course come first, but why stop there? That cute girl at the coffee shop? Snap her with the camera phone, erase all those pesky clothes, and let this algorithm do its thing. Of course, I could also see this used for more nefarious (even "sick") purposes... Ex-GF cheated and you don't have any nude pics to release to the web? You do now. And if you "repaired" a fully-clothed original of someone underage, would it still count as child porn?
      You could also just.. draw these images. It's almost exactly the same thing, except the computer-assisted method takes less effort (and talent).
    10. Re:Finally... by Anonymous Coward · · Score: 1, Funny

      You've probably already got a processor which can erase a woman's clothes, in real time no less. The male human brain and eye are designed for it.

    11. Re:Finally... by guibaby · · Score: 1

      I am disappointed. This article has been up for more than an hour. Where is the obligatory GOATSE reference?

      --
      Historically, the claim of consensus has been the first refuge of scoundrels.
    12. Re:Finally... by sumdumass · · Score: 0, Offtopic

      Or even worse pictures then that. What happens when some aspiring junior detective wants to close a case and they use this to get your face in place of the actual bank robbers and the partial image from the bank surveillance system.

      I wonder if you could goto prison for an intentionally doctored picture presented by the cops? It doesn't matter the trial and accusations would destroy your job and life.

    13. Re:Finally... by voxel · · Score: 5, Funny

      I'd go more like this:

      You take a picture of that cute girl at the coffee shop. Snap her with the camera phone, erase all those pesky clothes, and let the algorithm do its thing.

      You wait for the algorithm to finish, it says "Done", you get all excited and click the button to see the result, and.... * DOH *, it put all her clothes back on, albeit a different color and style.

      --
      Modesty is one of life's greatest attributes
    14. Re:Finally... by mikael · · Score: 3, Funny

      Nothing for you to see here - please move along!

      ?

      --
      Vintage computer adverts: http://www.vintageadbrowser.com/computers-and-software-ads
    15. Re:Finally... by Kjella · · Score: 1

      If you look at the algorithm, it pretty much sucks when there's unclean lines at the edges. It's perfect when you can cut out part of the image along a texture like sea, concrete or to replace entire areas like a wallside. At the very best you'd end up with an ugly half-decapitated hack which you'd have to photoshop. It could probably be used to do things like make a bikini picture into a nude picture by choosing the most appropriate replacement though, but that's roughly as far as you'd get, and even then you probably have to post-process it.

      --
      Live today, because you never know what tomorrow brings
    16. Re:Finally... by It+doesn't+come+easy · · Score: 1

      There will be plenty to see once the image is filled in...

      --
      The NSA: The only part of the US government that actually listens.
    17. Re:Finally... by maxwell+demon · · Score: 2, Funny

      It was cut out and a text version of this program automatically replaced it by a "make people nude" comment.

      --
      The Tao of math: The numbers you can count are not the real numbers.
    18. Re:Finally... by Dragonslicer · · Score: 1

      I wonder if you could goto prison for an intentionally doctored picture presented by the cops? If you knowingly present an altered photograph as evidence at a trial, I would guess that that qualifies as perjury and/or obstruction of justice. Giving it to the police might only get you something like filing a false report. Either way, it would be bad for you.
    19. Re:Finally... by sbate · · Score: 2, Insightful

      I got this in my head the other day and obsessed about it. I thought this is it. The end of posting any pictures of my kids on line. I thought soon I will want those button sized anti-camera diodes pinned to their shirts like little Orthodox crosses. Of course I thought it through and well what are you going to do? The best thing I can think of is to actually ask the cute girl if she has any pictures of herself naked she may just have some you never know till you ask....

      --
      Added Pressly: "Oh, and by the way, milk is nothing but liquid meat."
    20. Re:Finally... by aywwts4 · · Score: 0

      Good idea, if we used any links from slashdot cute Japanese girls would be goatsed in their good bits.

      --
      Web Developers: Celebrate to our roots! Animated Gifs and Tiled Backgrounds, dont let our history die!
    21. Re:Finally... by sumdumass · · Score: 0, Flamebait

      Lol.. I hope your right. I'm thinking it will be something like DNA where they say that even though it could be wrong the probability based on X algorithm or something means it isn't likely.

    22. Re:Finally... by Impy+the+Impiuos+Imp · · Score: 1

      The non-pixellated version would have to exist somewhere, otherwise it would just re-paste the exact same pixellated part from another copy in cyberspace.

      Speaking of which, how would it even tell which "part" to use? The pixellated or non-pixellated one? Statistically, the pixellated one would probably be chosen because it would probably outnumber the non-pixellated one, even if it is available.

      Ahh, just go to Youtube and discover the joys of fully clothed Japanese girls kissing...

      --
      (-1: Post disagrees with my already-settled worldview) is not a valid mod option.
    23. Re:Finally... by Anonymous Coward · · Score: 0

      All of the photos there are much too old. Hell, the second is older than Goatse, and one is obvious shopwork. Sorry, I'll just keep linking people to /b/ if I want to expose them to the horrors of the Internet.

    24. Re:Finally... by RockWolf · · Score: 1

      And I don't even want to think about how the furries would use this...

      Seriously, what's with the furry-bashing? Sure, they're different, but they're also harmless. Be concerned about the paedophiles instead. Think of the children, not the fat 50-something guy in a female mouse fursuit.

      --
      February 9th, 2009 8:55pm: Slashdot becomes self-aware.
    25. Re:Finally... by tomhudson · · Score: 1

      I thought the biker one was fake, but apparently its for real - one of my coworkers said he had seen a documentary, and the guy actually survived being thrown off his motorcycle and getting impaled ...

      Still, if you DO come across some good pics, I'll put them in the contest.

    26. Re:Finally... by stuktongue · · Score: 2, Funny

      ... content which can be used to fill the holes.

      I got your content right here!

    27. Re:Finally... by JDHowells · · Score: 1

      You'd probably find that, having spent that time removing the pixelated areas, the algorithm would replace the blank area with... Some large, blocky pixels - having decided that this (based on the vast amount of pixelated images in its repository) is indeed what should be in those areas of the image?

    28. Re:Finally... by 4D6963 · · Score: 1

      And if you "repaired" a fully-clothed original of someone underage, would it still count as child porn?

      Well I'm afraid if you did that even on a child in bathsuit, you'd get a naked child with an adult vagina, so the question should be, would a normal picture of a child edited into giving them adult genitals make it child pornography? Could it be the advent of a new kind of sick fetish?

      --
      You just got troll'd!
    29. Re:Finally... by Fred_A · · Score: 1

      Contrariwise I can finally browse those porn sites I keep hearing about without being offended by all those naked people. I can use that algorithm to seamlessly add clothes !

      --

      May contain traces of nut.
      Made from the freshest electrons.
  2. Immediate Application by ObsessiveMathsFreak · · Score: 5, Interesting

    Broken or flaky video files. Nothing is more irritating than an mpeg, etc error that causes an entire block to go black and smear itself all over the place until the next keyframe. I don't expect realtime correction, but it would be nice if I could patch the file rather than do another six hour encode.

    --
    May the Maths Be with you!
    1. Re:Immediate Application by CaptainPatent · · Score: 4, Insightful

      Unfortunately, I think this particular algorithm would need a base set of data to begin working. While I'm sure portions of this algorithm could be implemented for such an application, it seems a base set is needed in a single image, therefore a full blank screen from a dropped frame or damaged images showing bad colors would not be successfully mended.
      If, on the other hand, you were a movie producer and needed to get rid of the frame change holes after loosing the master print of a film, you perhaps would be able to use such a program to mend those holes in the upper corner.

      --
      Well, back to rejecting software patent applications.
    2. Re:Immediate Application by Anonymous Coward · · Score: 0

      Surely software is possible now that simply takes the last known good key frame, applies all of the intermediate frames upto the corruption, and then generates and inserts a new key frame in place of the broken intermediate? If it was only one or even two intermediate frames that were replaced you wouldn't even notice it. You don't even need to re-encode the stream.

    3. Re:Immediate Application by MobyDisk · · Score: 1

      You might be better to do another six hour encode, depending on what is involved in this algorithm. I bet you would have to go through each frame, mark which areas a wrong, then obtain a library of semantically related images, then run the program against the frames that you marked bad - and still not have the right result.

      For what you are trying to do, a better idea would be to copy data from the previous and next frames. That's what they do when they "digitally remaster" old films to get rid of scratches or marks.

    4. Re:Immediate Application by AvitarX · · Score: 1

      Or for hyper accurate results use every non-damaged frame of the video as your source material.

      I would think it would be nearly perfect.

      --
      Wow, sent an e-mail as suggested when clicking on "use classic" banner, and got a fast response that addressed my msg
    5. Re:Immediate Application by Anonymous Coward · · Score: 0

      But the algorithm can't begin drawing if it doesn't know what to draw. If the frame is dead, it would require a different algorithm to produce the frame from scratch.

    6. Re:Immediate Application by daenris · · Score: 1

      I don't think the OP was talking about lost frames, but rather artifacts in sections of frames due to compression/encoding problems.

    7. Re:Immediate Application by fractoid · · Score: 1

      Or those damn end-of-reel markers? It's about as stupid having those in modern movies as it would be to have a gramophone-needle-touches-record sound effect at the start of every mp3.

      --
      Rampant carbon sequestration destroyed the Dinosaurs' tropical paradise. I'm here to help repair the damage.
    8. Re:Immediate Application by mgblst · · Score: 1

      That quite commonly happens because you are using the wrong algorithm, or slightly different version of the algorithm.

    9. Re:Immediate Application by in5ane · · Score: 1

      I like the sound of that! /looks for winamp plugins...

  3. w00t! by morgan_greywolf · · Score: 5, Funny

    It was as if a million fake celebrity pr0n websites cried and were suddenly silenced...

  4. Re:imagine the porn! by Twisted+Willie · · Score: 1

    They use pictures gathered on the web to fill their database. Just 'repair' your favourite shots from your holidays at the beach if you want porn.

  5. Dead by Spad · · Score: 4, Informative

    Slashdotted already.

    BBC News coverage of the story is here: http://news.bbc.co.uk/1/hi/technology/6936444.stm

  6. Let me know when... by locster · · Score: 1

    you can deduce what was *actually* in the missing part of the image - rather than guessing it - by tracing back photons from teh camera lense back to their source. I seem to recall *that* technique being used in an episode of ST:TNG, probably dreamt up by Wesly Crusher - I nearly fell of my chair laughing.

    There's also that questionable bit of image analysis in Blade Runner where Deckard zooms in and shifts left/right on an image of a mirror and the image responds like it is an actual real mirror. oh dear.

    1. Re:Let me know when... by muellerr1 · · Score: 1

      I always thought that scene was showing that those were 3D holograms, not just 2D images. A hologram would respond that way.

    2. Re:Let me know when... by Anonymous Coward · · Score: 0

      It was a long while ago, but I somewhat remember an article on slashdot somewhat related to what you were saying. It wasn't about filling gaps inside the picture, but actually seeing what was outside of it. Using some photon analysis or the like via lightsources outside of the view of the picture, a computer program could actively map out the room.

      The details are fuzzy, and I'm sure a dotter with a better memory than I could fill in the correct details. But it was a pretty cool application of scientific knowhow.

    3. Re:Let me know when... by locster · · Score: 1

      werl the thing is when they are handling the photos they look like flat 2D images. But yeh perhaps they are supposed to be holograms. I'll tell myself that when I next watch the film to get me past that scene without rolling my eyes :)

    4. Re:Let me know when... by cerelib · · Score: 1

      That depends on how the data was captured. To be able to interact with a mirror, the hologram would have to be constructed from data taken at nearly every point of observation in the space. That seems entirely impractical. What is more convincing is technology that can construct a 3D image from a single, or a few, images taken from a camera device that also uses sensor data to get distances. Such a single point of observation recreation would not allow interaction with a mirror. Since it is sci-fi and they had sentient cyborgs, let's just assume they did figure out how to capture a nearly infinite amount of points of observation and call it a day.

    5. Re:Let me know when... by UbuntuDupe · · Score: 2, Insightful

      Very honoroble Locster:

      I agreeth with your merriment regaurding such tinkery. I myself saweth the play "InfoTrek" about the 21st century, in which a character, upon wishing to lern of a song he herd a few worrdes fromme, simple provided those words to his "computer" and shortly thereafter, generated an image sequence of a bande performing that song! I neerly interrupted the play with my laughter!

    6. Re:Let me know when... by Hatta · · Score: 1

      We're not quite there yet, but we can reconstruct what someone is looking at by deconvoluting the reflection in their eye.

      --
      Give me Classic Slashdot or give me death!
    7. Re:Let me know when... by CRG · · Score: 1

      The application you're thinking of was termed "Dual Photography" in the original paper: http://graphics.stanford.edu/papers/dual_photograp hy/DualPhotography.pdf Very cool stuff.

    8. Re:Let me know when... by fractoid · · Score: 1

      This is different to googling for the song snippet then searching youtube for video clip to said song? In degree, maybe, but not in kind. Or how about TrackID, the system that lets you phone a service that 'listens' to a sound byte and then tells you the track name, band, and album?

      --
      Rampant carbon sequestration destroyed the Dinosaurs' tropical paradise. I'm here to help repair the damage.
  7. ehhh.... by way2slo · · Score: 3, Interesting

    ...call me when they make this into a plugin for Photoshop.

  8. GREYCstoration by BlackPignouf · · Score: 5, Interesting

    And if you dont have any pictures database, there's always GREYCstoration:
    http://www.greyc.ensicaen.fr/~dtschump/greycstorat ion/index.html
    It's pretty impressive:
    http://www.greyc.ensicaen.fr/~dtschump/greycstorat ion/demonstration.html
    and works with the gimp.

    1. Re:GREYCstoration by FunkyELF · · Score: 1

      I have played around with it and wasn't too impressed.
      This one looks bad...
      http://www.greyc.ensicaen.fr/~dtschump/greycstorat ion/img/res_parrot.png

      This one you can mouse-over and have the image change on you. Again, not that impressed.
      http://www.greyc.ensicaen.fr/~dtschump/greycstorat ion/img/res_claudia16.html

      Looks very blurry.

      This one is actually okay, but its because its an owl. I'm sure all the blurring is there, its just hard to notice.
      The eye's pupil isn't as rounded as it could have been.

      http://www.greyc.ensicaen.fr/~dtschump/greycstorat ion/img/res_chouette2.html

      This software is okay at denoising camera photos for free, but I like neatimage and don't mind paying for it.

    2. Re:GREYCstoration by cluke · · Score: 2, Insightful

      Are you kidding me? Removing stuff like fences and overlaid captions from photographic stills and making a damn decent fist at filling in what would be underneath? You are a hard man to impress!

    3. Re:GREYCstoration by bigboard · · Score: 1

      I think you're thinking of the Resynthesizer plug-in for Gimp.

      The GREYCstoration does de-noising.

      --
      Cynicism is the natural defence of the romantic.
    4. Re:GREYCstoration by zalas · · Score: 1

      Inpainting works fine for the examples they gave on the GREYCstoration page, but it totally fails at large, contiguous areas. GREYCstoration's target problem is to restore thin or small areas whereas this paper seeks to restore larger areas. If you tried to inpaint, say a large block of a photograph that is just ocean, it will fail miserably.

    5. Re:GREYCstoration by WCLPeter · · Score: 1

      This is impressive, I'll go read the rest of the site later.

      But I wonder, could they make a version that will run on my HD-PVR?

      If they could get it going real-time, it just might be the answer to getting rid of the obnoxious station logos. Sure it would be fuzzy, but it'd be much better than staring at the ridiculously large "CW" logo when I'm trying to watch Smallville.

    6. Re:GREYCstoration by Anonymous Coward · · Score: 0

      It also does inpainting, image scaling, etc.--see the demo page.

  9. Faces by AtomicDevice · · Score: 1

    I want a picture of me with no face, and see what face it gives me! (c'mon clint eastwood)

    --
    Ze Atomic Device! It iz Ztolen!
    1. Re:Faces by dintech · · Score: 2, Funny

      I want a picture of me with no face, and see what face it gives me! (c'mon clint eastwood)

      My bet is on Nicholas Cage or John Travolta.

    2. Re:Faces by dschuetz · · Score: 1

      I want a picture of me with no face, and see what face it gives me! (c'mon clint eastwood) My bet is on Nicholas Cage or John Travolta. LOL!

      Damn, that was a bad movie.
    3. Re:Faces by Impy+the+Impiuos+Imp · · Score: 1

      >> I want a picture of me with no face, and see what face it gives me! (c'mon clint eastwood)
      >
      > My bet is on Nicholas Cage or John Travolta.

      My bet is on the red-headed kid who's in love with Meg Griffin.

      --
      (-1: Post disagrees with my already-settled worldview) is not a valid mod option.
  10. Yup, too cynical by faloi · · Score: 1

    My first thought on this was how easy it will be change just enough of a picture before releasing it to make it incredibly tough to find out the way you're representing the picture isn't the way it really was.

    --
    "It is a miracle that curiosity survives formal education." -Albert Einstein
    1. Re:Yup, too cynical by beavioso · · Score: 1

      Ha, I was just thinking along those lines. How long until a photo journalist or someone else edits out a subject with this tool.

      It'll never happen in [insert country here], it could only happen once, right?.

      Wikipedia link to Nikolai Yezhov

  11. What will it do if... by iknownuttin · · Score: 5, Funny

    I take a picture of a hole?

    --
    I prefer Flambe as apposed flamebait.
    1. Re:What will it do if... by Anonymous Coward · · Score: 2, Funny

      It will insert two hands, gripping the sides.

    2. Re:What will it do if... by McNihil · · Score: 1

      It will go directly to goats.ex without passing go?

    3. Re:What will it do if... by Anonymous Coward · · Score: 0

      Something like this this.

    4. Re:What will it do if... by wikthemighty · · Score: 1

      I think that's what a previous poster was thinking about when he mentioned Japanese porn and de-pixelating... ;)

      --
      "There are people who do not love their fellow human being, and I _hate_ people like that!" - Tom Lehrer
    5. Re:What will it do if... by ari+wins · · Score: 1

      It will use your picture to semantically replace Michael Jackson's nose.

      --
      Don't worry if you're a kleptomaniac, you can always take something for it.
    6. Re:What will it do if... by master_p · · Score: 1

      turn the photo into an advertisement of DNF?

    7. Re:What will it do if... by Anonymous Coward · · Score: 0

      goats.ex
      Boys and girls, this is what happens when you learn about the Internets by talking in person to your friends. Such behavior is to be discouraged.
    8. Re:What will it do if... by RuBLed · · Score: 1

      like the one on Mars? Someone should run the algorithm on that one, it would solve the question bugging us for so long...

    9. Re:What will it do if... by Anonymous Coward · · Score: 0

      It puts the lotion on its skin or else it gets the hose again.

  12. DO NOT use it on your Porn-Collection! by Opportunist · · Score: 5, Funny

    You never know what that "kinda-like" picture used to patch contains. You might get the opposite of what you want.

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    1. Re:DO NOT use it on your Porn-Collection! by Anonymous Coward · · Score: 0

      Idid not wish to think about shemales this early in the morning !

    2. Re:DO NOT use it on your Porn-Collection! by Anonymous Coward · · Score: 0

      Or you might just get want you deep down have always wanted, but haven't had the nerve to ask for.

    3. Re:DO NOT use it on your Porn-Collection! by Anonymous Coward · · Score: 0

      rapist

  13. Image compression? by grimJester · · Score: 4, Insightful

    If any hole in the image can be filled with a part of another pic, can't you compress an image by replacing one piece at a time with a reference to a patch? Also, how about replacing with patches of higher resolution than the original? I realize it would all be technically lossy as hell, but the compression artifacts should not be very noticable to the human eye, right? Additionally, how about using this for movie compression? Filling in based on info from previous and next frame.

    I may have to actually RTFA this time.

    1. Re:Image compression? by bakuun · · Score: 1
      As can be seen in their published paper, the data that are filled into those holes sometimes vary quite a lot with what was cut out (which was partly the point). If you have a picture of a street with a car, cut out the car and you get a picture which shows only the street, seemingly correct (although the part of the street which was inserted most probably is from a completely other street).

      This means that yes, you could use for image compression in the sense that the "decompressed" pictures would look fairly correct. However, the actual contents of the picture might change dramatically.

    2. Re:Image compression? by Anonymous Coward · · Score: 5, Informative

      If any hole in the image can be filled with a part of another pic, can't you compress an image by replacing one piece at a time with a reference to a patch?

      That only works if your patch addressing space takes less space than the bits you're replacing - and of course when you reload the image, you'll still get say a cat instead of an iguana in that window...

      Also, how about replacing with patches of higher resolution than the original? I realize it would all be technically lossy as hell, but the compression artifacts should not be very noticable to the human eye, right?

      I'm not sure you really understand the concepts here. Replacing a patch with a higher res would be possible (but you'd have to resample the image first, basically) - and would either be incredibly lossy or perfectly unlossy, depending on your viewpoint.

      From a compression standpoint there's no reason to consider a high res replace as more lossy as anything else. From a recognition standpoint, whether you're doing it high res or not, this would be a method that throws out image details for others... but that doesn't have anything to do with the resolution. So this is a lossy image manipulation, but not really a compression...

      And of course, none of that would cause any compression artifacts, so yeah the human eye wouldn't notice (assuming this software works as claimed)

      So to go back over the concepts:

      Lossy - a compression or manipulation to an image or other digital file from which you cannot reconstruct the original bits perfectly

      Compression Artifact - a noticeable image tearing or other visual defect allowing one to differentiate between a lossy-compressed file and it's original

      Additionally, how about using this for movie compression? Filling in based on info from previous and next frame.

      That's how movie compression came about. The first moving-file format that was widely available was animated GIF - which quickly got onto the trick of using transparent pixels for non-changing parts of a scene.

      MPEG (1) one upped it; one part of the spec specifies which blocks are to be sent in each frame; you can leave out any blocks you don't want... (they also smartly seperated the chrominance and luminance channels, and subsampled the chrominance channel - not only is it a smart compression as the human eye perceives luminosity at greater fidelity than chorminance, but it also ups the chances that you don't have to transmit some blocks)

      Fast Forward to MPEG-4 (non-H.263) - same basic block structure, same ability to not draw blocks, and now you can even specify offsets for blocks - you have probably heard this technology referred to as motion compression - basically if something is moving on the screen but remains relatively the same pixel values regardless of motion, the movie file will record the motion without recording every pixel - the difference between a good MP4 compressor and a bad compressor mostly has to do with how well it identifies candidates for motion compression, is my understanding...

    3. Re:Image compression? by whyde · · Score: 1

      Additionally, how about using this for movie compression? Filling in based on info from previous and next frame.

      They could just make Speed 2 a reference to Speed and be done with it, for example.

    4. Re:Image compression? by grimJester · · Score: 1

      I'm not sure you really understand the concepts here. Replacing a patch with a higher res would be possible (but you'd have to resample the image first, basically) - and would either be incredibly lossy or perfectly unlossy, depending on your viewpoint.

      From a compression standpoint there's no reason to consider a high res replace as more lossy as anything else. From a recognition standpoint, whether you're doing it high res or not, this would be a method that throws out image details for others... but that doesn't have anything to do with the resolution. So this is a lossy image manipulation, but not really a compression...


      My thoughts on this went along the lines of "I'd like to have this pic as my wallpaper, but it's only 300x200 pixels". Essentially the case when you want something that looks good, but don't care about accuracy.

      Good explanations, thanks!

    5. Re:Image compression? by Anonymous Coward · · Score: 0

      I think some of you didn't read the article. It doesn't reconstruct an image, it creates a plausible image, replacing holes with something from another image that could fit there. It won't necessarily have anything to do with what was supposed to be in the image in the first place.

      This is good for erasing eye-sores from pictures, but not for reconstructing lost data.

  14. pfft by Shadow+Wrought · · Score: 5, Funny

    CSI Miami and NY have had infinite zoom capability with photos for years, and you excited about this? Bah.

    --
    If brevity is the soul of wit, then how does one explain Twitter?
    1. Re:pfft by Anonymous Coward · · Score: 2, Interesting

      Blowing up pictures a really huge number of times is nothing new.
      The film 'Blow Up' Starring David Hemmings was made in the 1960's (AFAICR, As far as I can remember...) It used this as the core of the film plot.

      Now, as a photographer I am not overly worried by this until these doctored images find their way onto sites like Wikipedia and people start using them as the 'Real Thing'.

      There are laws in some countries that stop advertisers using 'doctored' images in things like holiday Brochures. Once we start getting lots of these who (unless they visit the place and record the image in a non digital manner) can tell which is the real thing. I forsee many law suits resulting from the over eager use of this technology.

      Many of my colleagues already suspect every picture they see unless it is one of their own. They regard every one as a doctored image.
      Think about the doubts that juries will start placing on crime scene photos?

      I for one hope that this is one 'invention' that never makes it into general use.

    2. Re:pfft by Anonymous Coward · · Score: 0

      No doubt such software will be abused and perhaps even in criminal cases. However, rather than just crossing our fingers and hoping it doesn't become a problem, how about we start preparing for such a situation in considering how to judiciously respond to such documents. The US justice system is notoriously slow at working with technological developments and it is largely due to either ignorance or the "let's hope it doesn't become a problem. Oh, shoot! It's already a problem! Now what do we do?" mentality.

    3. Re:pfft by Anonymous Coward · · Score: 0

      Actually, this makes the jury's job easier. You take a picture of the jury with the foreman (foreperson) holding a sign that says "We find the defendent not guilty." Then you cut out the "not guilty" part of the image, plug it in to the software and see what the answer is.

  15. What does "semantically" mean? by mosel-saar-ruwer · · Score: 3, Interesting


    Our chief insight is that while the space of images is effectively infinite, the space of semantically differentiable scenes is actually not that large. For many image completion tasks we are able to find similar scenes which contain image fragments that will convincingly complete the image. Our algorithm is entirely data-driven, requiring no annotations or labelling by the user.

    What are the "semantics" here?

    Is this like google images, where the nearby HTML text determines the classification of the image [i.e ASCII-text as meta-data for images]?

    Or is this a great big neural net of wavelet data which classifies the images mathematically?

    PS: I have the same question about that infamous Photosynth/Sea Dragon demonstration:

    http://www.ted.com/index.php/talks/view/id/129

    1. Re:What does "semantically" mean? by gurps_npc · · Score: 2, Informative
      I think by Semantically different they meant real/meaningfull/non-pointless differences.

      Effectively that means that just as you personally can recognize a bunch of pictures as all being "japanese porn" or all being "pictures of boats", or all being "pictures of men in suits", so can the computer.

      And that number of different categories that humans take pictures of is not that large, probably less than 200,000 different categorizable subjects.

      So with 1 million pictures, you have 5 of any category and can cut/paste pieces in without making it look obviously cut/paste.

      --
      excitingthingstodo.blogspot.com
    2. Re:What does "semantically" mean? by 12357bd · · Score: 1

      Don't know for sure I didn't RTFA, but:

      1) Human categories are far more than 200000, and even if you reduce the number to a manageable level, they have no graphical definition (suppouse the 'face' category, how could you clasify a cubist picture of a 'face'?), and

      2) The fact that they claim not to use annotations, probably means they are using clustering techniques to detect image groups with a high graphical intersimilarity factor, that's is, the class is not a concept but a bunch of similar pictures, I supposue.

      --
      What's in a sig?
    3. Re:What does "semantically" mean? by Mr.+Underbridge · · Score: 1

      What are the "semantics" here? Is this like google images, where the nearby HTML text determines the classification of the image [i.e ASCII-text as meta-data for images]?

      No. The matches are done in a purely data-driven manner, meaning by analyzing lots of images and guessing matches. Meta-data appears not to have been used.

      Or is this a great big neural net of wavelet data which classifies the images mathematically?

      Probably a lot closer to the truth.

      Another paragraph gives a clue to how they're using the term (which could have been better chosen, I agree):

      When our algorithm is successsful, the completion is semantically valid, although there might be slight low-level artifacts such as resolution mismatch, blurring from Poisson blending, or fine-scale texture differences between the image and the inserted patch.

      As I read that, what they're saying is that they are pretty good at finding a piece that makes sense to fill in the hole (ie, semantically valid). However, he's conceding the fact that the low-level image statistics would still give away the fact that the patch was made - probably in reference to techniques such as the guy at BlackHat who discovered that Al Quaeda doctors their images/videos, using such low-level image statistics to prove it. http://blog.wired.com/27bstroke6/2007/08/researche rs-ana.html

    4. Re:What does "semantically" mean? by dookiesan · · Score: 2, Informative

      The paper is published on Efros's website; I don't think neural nets were used, but I only glanced at a it a while ago. A program called 'gist' summarizes all of the images in the database and based on similar summaries they narrow down to a couple hundred images. Then they pick one image and look for a cut line slightly surrounding the missing area which minimizes some criterion. You don't see the seam because they fill in more than just what was missing.

    5. Re:What does "semantically" mean? by Venik · · Score: 2, Insightful

      I think this type of classification would be pointless. Even if the computer could somehow differentiate between photos of boats and photos of men in suites floating face down in the bay, this would not help with seamlessly patching holes in images. But the truth is, while software can recognize particular elements of a photo, there is no understanding of of the subject or its context. Thus a missing mountain range in the background can be replaced by an ocean or a parking lot. Whatever categories this method uses, these are not categories humans use. It is based on mathematical analysis of the image data. "Semantic" is just a word developers like to use, just "AI", or "knowledge-based computing".

    6. Re:What does "semantically" mean? by HobophobE · · Score: 1

      They mean from just a set of images (ie, no meta data or other 'context' as you wondered) they can identify similar images to the image to patch and then find good fits in those images. It's probably not that difficult to do, but the approach is the reason for that.

      You just set up some sort of heuristic mechanism to ascertain common elements in picture A and then scan through the set for matches ranking by number of hits.

      It's a lot like a radix trie in that it relies on partially similar nodes/pictures to work. A radix trie with completely heterogeneous leaves wouldn't work.

      So one way of using their algorithm would be to start with the set of images and build a tree/trie that would reveal 'close neighbors' and then select one, select a region, and patch it from a close neighbor.

      You could have a timelapse scene of a horizon and the tree/trie (whichever structure was more reasonable) would build such that shots taken in relative chronological proximity in a single day would likely be close neighbors while daybreak and nightfall wouldn't be.

      It would be interesting to see if the algorithm would pair a sunrise and sunset provided the context was the same.

      --

      -HobophobE
      Nothing laughs forever.
    7. Re:What does "semantically" mean? by richie2000 · · Score: 1

      how could you clasify a cubist picture of a 'face'? "Pixellated noise, with very large pixels".
      --
      Money for nothing, pix for free
    8. Re:What does "semantically" mean? by tehcyder · · Score: 1

      photos of men in suites floating face down in the bay
      Victims of the Spanish Inquisition?
      --
      To have a right to do a thing is not at all the same as to be right in doing it
    9. Re:What does "semantically" mean? by fatphil · · Score: 1

      That talk starts with what Rankin was doing last decade, and ends with some image processing that for example the Finnish VTT rejected as just a toy several years ago with a comment that they knew others too had already looked at it.

      I wasn't aware that Microsoft Research was quite so far behind the cutting edge.

      However, I can see a revival in Barnsley's fractal image compression coming on, now that CPU power has advanced.

      --
      Also FatPhil on SoylentNews, id 863
    10. Re:What does "semantically" mean? by fatphil · · Score: 1

      Nose with an eye in it?

      --
      Also FatPhil on SoylentNews, id 863
  16. doesn't generate new info by 192939495969798999 · · Score: 3, Insightful

    It takes an existing image and finds a very similar image in a huge catalog, then adds in a similarly-shaped piece to the existing image where applicable. So it's more like a puzzle solver than an image completion engine. If you don't have a huge, huge catalog of images, it won't really work for any given image as well as their samples.

    --
    stuff |
    1. Re:doesn't generate new info by aadvancedGIR · · Score: 1

      It's not that bad, all you need is the original full size image without the blurring and the prOn site address overimpression.

    2. Re:doesn't generate new info by lattyware · · Score: 1

      So the obvious solution is this:
      Computer: 'What is this a picture of?'
      User: 'Boats in a bay.'
      Computer does Google image search for boats in a bay and uses that as it's catalog.

      With higher speed internet connections, a couple of thousand images to download could work great.

      --
      -- Lattyware (www.lattyware.co.uk)
    3. Re:doesn't generate new info by pla · · Score: 1

      If you don't have a huge, huge catalog of images, it won't really work for any given image as well as their samples.

      So basically, most of us could only fix images missing pink/beige* areas.

      I'll still take it. ;)



      * - Nothing racist intended; most online porn quite simply features caucasian or light-skinned asian models, like it or not.

    4. Re:doesn't generate new info by JDevers · · Score: 1

      Dude, there is a LOT of black and Hispanic porn online, you just have to know where to look. Specialization is the key, the predominant audience is white or Asian, so the "average" site shows that...but there are LOTS of black or Hispanic sites.

    5. Re:doesn't generate new info by Random+Destruction · · Score: 1

      User inputs picture of boats in a bay.
      computer: What is this a picture of?
      User: rabid chinchillas and celebrity porn
      hilarity ensues

      --
      :x
    6. Re:doesn't generate new info by MythMoth · · Score: 1

      The internet being what it is, I suspect that the software will be subverted to allow you to digitally remove peoples' clothes in three... two... one... :-)

      --
      --- These are not words: wierd, genious, rediculous
    7. Re:doesn't generate new info by Anonymous Coward · · Score: 0

      Bring on the big booty b**ches!

      I loves me some DARK CHOCOLATE!

  17. Dear entrants of the Fark Photoshop contest: by circletimessquare · · Score: 3, Funny

    Due to recent advances at Carengie Mellon, you have all been made redundant by a computer algorithm. Sorry, progress is a biatch.

    Yours,
    some code and a database

    --
    intellectual property law is philosophically incoherent. it is your moral duty to ignore it or sabotage it
    1. Re:Dear entrants of the Fark Photoshop contest: by jellomizer · · Score: 1

      That is the problem for people who specialize in a technology, sooner or later it will become obsolete. People need to stay ahead of technology not just keep up with it. If your job requires you to do stuff that can be easilly written down so someone can pick right up and do it, there there is a good chance it could be obsoleted soon. But if your job requires you to be activly thinking beyond pure logic then you may have a chance to stay ahead of technology.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
  18. Human Vision work like this by Anonymous Coward · · Score: 0

    This is really cool.
    Much of our perception is affected by out experience
     
    As someone who has been slowly losing their hearing, I can attest that the mind REALLY DOES "fill in the blanks".
     
    This concept can probably be extended to other sensory perception (other than hearing/sight).
     
    Looks like the start of an intelligent sensing device. -- A baby step toward Asimov's dream.

  19. Everyday science by CustomDesigned · · Score: 2, Informative

    Actually, laser printers and supermarket scanners often use holograms of optics rather than actual glass optics (mirrors and lenses). The holograms are usually CGI - making equivalent real glass optics would be fabulously expensive and heavy, or even physically impossible.

  20. Howabout... by SimonGhent · · Score: 2, Interesting

    .. a picture of yourself, with your face blanked out... whose face would you get?

    --
    simon
    1. Re:Howabout... by Opportunist · · Score: 2, Funny

      Depends, will they have access to all the pics the NSA gathers from people travelling in and out of the US?

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    2. Re:Howabout... by E++99 · · Score: 1

      Whomever dresses the most like you. (Or stands in the most similar location when getting their picture taken.)

  21. Will it be as smart of MS Word? by elrous0 · · Score: 5, Funny

    Instead of "You appear to be writing a letter. Should I format it for you?" I guess we'll get "You appear to be viewing Japanese pornography. Should I de-pixelate it for you?"

    --
    SJW: Someone who has run out of real oppression, and has to fake it.
    1. Re:Will it be as smart of MS Word? by Opportunist · · Score: 1

      As long as clippy is jumping all over the pic akin to like it did in Word, it has the equivalent effect of a very cold shower. So, I'd guess no.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    2. Re:Will it be as smart of MS Word? by somersault · · Score: 5, Funny

      I'm going to have to take out trademark and patent on Clitty, your helpful little hentai fixing friend!

      --
      which is totally what she said
    3. Re:Will it be as smart of MS Word? by Opportunist · · Score: 1

      OMG!

      If anyone from fchan reads this. My eyes, my precious, pure, virgin eyes!

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    4. Re:Will it be as smart of MS Word? by boyko.at.netqos · · Score: 3, Funny

      That is simultaneously the most brilliant and stupid thing I've read on Slashdot.

      --
      I used to work for NetQoS. I no longer do, but want to keep the excellent karma attached to this account.
  22. Replaced with by sjaguar · · Score: 3, Funny

    "this section has been intentionally left blank"

    --
    If at first you don't succeed, call it version 1.0.
  23. Not "Arbitrary" by doug141 · · Score: 4, Informative

    Although the summary says the method will fill arbitrary holes, at the link that claim is not made, and in their examples they delete specific picture elements.

    1. Re:Not "Arbitrary" by Hays · · Score: 1

      That's because the reviewers get fussy if you just start removing arbitrary image regions because they say that's not representative of realistic image completion tasks. That's partly true, but then again missing data or an unwanted object could appear almost anywhere in the image. The algorithm never sees what was in the hole, so it might as well be an arbitrary blob.

  24. Similar to Microsoft's Photosynth by Scott+Tracy · · Score: 2, Interesting

    Reminds me of the recently announced Photosynth from Microsoft that seems to do something similar, but focuses on stitching images together rather than replacing parts of existing ones.

    1. Re:Similar to Microsoft's Photosynth by zalas · · Score: 1

      Apart from the registration of images to each other, they are very different systems. Photosynth is used to organize a collection of similar images into a cluster and register them with each other in order extract an intuitive 3D browsing method of photographs of the same thing. It requires a tremendous amount of pre-processing to use Photosynth. For this hole-filling algorithm, although it is searching for matches as well, it is doing so in a less strict fashion; it merely tries to find "similar" images instead of images of the same thing.

      For example, if I use a Photosynth collection of the Notre Dame, and I wanted to pan past the right of an image, Photosynth will find another image of the Notre Dame from the viewpoint I want, even if the lighting is different (day vs. night). If I used this with this hole completion algorithm described in the article, it'll find something that is similar to the right side of my image, but it might turn out to be, say, the Pantheon under similar lighting conditions.

  25. Don't by Gazzonyx · · Score: 1

    ...I may have to actually RTFA this time. Don't you do it! If you do, you can hand in your /. card, tazer, and key to the clubhouse, 'cause you're out of the club.

    Next thing you know, you'll be reading the flippin' article and posting insightful things that the rest of us, who spend our 9-5 journey together every day, will have no way to counter unless we start to read the freakin' articles! This will have an impact beyond what you realize. For the good of the greater, don't RTFA!
    --

    If I mod you up, it doesn't necessarily mean I agree with what you've said, sorry.

  26. Re:imagine the porn! by tsjaikdus · · Score: 1

    Would this be semantically valid patch for your holiday shots? http://www1.sch.im/wlp/large%20images/beaver%20nat %20geo.jpg

  27. New problem-solving paradigm? by Urban+Garlic · · Score: 4, Interesting

    I wonder if this is part of the beginning of a new, computationally-driven problem-solving paradigm. As more and more data is stored, and if search algorithms become more and more clever, the cost of "looking up" (computationally speaking) the answer to a problem might be lower than the cost of "remembering" (using local storage) or "figuring out" (using local CPU power) the answer.

    This is already happening informally in the personal sphere, because of things like Google, recently amplified by the iPhone and its inevitable successors in the ubiquitous rapid-access web-tool field. As they say, these days, if you have a web browser, you hardly have to wonder about anything anymore.

    Of course, problem solving by search isn't exactly a new paradigm, but it could be a newly-cheap paradigm.

    --
    2*3*3*3*3*11*251
    1. Re:New problem-solving paradigm? by Mr.+Underbridge · · Score: 1

      I wonder if this is part of the beginning of a new, computationally-driven problem-solving paradigm. As more and more data is stored, and if search algorithms become more and more clever, the cost of "looking up" (computationally speaking) the answer to a problem might be lower than the cost of "remembering" (using local storage) or "figuring out" (using local CPU power) the answer.

      No, it's part of an existing, computationally-driven problem solving field that has existed for decades.

      And don't refer to anything as a paradigm, it will make people want to throw things at you.

    2. Re:New problem-solving paradigm? by zalas · · Score: 1

      When they gave this presentation at work, one of the things they wanted to stress was that before, scientists were coming up with clever abstractions and trying to develop an artifical intelligence to solve many problems. Nowadays, if there is enough data, using the data in search/matching will rival the power of the "AI." For example, let's suppose our problem is OCR of people's handwriting. Without enough data, we might want to construct a "smart" approach whereby we analyze a few people's handwriting and try to derive rules to detect characters. However, if you have a gigantic dictionary/library of handwriting samples, you might do better to try to match your input to a sample from the library rather than the spend time developing rules.

  28. Seemlessly patched holes by CodeShark · · Score: 1

    This sounds wonderful. Now if I can just output those images in my head from the "dreams that I want to come true" subdirectory, and turn this nifty program loose to fill in the holes. I should be rich in no time.

    Oh wait, that particular technique is probably 1) patented, 2)copyrighted, and 3) a DMCA protected, non-reverse engineerable trade secret to boot. (yes I know that #1 and #2 are incompatible with #3. Get a life, people.

    *sigh*. Guess I'll have to do those dreams myself the long way.

    --
    ...Open Source isn't the only answer -- but it's almost always a better value than the alternatives...
  29. Now we need a patch for dead servers by objekt · · Score: 4, Funny

    We need a new way to replace slashdotted servers with portions of articles from a huge catalog in a totally seamless manner.

    --
    -- Boycott Shell
    1. Re:Now we need a patch for dead servers by powerlord · · Score: 1

      Its called the "slashdot search feature" just look for previous articles that cover the same technology. The only problem with this method is that the first hit to populate the cache tends to be costly. Luckily these are few and far between. :P

      --
      This space for rent. All reasonable inquiries will be entertained at proprietors discretion.
    2. Re:Now we need a patch for dead servers by Nazlfrag · · Score: 1

      That's what the 'dupe' tag is for.

  30. Seamless frame-up by Culture20 · · Score: 1

    Cut! That's a wrap, people. Great scene. I loved the way you handed him the hush money, like it was dirty.
    Now, remove the actors' faces, and use that new algorithm to seamlessly insert every known political figure for the stills.
    Welcome to spam-blackmail baby.

    1. Re:Seamless frame-up by Anonymous Coward · · Score: 0

      Cut! That's a wrap, people. Great scene. I loved the way you handed him the hush money, like it was dirty.
      Now, remove the actors' faces, and use that new algorithm to seamlessly insert every known political figure for the stills.
      Welcome to spam-blackmail baby. Photoshop has been around for almost two decades, you know.
  31. coral cache by objekt · · Score: 1

    So easy to do, so why doesn't /. provide these links as a matter of course?
    http://graphics.cs.cmu.edu.nyud.net/projects/scene -completion/

    --
    -- Boycott Shell
  32. Sematics by netrage_is_bad · · Score: 1

    In the paper (yes, I did read the paper...... well most of it.) They point out that their algo doesn't work well with complex semantics, if you have a mostly incomplete object in the picture, it won't be able to make a convincing fix for the image. It also has problems with the subject of the scene, one example was a brick building where the algo had filled the hole with rocks of a similar color. The algo does do a very good job otherwise, many of the pictures were very convincing and could probably replace alot of the photoshopers in the tubes. They do note that their algo isn't ment to figure out whats missing, just fill it with something that fits with the rest of the scene.

    It's an automatic photoshoping algo.

    1. Re:Sematics by Anonymous Coward · · Score: 0

      algo algo algo algo algo algo algo algo algo algo algo algo algo algo algo algo algo
      God that's annoying.
      Can't you type the entire word "ALGORITHM" like a normal person?

  33. conference spamming time by peter303 · · Score: 1

    Group gives paper at conference, then endlessly spams media with paper.

  34. Product Placement by dpilot · · Score: 1

    Now you've done it...

    Cut out a car, and the algorithm will replace the blank spot with a car. Not necessarily the same car, but a car of about the same size, etc.

    So for location shooting, you no longer need to go through extensive "scene sanitation" ahead of the shoot. Take select frames of the footage, point out what you want to snip, and let software propagate the snips through the rest of the footage. Then let this new stuff fill those holes with "approved product placement" items that fit the scene. Yank the Chevys, put in Fords. Yank the Pepsi, put in Coke, etc.

    --
    The living have better things to do than to continue hating the dead.
    1. Re:Product Placement by bakuun · · Score: 1
      Again, if you take out a car from the street, it doesn't put in a car - it puts in a bit of street. That is the whole point that the authors of the paper want to make - you can cut ut "irritating" parts in a picture and have them replaced by data that fits in better. Have a picture of the sea, but with an ugly boat disturbing the scene? Cut out the boat, run the software, and you will have a picture of the same part of the sea, but without the boat (note that the part of the sea which was obstructed by the boat may, of course, be from any other sea now - as long as it has similar colors).

      Of course, you could cut out all of the car except, for instance, the wheels. The software would then try to find a match for that - and would have to search only among other cars with similar wheels.

    2. Re:Product Placement by dpilot · · Score: 1

      But maybe you want product placement. So cut out the empty street and put in a car from your sponsor. I'm sure the program can be "assisted" in making these kinds of decisions. Like perhaps drop a "car icon" where you want a car, and the program knows it has to get rid of that "noise" or "blank spot" by picking an appropriate car to put there.

      --
      The living have better things to do than to continue hating the dead.
  35. Now there's an algorithm to fill in the blind spot by Dorceon · · Score: 1

    you get if you unwisely follow the instructions on the other current front-page article about building your own high powered laser? That's uncanny.

    --
    What sound do people on rollercoasters make? Hint: it's not Xbox 360.
  36. Total copyright infringinging engine by tjstork · · Score: 0, Offtopic

    Applications like this make me in favor of DRM if it can be used to protect the rights of artists to retain the creative content of their work. I'm getting more than sick of people that seem to think its ok to just go and copy an image off the web like it is nothing. If these images were so easy to make, then, why not make them yourselves! It takes work to make an image, whether it is a photograph, painting, or some other likeness thereof. This stuff on the internet, is not just yours to take.

    --
    This is my sig.
  37. Artificial Intelligence? by kayditty · · Score: 0

    I'm not an anthropologist, biologist, neurologist, or anything-ologist, for that matter, but isn't this very similar to how the human brain works? Why do we recognize images as being "Japanese porn" or not? Surely that's because we've seen that sort of thing before (well, most of us have), and we've stored these images inside of our memory. We can recognize them "semantically" because these images exist in our database, and our brain provides some sort of algorithm for detecting similarities in pictures.

    If I am not mistaken, that is what this project is doing. Could they have stumbled upon a possible solution to a difficult AI proble m without even realizing it?

  38. Is this how the brain fills in the blind spot? by dpbsmith · · Score: 5, Interesting

    This is very cool, and I wonder how similar it is to what the brain does with respect to blind spots?

    For those who don't know: each eye has a surprisingly large blind spot at the place where the optic nerve enters the eye. At reading distance, in the right eye, it's about four or five inches to the right of the spot at which you are gaving, and many textbooks and "fun with optical illusions"-type books will have a diagram... like the one on this web page... and directions for finding it. The blind spot is much larger than the dot on that web page, incidentally. If you explore, you'll find that... at the distance at which the dot disappears... the blind spot is nearly an inch wide and an inch-and-a-half high.

    Even allowing for the fact that each eye has the blind spot in a different place so they fill in for each other, once you discover how big the blind spot is... and how relatively close to your position of gaze it is... you'll be astonished that almost nobody notices it until it is pointed out.

    The brain does something more or less like filling in the blind spot. I say "more or less like" because it is very hard to answer the question "what do you see in the blind spot." For example, if you hold a computer keyboard at the right distance so that you're looking at the "G" key and the "K" key is in your blind spot, what do you see? Certainly not a black spot, certainly not a white spot, certainly not a "hole" or emptiness. Probably you have an impression of computer keys. Do you see a letter K? Certainly not, yet somehow you don't see a blank key, either.

    Incidentally, I used to suffer from migraine headaches, and one of the symptoms for some people is the formation of blind spots which can be even larger than the "normal" blind spot, and can appear in central vision. One one memorable occasion, I was looking at the cover of a hardbound book, and I can tell you that when I looked at the title, my perception was the stamped, printed title disappeared, yet I would have sworn in a court of law that I still saw the cloth texture extending across the blind spot.

    Although he does not specifically refer to it as a migraine illusion, I believe Lewis Carroll was known to be a migraineur, and in Chapter V of Through the Looking-Glass, "Wool and Water," Alice notices that "The shop seemed to be full of all manner of curious things -- but the oddest part of it all was that, whenever she looked hard at any shelf, to make out exactly what it had on it, that particular shelf was always quite, empty, though the others round it were crowded as full as they could hold." Any migraineur who experiences central blind spots will recognize this description.

    Hays and Efros' system--relatively-simple algorithm operating on a large database of previously-seen images--seems to me to be the sorta-kinda way in which one could imagine the brain working.

    I wonder if there's any way to test this?

    1. Re:Is this how the brain fills in the blind spot? by fred+fleenblat · · Score: 1

      The brain fills in the blind spots only with very recent images (within 1 second perhaps) or patterns from nearby areas.

      It doesn't consult a big archive or do "semantic" matching or anything tricky.

    2. Re:Is this how the brain fills in the blind spot? by Anonymous Coward · · Score: 0

      It's kinda similar, but our eyes act on whatevers happening nearby the blind-spot and fills down/left/right etc, whereas this program replaces this "extension" by searching memories to fill in the blind-spot.

      Simply filling in corrupted or missing sections of an image according to whats happening nearby isn't enough for any practical applications, since it will probably be large sections, and our blind-spot is fairly small, and doesn't have the sharply focused requirements that images need.

      Although, theres probably more to this image program, but it is the basic idea really.
      Photoshoppers must be crying inside...i know i am. D:

    3. Re:Is this how the brain fills in the blind spot? by noidentity · · Score: 1

      I imagine the brain's "filling in" would be similar to the first part of this algorithm, the one that determines what kind of image needs to fill in the missing place, but not its actual pixels. So the filled in data is something like "same texture and color as nearby" rather than "RGB = X".

    4. Re:Is this how the brain fills in the blind spot? by d474 · · Score: 1

      Try this the next time you see the moon at night (best when full!): Close your left eye and look at the moon with your right eye. Then shift your gaze slowly to the left of the moon until it... disappears.

      --
      Authority questions you. Return the favor.
    5. Re:Is this how the brain fills in the blind spot? by 1110110001 · · Score: 1

      Sounds like a David Copperfield trick ;)

    6. Re:Is this how the brain fills in the blind spot? by solferino · · Score: 1

      Interesting comment, thanks.

  39. I came up with this idea before by Anonymous Coward · · Score: 0

    and posted it to comp.theory: thread link

  40. Huge database of images from WHERE? by MadCow42 · · Score: 1, Interesting

    However, where did they get the database of images from? If they pulled the content from the web, certainly there are copyright issues (at least if they commercialize such an engine including that database). It might be hard to tell where the source came from, but if they're profiting off the use of my imagery, I'd expect a cut.

    It would not seem to me to fall under fair use...

    MadCow.

    --
    I used to have a sig, but I set it free and it never came back.
    1. Re:Huge database of images from WHERE? by Anonymous Coward · · Score: 0

      the computer should be able to tell the source URLs of each portion.

    2. Re:Huge database of images from WHERE? by Anonymous Coward · · Score: 0

      fuck you, you copyright-loving fascist

    3. Re:Huge database of images from WHERE? by 3)+profit!!! · · Score: 1

      "Finally, we are grateful to Flickr for allowing us to download so many images."

  41. Re:Now there's an algorithm to fill in the blind s by ArsenneLupin · · Score: 1

    you get if you unwisely follow the instructions on the other current front-page article about building your own high powered laser? That's uncanny. Actually, your eyes already come pre-equipped with exactly such an algorithm (needed for the naturally occurring blind spot at the space where the optical nerve is attached to the eyes). And apparently, it happily works for the extra, laser-induced blind spots as well.

    Browse around the site. Not only does it fill in uniform background color (easy), but also more complicated pattern (lines going through the blind spot), and even autocompletes repeating pattern (field of red circles).

  42. Wow! by IdahoEv · · Score: 1

    "You appear to be viewing Japanese pornography. Should I de-pixelate it for you?"

    And whoever thought we'd be glad to have clippy back?

    --
    I stole this sig from someone cleverer than me.
  43. Where are those pictures of my ex-wife... by CodeShark · · Score: 1

    I'm sure that I can creatively construct a few holes -- and fill them in with appropriately matching chunks from out there on the web. And tell a much different story about her than reality at it's worst would not even begin to approximate in terms of horrible implications. [not that the reasons for which I divorced her weren't bad enough mind you, but I could construct a photo built scenario that is much worse.]

    Interesting bit of science.... dangerous applications.

    --
    ...Open Source isn't the only answer -- but it's almost always a better value than the alternatives...
  44. DON'T use this on pr0n! by Anonymous Coward · · Score: 0
    If the computer picks the wrong replacement image, instead of making you see a completely new image, it could cause you to go blind instead!

    You'd have to test the images on your little brother to see if they were safe for you to look at:

    "Hey Billy, when my back is turned, turn on the monitor and tell me what you see."
    "Ok" <click> "AEIEIIEEIEIEIIE! I just went blind! ....wow, that's a relief!" If you're female, use your little sister instead...

  45. Massive increase in productivity at Minitrue by Thyrsus · · Score: 1

    Photoshop is now only to be used for high profile history; lesser history is to be automated.

    IGNORANCE IS STRENGTH

  46. Mod points: never there when you need 'em by Main+Gauche · · Score: 1

    Rarely do I make a "that was funny!" post, but... hats off, sir.

  47. it would be really awesome by overcaffein8d · · Score: 1

    it would be really awesome if these guys started working with the gigapxl guys.

    --
    Those of us who think they know everything annoy those of us who do.
  48. This is the scary part... by Anonymous Coward · · Score: 0

    OK, now we know that there was one photographer who doctored a photo to make it look like there was smoke from shelling when there either wasn't any smoke or less than he had made it look. He did so rather badly and got caught rather quickly.

    But as their example shows - they filled in the lagoon with images of boats and water that were not even from the same beach.

    Now say someone (oh, I don't know - a newspaper) wants to portray someone in bad light. How hard would it be to use this software to place that individual in a different picture in some compromising situation?

    Blackmail anyone? How could you prove that this wasn't really you or that you weren't involved in the situation shown?

    It could also make all pictures/video/etc become invalid for use as evidence because of the simplicity and strength of the forgery.

    Cool technology - but it could (and will) open a whole can of worms.

    1. Re:This is the scary part... by kryliss · · Score: 1

      Any photo evidence must be provided by a kodak instant camera. That's about the most trust worthy source from what I can think of. No negatives to doctor/blow up/enhance. Just one shot and it's done.

      --
      --- If the bible proves the existence of God, then Superman comics prove the existence of Superman.
  49. I attended the talk... by N+Monkey · · Score: 1

    Sorry to disappoint you, but IIRC from the SIGGRAPH lecture, I think they removed people from the database.

    It did work quite well, however, offering a choice of different image completions.

  50. instead of discarding the hole by Anonymous Coward · · Score: 0

    why not simply patch its semantics by rendering a goatse *around* it?

  51. yay! by Anonymous Coward · · Score: 0

    Wow... the first thing I'm waiting for the algorithm to do is, make a pic. of Jessica Alba's face, with Angelina Jolie lips, Salma Hayek boobs and JLo's butt!!

    Hurray!

  52. Slashdot search feature by objekt · · Score: 1

    "just look for previous articles that cover the same technology."

    In many cases, it's a dupe of the current article.

    --
    -- Boycott Shell
  53. If they were smart... by Anonymous Coward · · Score: 0

    Then they'd create an algo. to remove satt. dishes from images. For now it's just another college experiment " We're so smart, neener neener neener" . Removing satt. dishes though, they'd make a million and would be admired world wide for their intelligence.

  54. Here's a word for it... by thwack328 · · Score: 1

    ...Imagination.

    Isn't that what's going on here? When a my brain imagines something that isn't really there, it draws on my memory of things I have seen throughout my life.

    If you give a computer a huge memory of images and the ability to apply them towards creating a scene it has never "seen" before, you have given it an imagination.

    1. Re:Here's a word for it... by singingjim1 · · Score: 1

      I've said it before and I'll say it again. SkyNet is just around the corner. Won't someone please think of the younglings??

  55. Grassy Knoll by waterlogged · · Score: 2, Interesting

    Does that mean that if I erase part of the grassy knoll it will draw in the second gunman? Or more importantly if I erase the goatse hole will it draw in a hole?

    --
    I couldn't fail to disagree with you any less.
  56. Let's be real here... by Anonymous Coward · · Score: 0

    Anyone who really has merged two images together knows that seamless fitting is only a part of the problem. How is the perspective matched? The algorithm described here does not understand it, it simply throws a dice and picks randomly. This means we still need human to say: "No, that's crap. Try again."

    So it's automated poor photoshopping!

  57. In Soviet Russia.. by Sloppy · · Score: 1

    The Abyss stares into YOU!

    --
    As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
  58. In other news... by sethstorm · · Score: 1

    Reuters implements this technology immediately, and some right-wing bloggers wondered where all the fake photographs went.

    --
    Twitter supports and protects racists - by smearing their critics with the "Hate Speech" label.
  59. "Seamless" by dafing · · Score: 1
    Seamless seamless seamless. Its all slashdot stories are talking about! What gives? Is this the work of Fake Fake Steve Jobs?

    God, RSJ should have patented the word "Seamless"

    --
    --- ...or a new slashdot signature. Dear aunt, let's set so double the killer delete select all
  60. Finally!! by BigAssRat · · Score: 1

    The origin of UFO pictures!

  61. Preliminary tests... by PPH · · Score: 1

    ... on the GOPs public image appear promising.

    --
    Have gnu, will travel.
    1. Re:Preliminary tests... by sethstorm · · Score: 1

      ...until some of their own bloggers see behind the faked result.

      --
      Twitter supports and protects racists - by smearing their critics with the "Hate Speech" label.
  62. Great for Restoring Old Movies by Maltheus · · Score: 1

    I'm not sure what their current process is (I had assumed it was costly and manual), but this might be great for removing dust and and excessive grain from old movies and TV shows. Perhaps that'll actually make it worth it to buy the old stuff on HD/Blueray.

  63. Can I load this algorithm into my brain? by Schraegstrichpunkt · · Score: 1

    ... so I'll be able to see in the blind spot that I created using my new high-power DVD-burner laser pointer flashlight?

  64. Does anyone have a program that looks for blurs? by PDX · · Score: 1

    Does anyone have a program that looks for blurs? Quite a few people are interested in knowing if certain photos have been faked. Is there a way to highlight changes in a faked photograph?

  65. Hoax? by albius0 · · Score: 1

    Alright, I do compositing and graphics professionally, and I just don't buy this. Unless this algorithm can automatically generate accurate transparencies, reflections, shadows, and all with the correct color blending, then- at the very least-, many of the "test cases" are clearly fake.

    1. Re:Hoax? by albius0 · · Score: 1

      Ah, never mind-- I hadn't read the pdf, which mentioned that many of the "test set" images actually are uncomposited (apparently, they were used to test how readily poeple could spot the 'completed' images). Still- someone should get confirmation of this from other sources.

  66. oh, come on by RMH101 · · Score: 1

    ...it's not like this isn't happening already. Any professionally produced advertising will have pictures that have been tidied by photoshop at the ad agency already. Sure, it'd be false advertising to doctor these to remove building sites near holiday complexes, etc, but it's not like it can't and isn't being easily done right now.

  67. Re:Try Photosynth yourself: by Skadet · · Score: 1

    Um, bad form to reply to yourself and all that, but wtf? Is it backwards day? How could this possibly be offtopic?

  68. oh nooo! by freaker_TuC · · Score: 1

    There goes my porn collection dream into pieces - thanks alot for making me sterile!

    --
    --- I am known for the ones who want to find me on the net. Is that a privacy risk or a privilege? One might wonder..
  69. Turning sketches to images by 4D6963 · · Score: 1

    I know I'm a little late in the thread, but I just thought about it, couldn't the technology be adapted for, instead of patching holes, patching graphical elements in an image into elements found in the database, thus allowing you to turn drawings and such into photograph-like pictures?

    --
    You just got troll'd!