This is a small project written over winter break 2012-2013.
Here's an album of some collages made with this program: http://imgur.com/a/pD4HJ
To compile, simply run one of the following in the top level directory:
make img
make img-u
The first command will output a file img
, and the second will output a file img-u
. The actual functionality of both is the same, but the latter has some tweaks to improve runtime.
./img [-k] [-v] -f folder -i image [-o output]
OR ./img -p [-v] -f folder
-p
parses filder, then exits.
-k
uses kdtree algorithm to generate output image (faster runtime, but reuses images from the source directory).
-h
prints a help/usage message.
-v
toggles verbosity.