23 #ifndef _TILEMANAGER_H 24 #define _TILEMANAGER_H 31 #include "JPEGCompressor.h" 34 #include "Watermark.h" 49 std::ofstream* logfile;
51 Timer compression_timer, tile_timer, insert_timer;
66 RawTile getNewTile(
int resolution,
int tile,
int xangle,
int yangle,
int layers, CompressionType c );
111 RawTile getTile(
int resolution,
int tile,
int xangle,
int yangle,
int layers, CompressionType c );
129 RawTile getRegion(
unsigned int res,
int xangle,
int yangle,
int layers,
unsigned int x,
unsigned int y,
unsigned int w,
unsigned int h );
Wrapper class to the IJG JPEG library.
Definition: JPEGCompressor.h:60
Cache to store raw tile data.
Definition: Cache.h:91
RawTile getRegion(unsigned int res, int xangle, int yangle, int layers, unsigned int x, unsigned int y, unsigned int w, unsigned int h)
Generate a complete region.
Class to manage access to the tile cache and tile cropping.
Definition: TileManager.h:40
Watermark class.
Definition: Watermark.h:41
Main class to handle the pyramidal image source.
Definition: IIPImage.h:61
TileManager(Cache *tc, IIPImage *im, Watermark *w, JPEGCompressor *j, std::ofstream *s, int l)
Constructor.
Definition: TileManager.h:87
RawTile getTile(int resolution, int tile, int xangle, int yangle, int layers, CompressionType c)
Get a tile from the cache.
Simple Timer class to allow us to time our responses.
Definition: Timer.h:39
Class to represent a single image tile.
Definition: RawTile.h:45