some things right

Just another WordPress.com weblog

Algorithmic Brushing

Posted by gever on December 26, 2008

Using only information in the image, is it possible to algorithmically choose angles for brush strokes? I started fooling around with this idea back in 1988, and have been resurrecting it off and on over the years – this version runs in Processing.

Get the source here.

Strange Things Around the Eyes

Strange Things Around the EyesThis has always been the problem with this approach – no attention to the anatomical details. I wonder if facial-recognition data could be used to scale the strokes around and on the eyes to preserve some detail?

More Facial Distortion

More Facial DistortionI like the treatment of the ceiling in this one, but the distortion of the facial features is disturbing again.

Sleeping Dog, Window

Sleeping Dog, WindowSwung the laptop towards the window and caught Kai sleeping. Stroke direction on Kai just happens to coincide with fur.

Un-natural Directional Choices

Un-natural Directional ChoicesVertical strokes on the hand? Feels like those should follow the vectors of the fingers…. Might try reducing image to a few colors, creating a polygonal representation, and then use a vector field (seeded with the lines from the polygons) to determine brush angles.

Self Portrait – Eyes Closed

Self Portrait - Eyes ClosedLooking for good angular distinctions between areas of similar brightness but different hues.

Monochrome Brushing

Monochrome BrushingIgnoring the color information to see the angular details more clearly.

(added 3.jan.09)
Interesting to note what kind of traffic you get from posting to the Exhibition section on processing.org:
Traffic on blog after posting to processing.org
I posted to processing.org on Christmas day (25.dec.08) and then get an almost perfect decay curve in blog traffic.

One Response to “Algorithmic Brushing”

  1. Nicolas de Vallière (Geneva) said

    Very nice !
    May I suggest a look at the SUSAN ALGORITHM, fine for detecting gradients with noise rejection ?

    Sincerely yours, N.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>