mp_mosaics
Monstrous Mosaics
maptiles.cpp File Reference

Code for the maptiles function. More...

#include <iostream>
#include <map>
#include "maptiles.h"
Include dependency graph for maptiles.cpp:

Functions

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

Detailed Description

Code for the maptiles function.

Function Documentation

◆ convertToXYZ()

Point<3> convertToXYZ ( LUVAPixel  pixel)

◆ 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!