mp_mosaics
Monstrous Mosaics
maptiles.h File Reference

mapTiles() function. More...

#include <map>
#include <vector>
#include "cs225/PNG.h"
#include "kdtree.h"
#include "mosaiccanvas.h"
#include "sourceimage.h"
#include "tileimage.h"
Include dependency graph for maptiles.h:
This graph shows which files directly or indirectly include this file:

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

◆ mapTiles()

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!