klComputerVision
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
klBigTiffFileManager Class Reference

#include <klBigTiffFileManager.h>

Collaboration diagram for klBigTiffFileManager:
Collaboration graph

Public Member Functions

 klBigTiffFileManager (const char *fileName)
 
 ~klBigTiffFileManager ()
 
unsigned int getNumberOfTiffDirs ()
 
bool getWSIImage (const char *ofileName)
 
bool getLabelImage (const char *ofileName)
 
bool getThumbnail (const char *ofileName)
 
bool getTiffDirImage (unsigned int dir, const char *ofileName)
 
bool getStripSubDir (unsigned int dir, const char *ofileName)
 
std::map< std::string,
std::string > 
getMetadata (unsigned int i)
 
void ExtractMainResTile (const char *tiffoutputFile, const char *ppmoutputFile, unsigned int x, unsigned int y, unsigned int w, unsigned int h)
 
void ExtractMainResTileApplyICC (const char *outputFile, unsigned int x, unsigned int y, unsigned int w, unsigned int h)
 
void ExtractImageTiles (const char *outputFileBase)
 
unsigned char * getImageBuffer (unsigned int x, unsigned int y, unsigned int w, unsigned int h, unsigned int &tw, unsigned int &th)
 
void printMetadata ()
 

Protected Member Functions

TiffImageInfo getTiffImageInfo (unsigned int i)
 
void writeTiffFile (char *filename, void *raster, TiffImageInfo info)
 
std::vector< std::string > parseImageDescriptionTag (std::string tag)
 
std::map< std::string,
std::string > 
createXMLMap (std::vector< std::string > elements, TiffImageInfo info)
 
void printTiffInfo (FILE *fname, TiffImageInfo info)
 

Protected Attributes

TIFF * tifFile
 
FILE * logFile
 

Private Member Functions

void setTiffDirectory (unsigned int i)
 

Constructor & Destructor Documentation

klBigTiffFileManager::klBigTiffFileManager ( const char *  fileName)

Here is the call graph for this function:

klBigTiffFileManager::~klBigTiffFileManager ( )
inline

Member Function Documentation

std::map< std::string, std::string > klBigTiffFileManager::createXMLMap ( std::vector< std::string >  elements,
TiffImageInfo  info 
)
protected

Here is the caller graph for this function:

void klBigTiffFileManager::ExtractImageTiles ( const char *  outputFileBase)

Here is the call graph for this function:

void klBigTiffFileManager::ExtractMainResTile ( const char *  tiffoutputFile,
const char *  ppmoutputFile,
unsigned int  x,
unsigned int  y,
unsigned int  w,
unsigned int  h 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void klBigTiffFileManager::ExtractMainResTileApplyICC ( const char *  outputFile,
unsigned int  x,
unsigned int  y,
unsigned int  w,
unsigned int  h 
)

Here is the call graph for this function:

unsigned char* klBigTiffFileManager::getImageBuffer ( unsigned int  x,
unsigned int  y,
unsigned int  w,
unsigned int  h,
unsigned int &  tw,
unsigned int &  th 
)
bool klBigTiffFileManager::getLabelImage ( const char *  ofileName)

Here is the call graph for this function:

std::map< std::string, std::string > klBigTiffFileManager::getMetadata ( unsigned int  i)

Here is the call graph for this function:

Here is the caller graph for this function:

unsigned int klBigTiffFileManager::getNumberOfTiffDirs ( )

Here is the call graph for this function:

bool klBigTiffFileManager::getStripSubDir ( unsigned int  dir,
const char *  ofileName 
)

Here is the call graph for this function:

bool klBigTiffFileManager::getThumbnail ( const char *  ofileName)

Here is the call graph for this function:

bool klBigTiffFileManager::getTiffDirImage ( unsigned int  dir,
const char *  ofileName 
)

Here is the call graph for this function:

Here is the caller graph for this function:

TiffImageInfo klBigTiffFileManager::getTiffImageInfo ( unsigned int  i)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

bool klBigTiffFileManager::getWSIImage ( const char *  ofileName)

Here is the call graph for this function:

std::vector< std::string > klBigTiffFileManager::parseImageDescriptionTag ( std::string  tag)
protected

Here is the caller graph for this function:

void klBigTiffFileManager::printMetadata ( )

Here is the call graph for this function:

void klBigTiffFileManager::printTiffInfo ( FILE *  fname,
TiffImageInfo  info 
)
protected
void klBigTiffFileManager::setTiffDirectory ( unsigned int  i)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void klBigTiffFileManager::writeTiffFile ( char *  filename,
void *  raster,
TiffImageInfo  info 
)
protected

Here is the call graph for this function:

Field Documentation

FILE* klBigTiffFileManager::logFile
protected
TIFF* klBigTiffFileManager::tifFile
protected

The documentation for this class was generated from the following files: