Skip to content
A Matlab framework for composing photo mosaics
C++ MATLAB Objective-C Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Auto Photo Mosaic

This program facilitates the creation of the classic photo mosaic, a large composition of many small photographs stitched together in such a way as to resemble a single photograph.

More information on this program, see

Example photo mosaic


The basic workflow is to first analyze a large corpus of photographs to derive color distribution features and generate thumbnails. The result of this is a matlab data file (.mat) which contains this information for lookup later. This step only needs to be done once.

After the analysis is done, the user supplies a path to a target image and a set of parameters, and it will create a large mosaic file and save it to disk.

More detailed usage instructions are found in the main program of the repository, main.m.


Thanks to Ofir Pele for the FastEMD implementation of Earth Mover's distance which is used for determining image similarity.

You can’t perform that action at this time.