Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
PictureHandler Class Reference

#include <PictureHandler.h>

Collaboration diagram for PictureHandler:
Collaboration graph

Public Member Functions

 PictureHandler ()
 
virtual ~PictureHandler ()
 
void GetPictureBuffer (string &filename, vector< UINT > &outBuff, int &width, int &height)
 
void SavePicture (vector< UINT > &imgBuffer, int width, int height, string &outFilename, string &saveLocation, int format, const string &str="")
 
void GetPictureBuffer (string &filename, UINT *&outBuff, int &width, int &height)
 
void SavePicture (UINT *&imgBuffer, int width, int height, string &outFilename, string &saveLocation, int format=1, const string &str="")
 
wstring Narrow2Wide (const string &narrowString)
 
string Wide2Narrow (const wstring &wideString)
 

Detailed Description

Definition at line 30 of file PictureHandler.h.

Constructor & Destructor Documentation

PictureHandler::PictureHandler ( )

Definition at line 20 of file PictureHandler.cpp.

PictureHandler::~PictureHandler ( )
virtual

Definition at line 25 of file PictureHandler.cpp.

Member Function Documentation

void PictureHandler::GetPictureBuffer ( string &  filename,
vector< UINT > &  outBuff,
int &  width,
int &  height 
)

Definition at line 173 of file PictureHandler.cpp.

void PictureHandler::GetPictureBuffer ( string &  filename,
UINT *&  outBuff,
int &  width,
int &  height 
)

Definition at line 261 of file PictureHandler.cpp.

wstring PictureHandler::Narrow2Wide ( const string &  narrowString)

Definition at line 99 of file PictureHandler.cpp.

void PictureHandler::SavePicture ( vector< UINT > &  imgBuffer,
int  width,
int  height,
string &  outFilename,
string &  saveLocation,
int  format,
const string &  str = "" 
)

Definition at line 210 of file PictureHandler.cpp.

void PictureHandler::SavePicture ( UINT *&  imgBuffer,
int  width,
int  height,
string &  outFilename,
string &  saveLocation,
int  format = 1,
const string &  str = "" 
)

Definition at line 299 of file PictureHandler.cpp.

string PictureHandler::Wide2Narrow ( const wstring &  wideString)

Definition at line 134 of file PictureHandler.cpp.


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