Go to the documentation of this file.
20 #ifndef TESSERACT_CCMAIN_THRESHOLDER_H__
21 #define TESSERACT_CCMAIN_THRESHOLDER_H__
55 void SetImage(
const unsigned char* imagedata,
int width,
int height,
56 int bytes_per_pixel,
int bytes_per_line);
60 void SetRectangle(
int left,
int top,
int width,
int height);
66 virtual void GetImageSizes(
int* left,
int* top,
int* width,
int* height,
67 int* imagewidth,
int* imageheight);
155 int bytes_per_pixel,
int bytes_per_line,
161 int bytes_per_pixel,
int bytes_per_line,
162 const int* thresholds,
const int* hi_values,
191 #endif // TESSERACT_CCMAIN_THRESHOLDER_H__