Slit-scan Photography (Stockholm Geekmeet presentation)

Last night, Robert Nyman hosted yet another successful Geekmeet in Stockholm. I got one of the lightning talk slots and decided to skip my planned presentation and instead show some of my experiments with slit-scan photography. The presentation slides (in swedish) are available (8 Mb PDF) here. For more pictures see the set Slit-scan I over at flickr.

Slitscan soccer, time lapse of soccer field, two minutes

The processing code for time lapse captures through the iSight camera with a static centered slit looks like this:

[source:javascript]
import processing.video.*;

Capture cameraSource;
int capwidth = 1280;
int capheight = 1024;
int outwidth = 1024;

int currentColumn = 0;

boolean keepDrawing = false;
boolean isDone = false;

void setup()
{
size(outwidth, capheight);
cameraSource = new Capture(this, capwidth, capheight, 30);
cameraSource.crop(capwidth/2, 0, 1, capheight);
}

void captureEvent(Capture cameraSource) {
if(cameraSource.available()) {
cameraSource.read();
}
}

void keyPressed() {
keepDrawing = true;
isDone = false;
}

void draw() {
if(keepDrawing) {
if(currentColumn<=width) {

image(cameraSource, currentColumn, 0);
currentColumn++;
}
else {
keepDrawing = false;
isDone = true;
saveImage();
currentColumn = 0;
}
}
}

void saveImage() {
//yeah I know…

String d = String.valueOf(day());
String m = String.valueOf(month());
String y = String.valueOf(year());
String h = String.valueOf(hour());
String mn = String.valueOf(minute());
String s = String.valueOf(second());

save(“scan” + y + m + d + “-” + h + mn + s + “.png”);
}
[/source]

Comments

  1. Mepper says at 2008-09-27 16:09:

    Nice! I have to try this sometime.

  2. Robert Nyman says at 2008-09-30 11:09:

    Thanks for a great and interesting presentation!

  3. Tom says at 2008-10-07 10:10:

    Good stuff! I couldn’t attend the Geekmeet, but looked through your presentation and the Flickr set. Had never heard of slit-scan photography but it sure was an interesting concept!

  4. Karl Dubost (karlpro) 's status on Monday, 19-Oct-09 09:57:41 UTC - Identi.ca says at 2009-10-19 10:10:

    [...] isight & processing for slitscan http://www.peterkrantz.com/2008/slit-scan-photography/ [...]

  5. Jeff Howard | Morphing and merging images says at 2009-10-22 20:10:

    [...] As well there are some ITP folks who have experimented with this technique and some basic processing sketches you can try out if you are interested in doing some tests of your own. To focus on an example that [...]

  6. Ansen Seale, slit-scan fotografi och HEX :: Olof :: Konst, kommunikation och internet. says at 2010-01-23 14:01:

    [...] kort om att fånga tid på bild och det är det många som gjort förut. Det fina är att det inte är så svårt att göra själv. Har börjat experimentera en del själv inför ett framtida event och om ni vill kommer ni nog [...]

Leave a comment

You can use some HTML elements. You know which they are.

Additional comments powered by BackType