tesseract::CubeUtils Class Reference

#include <cube_utils.h>

List of all members.

Public Member Functions

 CubeUtils ()
 ~CubeUtils ()

Static Public Member Functions

static int Prob2Cost (double prob_val)
static double Cost2Prob (int cost)
static int StrLen (const char_32 *str)
static int StrCmp (const char_32 *str1, const char_32 *str2)
static char_32StrDup (const char_32 *str)
static CharSampCharSampleFromImg (IMAGE *img, int left, int top, int wid, int hgt)
static CharSampCharSampleFromPix (Pix *pix, int left, int top, int wid, int hgt)
static IMAGEImageFromCharSample (CharSamp *char_samp)
static Pix * PixFromCharSample (CharSamp *char_samp)
static bool ReadFileToString (const string &file_name, string *str)
static void SplitStringUsing (const string &str, const string &delims, vector< string > *str_vec)
static void UTF8ToUTF32 (const char *utf8_str, string_32 *str32)
static void UTF32ToUTF8 (const char_32 *utf32_str, string *str)
static bool IsCaseInvariant (const char_32 *str32, CharSet *char_set)
static char_32ToLower (const char_32 *str32, CharSet *char_set)
static char_32ToUpper (const char_32 *str32, CharSet *char_set)

Constructor & Destructor Documentation

tesseract::CubeUtils::CubeUtils (  ) 
tesseract::CubeUtils::~CubeUtils (  ) 

Member Function Documentation

CharSamp * tesseract::CubeUtils::CharSampleFromImg ( IMAGE img,
int  left,
int  top,
int  wid,
int  hgt 
) [static]
CharSamp * tesseract::CubeUtils::CharSampleFromPix ( Pix *  pix,
int  left,
int  top,
int  wid,
int  hgt 
) [static]
double tesseract::CubeUtils::Cost2Prob ( int  cost  )  [static]
IMAGE * tesseract::CubeUtils::ImageFromCharSample ( CharSamp char_samp  )  [static]
bool tesseract::CubeUtils::IsCaseInvariant ( const char_32 str32,
CharSet char_set 
) [static]
Pix * tesseract::CubeUtils::PixFromCharSample ( CharSamp char_samp  )  [static]
int tesseract::CubeUtils::Prob2Cost ( double  prob_val  )  [static]
bool tesseract::CubeUtils::ReadFileToString ( const string &  file_name,
string *  str 
) [static]
void tesseract::CubeUtils::SplitStringUsing ( const string &  str,
const string &  delims,
vector< string > *  str_vec 
) [static]
int tesseract::CubeUtils::StrCmp ( const char_32 str1,
const char_32 str2 
) [static]
char_32 * tesseract::CubeUtils::StrDup ( const char_32 str  )  [static]
int tesseract::CubeUtils::StrLen ( const char_32 str  )  [static]
char_32 * tesseract::CubeUtils::ToLower ( const char_32 str32,
CharSet char_set 
) [static]
char_32 * tesseract::CubeUtils::ToUpper ( const char_32 str32,
CharSet char_set 
) [static]
void tesseract::CubeUtils::UTF32ToUTF8 ( const char_32 utf32_str,
string *  str 
) [static]
void tesseract::CubeUtils::UTF8ToUTF32 ( const char *  utf8_str,
string_32 str32 
) [static]

The documentation for this class was generated from the following files:
Generated on Thu Feb 2 08:19:26 2012 for Tesseract by  doxygen 1.6.3