Photoshop CS5's new "Content-aware Fill"
youtube.com
youtube.com
But I wonder... are tools like this to manipulate reality making really less and less interesting. Are losing our love of reality because of the dreams we can so easily create?
Most importantly, it’s not especially interesting. Figuring out what needs fixing takes a human eye, but actually cutting a distracting pole or bit of lens flare out of a picture is work for a patient robot.
> Are losing our love of reality because of the dreams we can so easily create?
Um... no?
How do you define “reality”? If it depends on what can be shown in photographs, then the time to have this discussion was around 1850.
Our dreams drive us to create a better reality.
What do you mean? It’s a 20-year-old program. If every year or two you implement 3 or 4 SIGGRAPH papers, after a decade you too will have quite a nifty thing.
> I doubt I'll ever use more than 30 minutes to photoshop an image. Ever.
Depends what your job description is. If you’re a retoucher paid by the photo, this is already pretty much true. If you’re a perfectionist artist, it will probably never be.
Surely, the latter comment was an overstatement if you're working professionally with Photoshop. But I do think it sooner or later would be some truth in my statement: If Photoshop manage to imitate realism well enough that humans don't see mistakes, then the only thing they would have to work on is speeding up the algorithm. (in that area of Photoshop, of course)
http://news.ycombinator.com/item?id=1215894
(2 of the 4 authors are at Adobe Research, while the others are at Princeton Univ.)
By the way a shout to pg. I have mad respect for him and Jim Clark, both computer scientists/entrepreneurs who have worked really hard and selflessly to get engineers more equity over the wealth they create.
As a computer vision researcher, I guess it sometimes irks me when I see great research work done, but credit for which often falls on the company that commercializes it.
Glad to hear that you were yourself involved at Adobe, and it seems like you've gotten a fair amount of good publicity from this great work. Congratulations!
Though I'm not saying that it's not real. It would dumb for Adobe to make up such an impressive video.
My guess as to how this works is that it looks some distance in from the selection edge, and then repeats that outward (or inward), but matches up the edges to the selection. You can see it in the deleted road where the 'desert' on the bottom right of the new area matches the brush to the left of it, but the rest matches the brush to the top and right of it.
It's like creating a seamless tiling background, except instead of doing it in a square, it does it in an arbitrary selection path.
If you meant something else, could you explain it a bit clearer?
Elsewhere in the thread I repeated the experiment on one of the images with resynthesizer GIMP plugin and got very good results too, but not quite as good. Of course I could probably have chosen an image which would have appeared to produce equally good results...
Cute though.
The difference, in terms of taking shots, is night and day - with my digital camera, I'll snap 10+ shots of the same thing to try and find the right one; with this, I spend five minutes angling around and trying to find the right shot off the bat.
I'm not a good photographer by any means; in fact, I'm substantially below average if I'm honest about it. But raising the bar to entry certains makes you focus on what you're doing a lot more.
Which I guess is a long and winding way of saying I agree. It's more fun when there' more effort involved.
In photography parlance we call it chimping - i.e., jumping around like a monkey and clicking the shutter like crazy, trying to get the right shot. Even if you get the right one, you have no idea if it's your skill, luck, or just law of large numbers...
When I shoot film I feel more purposeful - I rarely ever take more than a single exposure of any one particular thing - it also teaches you to be patient, and hold the shutter until you know you have the right shot. On rapid-fire you will often get a good picture, but no idea what makes it good, whereas with film I'm aware that this picture works because, say, I waited until there was no one in the background.
My current favored camera is a Leica R4s - only manual and aperture priority modes, manual focus, manual aperture control, and only 2 metering modes (you only ever need one - center-weighted). When you strip a machine down to the bare minimum it opens a lot of creative doors.
I've since started shooting 35mm & medium format, and I sold the Minolta and bought an Epson V700, which is a flatbed. I also used an Epson 4490 while I was in NY for a while last year, really good value for money.
I haven't updated my flickr site for a while, but you can see some here: http://www.flickr.com/photos/angusgr/tags/film/ And to see the best the Epson can do, see here: http://flickriver.com/groups/466058@N21/pool/interesting/ (This last link exploits the rule that good photos are made with any combination of technology. ;).)
It's his life work, most of it is 35 mm, some on 60x60, he's been a professional photographer his whole life long and the thought of a fire there scares me.
So I have been thinking off and on about how to tackle that job, it would take quite a bit of time and money to do it properly.
Couldn't find them with a quick google though, they may not have survived the GFC.
http://www.cs.princeton.edu/gfx/pubs/Barnes_2009_PAR/index.p...
http://www.wisdom.weizmann.ac.il/~vision/VideoCompletion.htm...
Seriously, I love the Google-foo/showdown challenges that sometimes a HN reader poses. This search was easy.
Unbelievable.
How is something like this actually developed?
The current patch tool in Photoshop can already adjust contrast and hue to make a patch source match the patched area, so when the algorithm is searching for similar areas to use as a source it can just focus on the image details and not the lightness or actual colours.
http://www.logarithmic.net/pfh/resynthesizer
This page http://slacy.com/blog/2005/04/cool-image-processing/ shows you how to use it to remove an object which will be automatically replaced by surrounding texture (similar to first example in video)
This page http://schwarzvogel.de/resynth-tut-sa.shtml shows an example of growing and image by auto-filling the missing edges around a photo (similar to last example in the video)
I suppose the new algorithms in PS are better, but still it's been over 5 years now :-)
Which, if I'm right, makes this a horrible way to steal CS5's thunder!
At the same time, I am glad that the effects are still immediately visible, even in a low-res youtube video. It's nice to have hints of what the original actually looked like, some times.
I'm thinking I need to reevaluate with CS5. If nothing else, perhaps the total diff from CS3 -> CS5 will now be worth the upgrade.
I had to literally get my officemates to see that video. It is unbelievable.
Two people, one in front of the other for instance.
But it's damn nice for most situations.
The hours graphic designers have do spend one something they hate so much has been replaced by a machine. And for that we are very grateful.
Now they'll get to spend more of their time "coding features" instead of debugging.
I can't tell how many times removing that tree or expanding that picture just 50 pixels can mean the world.
I mentioned this in another comment thread, but there was an article about Gary Kasparov discovering that a human supported by a computer can beat both a human or a computer alone.
Technology simply makes mundane tasks easier so more energy can be spent on creative possibilities.
This might not be quite what you meant, but if creativity is not a computable function, what do you think it is?
Consider from Star Trek, Data's quest to understand laughter. He could replicate it. He could understand it. But he could never feel it.
And Star Trek is fiction. Trying to use its storyline as evidence of anything is, uh, misguided.