20 #ifndef TESSERACT_CCMAIN_OTSUTHR_H__
21 #define TESSERACT_CCMAIN_OTSUTHR_H__
35 int bytes_per_pixel,
int bytes_per_line,
36 int left,
int top,
int width,
int height,
37 int** thresholds,
int** hi_values);
47 int bytes_per_pixel,
int bytes_per_line,
48 int left,
int top,
int width,
int height,
54 int OtsuStats(
const int* histogram,
int* H_out,
int* omega0_out);
58 #endif // TESSERACT_CCMAIN_OTSUTHR_H__
int OtsuStats(const int *histogram, int *H_out, int *omega0_out)
void OtsuThreshold(const unsigned char *imagedata, int bytes_per_pixel, int bytes_per_line, int left, int top, int width, int height, int **thresholds, int **hi_values)
void HistogramRect(const unsigned char *imagedata, int bytes_per_pixel, int bytes_per_line, int left, int top, int width, int height, int *histogram)