Slashdot Mirror


Photoshop CS5's Showpiece — Content-Aware Fill

Barence writes "If you're looking for reasons to upgrade to Photoshop CS5 when it arrives, a new demo video might just persuade you. Narrated by Bryan O'Neil-Hughes, a product manager on the Photoshop team, the video shows the new content-aware fill tool, which has the potential to revolutionise the way you clean up photos. If you're not happy with an item in your picture, select it, delete it, and Photoshop will analyse the surrounding area and plug the gap as if it never existed."

39 of 378 comments (clear)

  1. Damn..... by ogdenk · · Score: 4, Funny

    Stalin would have just loved that content-aware fill tool.....

    1. Re:Damn..... by carcosa30 · · Score: 5, Funny

      So would Hitler, especially the part where the guy "removed a couple of Poles."

      --
      Intolerance for ambiguity is the mark of the authoritarian personality.
  2. Re:STOP! by bigstrat2003 · · Score: 4, Insightful

    I wouldn't call this an ad. This is legitimately really fucking cool.

    --
    "16MB (fuck off, MiB fascists)" - The Mighty Buzzard
  3. Early preorders are already in from by sir_eccles · · Score: 5, Insightful

    Fox News and the Texas board of Education.

    1. Re:Early preorders are already in from by gknoy · · Score: 4, Insightful

      Video is just a series of still pictures, that need to be interrelated. I'm certain that this could be applied to video, with enough processing power. If they can look at pixels that are neighboring in one frame, they can do it for pixels that are neighboring in time, too.

  4. Re:Altered reality? by MaskedSlacker · · Score: 3, Funny

    No, no. Goodbye to all my exes in my vacation photos. Stupid real dolls blocking the scenery.

  5. Re:I for one by Zocalo · · Score: 3, Informative

    Photoshop has had that capability natively (ie, not requiring a plugin) since CS4, this is the ability to select an object in an image - litter on a lawn was the example given in the article - and replace its former location in the image with content derived from the surrounding areas. Basically it's like an intelligent, automated version of the Clone Brush tool on steroids.

    --
    UNIX? They're not even circumcised! Savages!
  6. Google Street View by ISoldat53 · · Score: 5, Interesting

    Sounds like something Google Street View could use to remove people from their views and make them more acceptable.

  7. Re:I'm convinced! by thewils · · Score: 5, Insightful

    It entered the land of exclusive pro tool years ago.

    It entered the land of bittorrent download and piracy years ago.

    There, fixed it for you.

    --
    Once I was a four stone apology. Now I am two separate gorillas.
  8. Enhance by SimonTheSoundMan · · Score: 4, Funny

    Next up is the "CSI Enhance" tool. Take a photo of 10x10 pixels, and make it a perfect 2MP image.

    1. Re:Enhance by EvanED · · Score: 5, Funny

      They can call it Adobe Homeopathy.

    2. Re:Enhance by Gerafix · · Score: 3, Funny

      No, no, that's "take a 1mp super grainy noisy photo from a 7-11 security camera and put on magic filters and super zoom to see a strand of hair from 100 feet away that shows that the attacker owns a golden retriever and thus you should check the registered animal database for a golden retriever that is in a 100 yard radius from the attack location".

    3. Re:Enhance by arhhook · · Score: 5, Funny

      "CSI Enhance" tool

      I can see the fingerprint in the reflection on his eyeball, it must be the killer!

  9. The most important question by CptPicard · · Score: 4, Funny

    I wonder what sort of a fig leaf it will use to plug the gap in the goatse photo...

    --
    I want to play Free Market with a drowning Libertarian.
  10. Re:Watch the vid in the article by MXPS · · Score: 4, Funny

    Color, I mean content-aware fill me impressed.

  11. For the doubters... by Op911 · · Score: 3, Insightful

    Wasn't this core technology discussed on Slashdot a number of years back? If you google "Seam Carving" you'll find some nice wikipedia articles that discuss content-aware image resizing. This may be a variant on the same technology, and i actually doubt that this is an early release of an April Fool's Day joke (no matter how Star Trek this technology seems).

  12. Re:I for one by thedigitalbean · · Score: 4, Informative

    Liquid rescale is an implementation of the Seam Carving technology which was incorporated into Photoshop CS4 as a feature titled Content Aware Scale.

    This new feature comes from an algorithm titled PatchMatch which was presented at SIGGRAPH 2009:

    http://www.cs.princeton.edu/gfx/pubs/Barnes_2009_PAR/index.php

  13. Re:STOP! by Jazz-Masta · · Score: 4, Funny

    I wouldn't call this an ad. This is legitimately really fucking cool.

    So is the Mr. Clean Magic Eraser...

  14. Lens Flares by pete-classic · · Score: 5, Funny

    Using Photoshop to remove lens flares? Oh! Brave new world!

    -Peter

    1. Re:Lens Flares by pete-classic · · Score: 4, Funny

      Yeah. Wow. I never dreamed that anyone would find that obscure. For example.

      -Peter

  15. I'll believe it when by Lumpy · · Score: 4, Insightful

    I see a 12 megapixel image in hand of a before and after and not a tiny less than 400 pixel overcompressed youtube video.

    I have seen this automatic stuff before and when you look carefully at it it's not very clean unless you re-sample down to 1/4 the resolution or go small for web use.. it's never clean enough to print out at 11X17 or larger.

    --
    Do not look at laser with remaining good eye.
    1. Re:I'll believe it when by l0xin · · Score: 3, Insightful

      Sure it might not turn out to be *perfect* on closer inspection, but given that it looks so convincing at a preview size still means orders of magnitude less effort required to get it to that stage.

    2. Re:I'll believe it when by Gaerek · · Score: 5, Insightful

      If you've ever used photoshop, you would understand what it takes just to get to that part. Ever try removing a tree from an image in PS? Then have the sky look natural? That's almost impossible for the average user, and probably at least an hour (or more) of work from someone who knows what they are doing. Fixing the mistakes at that point is easy. This is could possibly be one of the most revolutionary tools in photoshop since the clone stamp.

  16. Re:I'm convinced! by couchslug · · Score: 3, Insightful

    "It entered the land of bittorrent download and piracy years ago."

    Terrific viral marketing. No one who downloads it would have bought it with own funds, but many will do so with company money. Adobe allowing "controlled leakage" is the best free marketing campaign since Office 97 went from workplace "to the house" and back again.

    --
    "This post is an artistic work of fiction and falsehood. Only a fool would take anything posted here as fact."
  17. Re:One damn tool - pay for 200 unnecessary ones by ExileOnHoth · · Score: 4, Insightful

    noone wants to shell out $60 for 200 functions 20 of which they will use from time to time.

    Personally, I'll shell out. I make a living using photoshop and I support the idea that a bunch of extremely talented software engineers ought to be able to make a living developing it.

  18. Great for crime shows! by nilbog · · Score: 3, Funny

    I can't wait until a crime show gets ahold of this.

    "Delete that wall and see what is behind it. Enhance. Enhance. Enhance."

    --
    or else!
  19. Re:I for one by JobyOne · · Score: 3, Insightful

    Yeah, and cars have already had the native ability to drive, turn and stop for a century. The DARPA Grand Challenge isn't really adding anything new.

    Those robotic cars are basically just intelligent automated versions of cars, on steroids.

    Just because it happens in software does not make it trivial.

    --
    Porquoi?
  20. Another youtube video about content-aware fill by chebucto · · Score: 5, Informative

    Includes more detail about the algo
    - Developed with researches at Princeton
    - Demo'd at SIGGRAPH in Aug. 2009
    - Old spot-healing tool tried to find one match for the hole; new tool copies multiple patches from the surrounding BG to fit into the hole, as well as finding & copying surrounding patterns

    http://www.youtube.com/watch?v=S9vbHRcrbdQ&feature=related

    --
    The English word fart is one of the oldest words in the English vocabulary.
  21. Re:Nice Demo... by marcansoft · · Score: 5, Interesting

    Here's the paper, from a comment above.

  22. Re:I for one by K.+S.+Kyosuke · · Score: 4, Interesting

    So, what about Resynthesizer?

    --
    Ezekiel 23:20
  23. Re:Having watched the whole thing to the end... by metamatic · · Score: 3, Informative

    A few days ago I was reading about some of the algorithms for doing this, shown at Siggraph in recent years. I think it's real.

    --
    GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
  24. Re:Having watched the whole thing to the end... by ElectricTurtle · · Score: 4, Funny

    Yes, clearly the images where Photoshopped. I could tell from some of the pixels and having seen quite a few Photoshops in my time... er, wait a minute...

    --
    I support the Slashcott and will not be reading or commenting from 2/10/14 to 2/17/14. Beta is steaming pile of dog shit
  25. One word: wow! by bradley13 · · Score: 3, Insightful

    Just "wow". Everyone who has spent tedious hours "fixing" some piece of "almost" perfect photography just fell off of their chairs.

    I haven't bothered upgrading anything but InDesign in recent years - the old Photoshop (or even GIMP) was good enough. This is a reason to upgrade!

    --
    Enjoy life! This is not a dress rehearsal.
  26. Re:I'm convinced! by lwsimon · · Score: 3, Insightful

    Indeed. Adobe doesn't make their money on hobbyists. They don't even really make their money on small shops. They make their money on mega corporations who buy a dozen licenses because they need to crop photos, and their employees all know how to do that in Photoshop, because they've pirated every version since 5.5.

    --
    Learn about Photography Basics.
  27. What about Resynthesizer? Well.. example within by Animaether · · Score: 4, Informative

    It's a very cool GIMP plugin for some things, but...

    This is my source image:
    http://s3.images.com/huge.28.142421.JPG

    I want to remove the lady on the right, so I select her:
    http://img714.imageshack.us/img714/1346/resynthesizerselection.jpg

    And then, per the Resynthesizer page's recommendations, I use "Script-Fu/Enhance/Smart remove selection..."
    http://img121.imageshack.us/img121/228/resynthesizerresultradi.jpg

    Oh dear.

    Anybody with access to the Photoshop beta feature want to give that image a stab? For all I know it fails just as spectacularly - but from the research it's based on, I highly suspect it'll fare better.

  28. Re:What about Resynthesizer? Well.. example within by Animaether · · Score: 3, Interesting

    darn blockquote fail :)

    I know I picked it out - what about it?

    I didn't pick it out to specifically make Resynthesizer fail - it's image #2 on images.google.com for 'person in field' (sans quotes).

    For an example that does work with Resynthesizer, try:
    http://media-cdn.tripadvisor.com/media/photo-s/01/0f/33/e2/so-cool.jpg

    Select the top-left dark thing, run the Resynthesizer script-fu - voila... dark thing removed, and sky filled in pretty well.

    The problem is that this is entirely hit-or-miss.. and it's far more often miss than hit.. and then -when- it is a miss, it's a spectacular miss (as in that person-in-field image).

  29. Re:The Difference Between an Ad and "Holy Crap!!" by gnud · · Score: 3, Insightful

    Implication: To get a job as a graphic designer you'll have to be a designer, not just have a photoshop tutorial under your belt.

  30. Re:What about Resynthesizer? Well.. example within by shish · · Score: 3, Interesting

    This is what I get using the plugin on its own: http://shishnet.org/ufufuf/resynth2.jpg

    Do note that the script-fu wrapper works better for larger images, which this isn't

    Also, the example from the video, done with gimp instead, the results are pretty similar (IMO, better, but I'm pretty sure that the "improvements" are just luck): http://shishnet.org/ufufuf/panorama-synth.png

    Having been using the resynthesizer for years, I've developed a knack for which source images will work well and which won't, and the thing that struck me about that video was that the source images are pretty much ideal conditions -- I'll be impressed when they can get good results on the images that aren't so clean :-)

    --
    I mod down anyone who says "I will be modded down for this", regardless of the rest of their comment
  31. Re:What about Resynthesizer? Well.. example within by shish · · Score: 3, Informative

    obvious question: workflow / parameters?

    Generally I use the foreground select tool* to select the smallest area to cover the object, then grow selection by a few pixels so that none of the object's edges are poking out and confusing it, then filters - map - resynthesize (ie, use the plugin rather than the script), and have the "tilable" options disabled since they tend to grab samples from the opposite edge of the image (if I want a tilable image, I'll use the tiling filter separately...)

    Probably the biggest factor for simple success is to have the object you want to remove be on its own (surrounded on all sides by similar textures) -- if it isn't, then you need to do things the long way -- eg, if you want to remove the leftmost wheelchair from this image, and you want it to be replaced by grass when three of its borders are touching non-grass, then you'll find that it ends up somewhat messy since it attempts to merge four different edge textures. In this case you'll need to copy a section of your desired fill texture (ie, a rectangle of pure grass) into a separate image (specifically, a single layer image with no transparency); then on the original image select the object to remove, open resynthesizer, and select the "fill texture" image as the texture source; this way the generated texture will both match the surroundings of the original as much as possible, while being filled with the "surroundings" that you've specifically chosen. Having taken a sample of "pure grass" and a sample of "pure stone", then removing the top and bottom halves of the wheelchair with each respectively, the results are nicer. (with the exception that the first two images were produced with a mouse and twenty minutes of careful selecting, and the final one was 5 minutes work with a laptop nipple, so there are still some bits of wheelchair poking out of the sides...)

    Incidentally, does photoshop have SIOX yet? Having the features "vaguely scribble in the general area of an object to have the object selected precisely" and "automatically and realistically remove a selection" could potentially combine to form "one-click realistic object removal" \o/

    --
    I mod down anyone who says "I will be modded down for this", regardless of the rest of their comment