mp_mosaics
Monstrous Mosaics
main.cpp File Reference
#include <iostream>
#include <set>
#include <vector>
#include "cs225/PNG.h"
#include "maptiles.h"
#include "mosaiccanvas.h"
#include "sourceimage.h"
#include "util/util.h"
Include dependency graph for main.cpp:

Namespaces

 opts
 

Functions

void makePhotoMosaic (const string &inFile, const string &tileDir, int numTiles, int pixelsPerTile, const string &outFile)
 
vector< TileImagegetTiles (string tileDir)
 
bool hasImageExtension (const string &fileName)
 
int main (int argc, const char **argv)
 

Variables

bool opts::help = false
 

Function Documentation

◆ getTiles()

vector< TileImage > getTiles ( string  tileDir)

◆ hasImageExtension()

bool hasImageExtension ( const string fileName)

◆ main()

int main ( int  argc,
const char **  argv 
)

◆ makePhotoMosaic()

void makePhotoMosaic ( const string inFile,
const string tileDir,
int  numTiles,
int  pixelsPerTile,
const string outFile 
)