MP5
Photomosaic
 All Classes Namespaces Files Functions Variables Pages
maptiles.h File Reference

mapTiles() function. More...

Functions

MosaicCanvasmapTiles (SourceImage const &theSource, vector< TileImage > &theTiles)
 Map the image tiles into a mosaic canvas which closely matches the input image. More...
 

Detailed Description

mapTiles() function.

Developed for CS225 PhotoMosaic MP

Author
Jack Toole
Date
Fall 2011

Function Documentation

MosaicCanvas* mapTiles ( SourceImage const &  theSource,
vector< TileImage > &  theTiles 
)

Map the image tiles into a mosaic canvas which closely matches the input image.

Todo:
This function is required for MP 5.2.
Parameters
theSourceThe input image to construct a photomosaic of
theTilesThe tiles image to use in the mosaic
Todo:
Implement this function!