Tuesday, December 16, 2008
I've started compiling a list of some of the more interesting stuff that I've found. You can see it here:
As an additional clue, I put a link to this at the top of this blog page, so you can always get there by clicking on "References."
Note that some of these books, such as Oppenheim et al's Signals and Systems, are pretty technical. I mention them for completeness, not because I think you should run out and buy them. Wait for the movie.
Saturday, December 13, 2008
A while ago, in a blog far, far away, I posted a bit about the Gaussian distribution, and how it can be used for blurring images, as in Photoshop’s Gaussian blur function. What the Gaussian distribution really is is a way of describing the probabilities of certain kinds of events. For example, suppose your wondering about rainfall in New York City, and you want to know how much rain is falling on different parts of the city during a storm. Well, chances are that all of New York is getting socked, and the rainfall amounts are probably pretty even all over. If there’s an inch of rain, there’s going to be an inch of rain on Wall St., and inch on 14th St., and inch on 42nd Street, and so on going uptown from the Battery to Harlem.
So, what does the rainfall in New York have to do with art and technology? Nothing, but the interesting thing is the shape of that Gaussian distribution, often called a bell curve, for obvious reasons.
I talked about using this for blur, but it's useful for other kinds of effects. For example, think about how an airbrush works. It sprays a stream of very fine droplets of paint, and they land mostly along a line traced by the airbrush. A lot of paint also falls just to one side or the other of the line, and a little bit less falls a little further away. In other words, the amount of paint is like a Gaussian distribution, with most falling along the path of the airbrush, and less and less paint as you get further and further from this path. That's how airbrushes give that nice soft edged look.
Click on the images for a larger view.), but it shows that the center of the stroke is darkest, and the line gets gradually lighter near the edges. Here are some more examples, drawn by a PostScript program that creates random curves, and then applies a kind of airbrush effect with the Gaussian arrangement of dots of color: