Skip to content

josephburnett/mosaic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mosaic

Overview

A photo mosaic is an image composed of many smaller images (see the Wikipedia arcticle). This project generates a photo mosaic of the target image from a collection of tiles, which are the source images broken into squares of equal size.

Usage

lein run [target image] [source images]...
lein run target.jpg tiles/*.jpg
lein run --tile-size 100 --tile-step 20 --samples 3 --output "example-output.txt" --width 50 target.jpg tiles/*.jpg
lein run --help

Known Issues

  • The heavy weigh operations like tile generation and tile matching could make use of multiple cores by using pmap instead of map.

License

Copyright (C) 2012 Joseph Burnett. All rights reserved.

Distributed under the MIT License; see the file LICENSE at the root of this distribution.

About

A simple Clojure application for creating photo mosaics.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published