# HG changeset patch # User Robert McIntyre # Date 1395715386 14400 # Node ID eaf8c591372bcdbdac253350f622adcb13a8d8b3 # Parent c20de2267d39866ae893b1cd772b27a3263ff6d5 get perl scripts for compositing images. diff -r c20de2267d39 -r eaf8c591372b thesis/comp.pl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/comp.pl Mon Mar 24 22:43:06 2014 -0400 @@ -0,0 +1,17 @@ +#!/bin/perl + +use List::Flatten; + +$target = shift(@ARGV); + +$frames = shift(@ARGV); + +@numbers = split(/,/, $frames); +@images = map {sprintf("$target/%07d.png", $_)} @numbers; + + +$output = $target.".png"; + +@imagemagick_command = flat("montage", @images, "-geometry", "+2+2", $output); + +print "@imagemagick_command\n"; diff -r c20de2267d39 -r eaf8c591372b thesis/cortex.org --- a/thesis/cortex.org Mon Mar 24 20:59:35 2014 -0400 +++ b/thesis/cortex.org Mon Mar 24 22:43:06 2014 -0400 @@ -35,7 +35,7 @@ [[./images/cat-drinking.jpg]] It is currently impossible for any computer program to reliably - label such an video as "drinking". And rightly so -- it is a very + label such a video as "drinking". And rightly so -- it is a very hard problem! What features can you describe in terms of low level functions of pixels that can even begin to describe at a high level what is happening here?