October 19th, 2010

Jitter example: Lightpainting

In this example, I’m giving you code to do live interactive light painting. The typical way to do this is by taking several extended exposure photographs which are then sequenced into a stop motion video. My method uses jitter to isolate the brightest parts of the scene and then applies additional processing to make it a more interesting experience. Once again, the patch is extremely commented, but let me know if you’re stuck on something. I made the patch for an image processing class originally, so I have some detailed documentation of it. Below the download is a series of images detailing the processing steps to get the lightpainting effect.

Lightpainting example (1392 downloads) (Right click and choose “Save As”)

Click images for full sized version:

  • Pingback: Blair Neal - Visualist

  • Christian

    Hello Mr. Neil! My Names Christian, and I’m using your software as part of a collegeproject. The project is to create a wall/screen on which one can draw with light. The setup is such that a projector and a webcam is on one side of the screen, and the user is on the other. The projector will then illuminate whatever the user decides to draw with the light. It works quite well in circumstances, but the program still has difficulty not reacting to the projections if these are too bright. Is there anyway you could help with that, I’m not quite sure how the luminance threshold and such could be manipulated.

    Regards – Christian DK
    P.S. Thanks for the incredible patch, it has come very much in handy.