Image Processing By Example 127
Aaron Hertzmann writes: "My collaborators and I will present a paper called
Image Analogies at
SIGGRAPH 2001 this summer, where we describe a machine learning method for 'learning' image filters for example.
For example, given a Van Gogh painting, the algorithm can process other images to look somewhat as if they were painted by Van Gogh."
"It can also 'texturize' images based on a sample textured image, e.g. to create landscape photos. It can do many other types of filters, as long as you give appropriate 'before' and 'after' examples to learn from." I especially like the idea of inferring a high-resolution image from a low-res one. The software is available for Windows and Unix, and "the source code is freely distributed for educational, research and non-profit purposes."
wow (Score:1)
Since when did Slashdot become... (Score:1)
A VanGogh Monet Original (Score:1)
Re:A VanGogh Monet Original (Score:2)
Why are so many people talking about Van Gogh rather than talking about taking pictures of industrial wastelands and applying the industrial wasteland filter to woodland scenes, or their own face, or computer renderings? This is potentially a _fascinating_ tool, and I want one. But the last thing I'd use it for is imitating paint brushstrokes. I can make brushstrokes with real paint, or fake brushstrokes with Painter or something. I can't make a digital image of a guitar made out of water ripples with anything but this- at least, not so effectively.
This _is_ a great thing, but it's not an artist replacement. It's a tool. It's convergence. Your ability to use it is very much dependent on what you can imagine, such as taking a portrait and doing it all in the textures of woodgrain while keeping the colors the same, or giving everything the textures of concrete, or fur, or cloth. The fact that it's not strictly texturemapping is what makes it potentially huge in significance...
Re:Van Gogh (Score:1)
-- Brian
Re:Van Gogh (Score:1)
Eh, you're probably right.
I'm also DEFINITELY able to spell, which really makes me an outcast around here.
-- Brian
Apply it to Slashdot (Score:2)
Then you could take news from say CNN and process them to be Slashdot-ready. Imagine a Jon Katz or Taco filter.
__
Re:Close, but no severed ear... (Score:1)
The point is NOT to make a picture that captures Van Gogh's brilliance. It is to create a _computer_program_ that identifies the _essential_ elements of a visual transformation. (ie. learns a photoshop filter)
And from a SINGLE picture mind you.
This technology is _really_ something. Think about how you'd write "a photoshop filter that makes a picture look like a Van Gogh". (I used to work at Corel, in Photo-paint, in the BitmapFX group, so I know something about this
--
#include <malloc.h>
Portman (Score:2)
Re:Call me crazy, but... (Score:1)
Oh, and check out the other examples as well. There's also an example where you draw by hand a very simple picture indicating where the river, city, etc. is located on a photo, then when you have the filter draw the same kind of simple image and create a whole new image of a similar city.
Re:Make a bad painting from a good photograph (Score:1)
Using a computer now more like fine art? (Score:2)
Then I looked at the images this program produces. I guess I can't expect anything BETTER than what is stuck into it - Van Gogh would never have painted scenes like those. Hell, any beginning art student could "paint like Van Gogh" - just mix your paints a bit thick! Perhaps the program needs a content selection algorythm. (I'd like to see it do a self portrait.)
At any rate, the "holy grail" of this technology is to emulate air brushed velvet. Not a fan of elvis but love the look of painted velvet? Just use a pic of your favorite celeb! Finally, Natalie Portman recognised as she should be!
patterns-by-numbers Gimp plugin (Score:1)
Have a look at http://www.csse.monash.edu.au/~pfh/resynthesizer/ oh and it's probably also in your installed plugins directory called Resynthesizer
Somewhat like Van Gogh? (Score:3)
Re:Text vs. Image (Score:1)
Au contraire - see sci-fi book a minute at rinkworks.com.
Re:Text vs. Image (Score:2)
Re:Hi-rez from Lo-rez (Score:1)
Re:Just make sure your training data is good... (Score:2)
Don't forget to use your ENTER key occasionally. (Score:1)
It's near the right-hand side of the keyboard.
matching training data to subject matter (Score:2)
I would think that approximating the unfiltered source part of the training data from a painting (like the Van Gogh example) would produce kind of twisted results from photographic data. I wonder if they've tried getting a "real" painter to mimic Van Gogh's style from a photograph and using both the photo and the painting for training data. I expect the results would be better. (Although that wasn't really the case with the pastel examples so maybe not.)
Maybe I'll get a chance ask at the show.
I think you all have it wrong... (Score:3)
It's not just using the filter; it is creating the filter.
There's more then the Van Gogh stuff (Score:2)
I doubt you could program something similar if your life depended on it, looser.
That is what they did (Score:2)
Re:Our Wow threshhold (Score:3)
Wow, THEY DID Did you even read the site? or just look at the example? Here's one of some guy named Lucian Freud [nyu.edu]
And keep in mind they didn't 'just tell the computer to 'fuzz up' the image' they just gave the computer a copy of Starry night, and a blurry copy of Starry night and said 'figure out how to go from the blurry one to the original'. After that, the computer did all the work
Author identification (Score:3)
Say you have samples of the works of N authors and a text T that has to be identified. Compress the text N times, each time the system is initialized with the samples from another author. T will usually compress best when the system was initialized with the samples from its own author.
See Bill Teahan's PhD thesis [rgu.ac.uk].
Re:That's too bloody cool (Score:2)
Re:Make a bad painting from a good photograph (Score:2)
Re:Close, but no severed ear... (Score:1)
I only took the trouble to correct your mistake because I disagree with your fairly backwards view of art...this idea of the artwork as a vessel for "the true meaning of the artist" is really trite.
Another pedantic slashdot reply. I am an ass.
Re:Wow (Score:1)
---
Wow (Score:5)
What I've started to wonder is where else it's underlying principles could be used, or where this sort of technology could lead in the future.
Could it be used to analyze text from certain authors (hey, text and art are no different to a computer - treat words as "pixels" and sentences and structures flow like colors) and mimic their style? Could this one day be used to turn my dull crud into something Fitzgerald or Hemingway or even Asimov or Heinlein might have written?
I also have the following few questions:
I think that sums up my feelings. This stuff is really impressive guys, I hope the conference goes well.
---
RAH (Score:1)
Re:Yes, but... (Score:1)
windows only though
Re:Just make sure your training data is good... (Score:1)
If this was going on in an unclassified lab almost 10 years ago, I imagine that the best gov't computers today can easily Spot the Loony, or tank, or asian woman or nearly anything else desired.
See the following interview with Igor Aleksander. Search for "WISARD"
http://www.cix.co.uk/~hewitt/misc5.htm
Re:Wow (Score:1)
Clue: The word/pixel gibberish. Geez.
Could it be used to analyze text from certain authors (hey, text and art are no different to a computer - treat words as "pixels" and sentences and structures flow like colors) and mimic their style? Could this one day be used to turn my dull crud into something Fitzgerald or Hemingway or even Asimov or Heinlein might have written?
No. A local filter is a local filter. It is not a painter, nor an author.
If you put your dull crud through a filter it'll turn it into a *SHOCK* filtered version of the same dull crud. Try the jive filter if that sort of thing impresses you.
What happens when one feeds a Van Gogh through the Van Gogh filter? Does the resultant image change much?
Yah, same as passing a finger painting thru it - you'll get a version with the same local distortions added. It's a filter, get it?
Does the program apply the "filter" differently depending on what type of input it encounters, or is the same method applied to all input?
Does it say it's data adaptive? No.
Conversely, can the program be used to recognize when a work is of a certain artist?
No, neither can it make toasted sandwiches or draw mandlebrot sets. It's a filter.
Or can it be used to see if an image has already been passed through a certain filter?
No, it's a filter.
Are there cases which cause the method to fail or create an undecipherable image?
No, it's a filter.
And if so, are these cases unique or do they conincide with a certain type of artistic style? [e.g. Monet -> Van Gogh just won't work right?]
If you put a Monet painting thru the filter it'll look no more like a Van Gogh than if you put anything else thru - it'll look like a filtered Monet.
Re:I think you all have it wrong... (Score:2)
Re:Since when did Slashdot become... (Score:2)
Yeah! A story is so much more interesting when it languishes unknown in the vastness of the web for six months, only to be discovered by the time it has officially become Old News!
Bring back the good old days of virus reports from even mistier pasts.
"Wow" (Score:1)
Re:Maybe those movies weren't wrong... (Score:1)
Computer nerd, my ass. What about the ubermensch whose senses were sharpened in the Brazilian rainforest to the point where he can clearly see the limited edition Willie Mays watch visible for a split second on the two-pixel wrist of a bank robber caught on grainy security camera?
--
Re:Just make sure your training data is good... (Score:1)
--
Re:Wow. Hi-res pics are cool. (Score:1)
they do look very intersting though...
Re:Text vs. Image (Score:1)
Re:Text vs. Image (Score:1)
Text vs. Image (Score:2)
If a single pixel is off by a bit, you won't notice - your brain subconsciously blends the whole thing together anyway. If, on the other hand, the wrong word is chosen, it will stick out like a sore thumb - even if it's only a preposition.
Finally, I would posit that even if a filter could make your prose sound like Asimov or Hienlien, the real advantage both masters have is not in their actual prose but in the ideas they express - and no filter is going to be able to duplicate that.
Unrelated links? (Score:1)
There's a new wave of parameterless image filters rising up into a whole new field of study and you're sitting here bitching about Van Gogh's intent.
Van Gogh and his whore's stupid gift of a severed ear are not relevant
____________________
Actually you can to a point (Score:3)
Jason
Here, let me enhance the image... (Score:2)
Wow! Does that mean that a certain staple of movies with spy-cameras crucial to the plot will finally have a basis in reality?
Every time I hear, "I can't see his face because the video's not clear enough - here, let me enhance the image," I just wanna scream...
--
Tulips with ripples? (Score:1)
I think manual filters are still much better, oops, I wanted to say: nothing can replace a real van Gogh.
The Obvious Question (Score:2)
"I may not have morals, but I have standards."
Van gogh? (Score:1)
Or maybe a program that looks at pictures of people, and generates pictures of those people having sex.. (like Xena and Scully; Taco will like [slashdot.org] that one)
--
Re:Close, but no severed ear... (Score:3)
Re:Make a bad painting from a good photograph (Score:1)
---
Re:What about p0rn images (Score:1)
Sorry dude, you're destined to remain on fugly.net
Argument Closed? (Score:1)
What about p0rn images (Score:1)
---------------
Sig
abbr.
A look and feel stealer (Score:1)
Re:Since when did Slashdot become... (Score:1)
Re:Since when did Slashdot become... (Score:1)
Yes, I call it scientific. As to the quality of the science - I don't know enough to have an informed opinion.
I wonder if this can be applied to cryptography... (Score:1)
I guess I'm just curious of how much this is limited to the "visual" world and whether it could be applied to create abstract digital filters.
Re:Close, but no severed ear... (Score:2)
As for my interpretation of "the true meaning of the artist" - whether or not I agree with the concept of all art needing some intangible, metaphysical, or even spiritual explanation that is derived from the ego of the artist (which I don't necessarily) - Van Gogh has become a cause celebre for the artist whose life was as important as their work. It's part of the reason for the ridiculous prices associated with his work. His letters to his brother established him as a figure after his death, and a cursory read would reveal that there were specific personal and deterministic notions in his endeavours. It may be trite to yourself, but it drives the ridiculous art market today, and many would say that it began with Van Gogh. Van Gogh's work is part and parcel with his life, interminably, for better or for worse - it is impossible to seperate him from his time and its technology and image processing capabilities.
And I do stand corrected on what's different about this work and what it's for (imagine using texture by numbers to generate landscapes for computer games rather than storing the textures). I will stand by the fact that when it comes to mimicking an artist's strokes the material will only ever be as good as a) what's fed into it and b) a pale imitation, good for only some FX gag I expect to see in some music video and then vanish.
Close, but no severed ear... (Score:5)
This is interesting and all well and good, but ultimately where it fails is that the produced image is entirely dependent on the original photograph's perception of the world. A reproduction of an image through halide crystal activation, which is enough for human memory and recognizance, but it lacks the true meaning of the artist. Van Gogh never used contrast or flat lighting as exhibited in the source pictures, and he often burst highlights with striking colors that may not have been actually present to his eye. It's what seperates him from a Turner - not just his brush stroke or how thick he worked in paint but how he saw the world. It's pretty churlish to adopt the first real expressionist painter (who deliberately attempted to paint their perception of the world rather than reproduce it) as an example of this algorithim, as the resultant images show that without an interpretation or perception this is pretty useless stuff. All I see here is a souped up photoshop filter.
Linus Torvalds Code Filters (Score:2)
The question is, what would happen if you fed your average Visual Basic program written by your average VB coder, through a Linus Torvalds filter? Wouldn't that be like "crossing the beams" in Ghost Busters?
Re:In other news ... (Score:1)
So... (Score:2)
Wow. Hi-res pics are cool. (Score:2)
So you could compare low res, high res, and filtered high res.
They do look impressive though!
Re:Somewhat as if they were painted by Van Gogh! (Score:1)
It would be even more interesting to take The Bedroom and produce a before picture for it that straightens the odd angles and de-fisheyes it. What sort of schizophrenic things might it produce then?
already done (Score:1)
patterns-by-numbers (Score:1)
oops... texture by numbers (Score:1)
my mistake, texture by numbers [nyu.edu]
Re:Call me crazy, but... (Score:1)
i.e.: They started with a painting by Van Gogh, then ran it through the "Smart Blur" filter of photoshop to remove the Van Gogh-esque-ness of the painting, leaving a textureless image. Then they ran the texture learning algorithm over that pair of images, and applied the learned texture to the target.
I will never forget that spring, that day... (Score:1)
Make a bad painting from a good photograph (Score:2)
Re:Our Wow threshhold (Score:1)
If you'd even read the rest of the site, you'd realise that their software is *very* accomplished
Check out the Texture by Numbers [nyu.edu] sections for more examples of the flexibility of this software...
-Ciaran
Re:Van Gogh (Score:1)
That's too bloody cool (Score:2)
However
By far the coolest thing I've seen on
Our Wow threshhold (Score:2)
I'd be more impressed if they had trained the software to imitate multiple artists, such as O'Keefe [byu.edu], Rembrandt [mystudios.com], Klee [postershop.co.uk], Gauguin [artprintcollection.com], Monet [cafeguerbois.com], Picasso [guggenheimcollection.org], etc., shown as a single image, as processed by all of the above, side by side.
__
Re:Just make sure your training data is good... (Score:2)
They were working on this kind of image recognition in a JPL lab near my own in the early '90s. (I was an intern working on the flight computer for CRAF/Cassini at the time.) They were using some funktastic optical computer jive and I heard the thing was good... damn good. There was even a toy parking lot full of Hotwheels cars, and they would have the computer try to pick out a specific car, which might be in a group of other similar cars, or partly covered by a building, etc.
If this was going on in an unclassified lab almost 10 years ago, I imagine that the best gov't computers today can easily Spot the Loony, or tank, or asian woman or nearly anything else desired.
Why some good posts have (Score:1)
Maybe those movies weren't wrong... (Score:1)
...nah
:)
Re:Van Gogh (Score:1)
*bsod*
Windows user: Fucking computer, it's on drugs.
computer: "I don't use drugs. I am drugs."
Re:Van Gogh (Score:1)
windows dali box:
"So little of what could happen does happen."
"Have no fear of perfection -- you'll never reach it."
"It is either easy or impossible."
"It is good taste, and good taste alone, that possesses the power to sterilize and is always the first handicap to any creative functioning."
"To gaze is to think."
"Those who do not want to imitate anything, produce nothing."
"Wars have never hurt anybody except the people who die."
Re:Call me crazy, but... (Score:2)
Additional applications? (Score:1)
What I've started to wonder is where else it's underlying principles could be used, or where this sort of technology could lead in the future.
I was thinking along the same lines! (umm, well, brushstrokes?) Granted the amount of computation likely precludes real-time generation today. But, I could well imagine that within (pulls number out of the air) 2-5 years, it should be quite possible. Applications? Here are some ideas (some are admittedly off-beat, but why not?)
I have no illusions the results would be spectacular, but I'm quite sure they could be really interesting. Heck, even a commercial or a presidential speech could take on a whole new perspective.
Nitpicking (Score:1)
Also, the "image enhancing" stuff wasn't too impressive, yet. Maybe with more examples it might do better. Of course, the thing to remember is it's not programmed for any particular filter, but it still had a problem ignoring small details, like the black borders for the rugs.
Kurdt
In other news ... (Score:3)
I always wanted... (Score:2)
Composition (Score:1)
Call me crazy, but... (Score:2)
That is, why a "learning filter?"
It would be more useful if it could discover a technique by looking at one image.
Re:Wow. Hi-res pics are cool. (Score:1)
I hope the sample images aren't the be-all-and-end-all extent of their program w. respect to Van Gogh-like rendering. Painting is to represent what you see in a permanent form - I believe Van Gogh would have turned a sky full of clouds into something other than a smudge of off-white patches - that he would have tried to create an accurate 'representation' of what he could see onto the page.
But nonetheless, it is an impressive learning algorithm and perhaps has a future in processing for image cleanup....you know, that crap they show in movies where a 'computer guy' presses a few buttons and a blurry satellite photo suddenly shows license plate numbers...
Let's just say I was impressed by the overall approach, but not by the examples given (brush strokes to uniform and lacking attention to the defining details of the images).
-Nano.
Somewhat as if they were painted by Van Gogh! (Score:2)
Looks like these guys have much to improve. Yet it is an effort in the right direction and we can congratulate them, for at least their program can copy lesser styles, if not the masters.
And above all no matter how a good a copy it is, the copy can never measure up to the original.
Re:Uh-Oh (Score:1)
To make a machine produce art would require the technology for a sentient computer. If the machine is really sentient, then it's probably as entitled to express itself as you or I.
BTW, I like your stuff (sorry, that's the limit of my knowledge of art--I like it or I don't).
You mean like this? (Score:1)
----------
Re:In other news ... (Score:1)
----------
DeCSS? (Score:2)
Seriously, though, this is an amazing project. I'm impressed.
____
Blood, guts, guns, cuts;
Knives, lives, wives, nuns, sluts.
Re:That's too bloody cool (Score:2)
As I was going through the page I was fairly unimpressed, largely. Much of what was there has been in Photoshop (and probably the Gimp) for years now, i.e. filters to make photo's look like paintings or apply textures or whatever.
Yes, Photoshop and the Gimp have had similar filters for a long time, but that's not the point of the project. Filters that are used in the Gimp and Photoshop were hand created and are each specialized and unique. This algorithm provides a general framework for learning how to apply a given filter. Ie: it can be used to easily create filter types that didn't exist just based on sample inputs and outputs. It's broader than the relatively simple filter operations found in typical imaging tools...
I must admit though, the texturizing feature is damn cool.
Well (Score:2)
ugh.
Just make sure your training data is good... (Score:4)
They spent many hours loading photos for training data. Some photos had tanks and others did not. Once they thought it was working, they tried it on some non-training data --it didn't work.
Instead of recognizing tanks, it learned to distinguish cloudy days from ones with sunshine. All of the pictures with tanks were taken on a cloudy day & all other pictures were taken on days that had sunshine.
He didn't know if they ever actually got it working or not...
missing the point? (Score:2)
I think the new important discovery is that they can take an image and process it so it looks sort of like a Van Gogh, or a painting I did, or a painting your pet chimp did. Or maybe not even necesarily a painting at all.
Instead of saying "here's a photo, make it look like a painting" they are saying "here's one image, now make this other image look sort of like the first one."
-J5K
Van Gogh (Score:5)
Next thing you know I'll come home from work to find that my PC has severed its own mouse cord in a fit of psychosis.
nice application of existing techniques (Score:2)
How useful this particular application is remains to be seen; most people probably have a harder time giving an example of a van Gogh filter for the system to learn from than to use a canned filter.
Re:Hi-rez from Lo-rez (Score:4)