Evolutionary collage builder

Bob Mottram fc37b2e4ea Shorter line length 1 month ago
examples b3b98edf7b Use a different example image 1 month ago
man 5a7d68d70e Add subtitles 1 month ago
src fc37b2e4ea Shorter line length 1 month ago
test 4d4e4a642d Initial 1 year ago
unittests 4d4e4a642d Initial 1 year ago
LICENSE 4d4e4a642d Initial 1 year ago
Makefile d1c46297d8 Add install to makefile 1 year ago
README.md b3b98edf7b Use a different example image 1 month ago

README.md

Hypercollage: Evolutionary art builder

Hypercollage enables you to make collages from a directory containing 24bit RGB images. Images must be in PNG format. It loads the images, segments them and then recombines the segments to produce 9 example images. You can select one of the examples and continue evolving it, or reset for another random set of combinations.

Installation

To build from source:

make
sudo make install

Unit tests

You can run the unit tests to check that the system is working as expected:

cd unittests
make
./tests

Usage

If you have a directory containing some PNG images, called myimages:

hypercollage -i myimages

Make sure that you are running the command from a different directory in order to avoid confusion.

The Next Generation

If you want to pick an image to produce the next generation:

hypercollage -i myimages --winner [number]

Where the number is in the range 0 to 8.

Starting Over

If you want to reset and get another set of random images without reference to any previous evolution:

hypercollage -i myimages -r

Image Resolution

You can also change the resolution. It will take longer to produce higher resolution images.

hypercollage -i myimages -s 2048