20 #ifndef TESSERACT_CCMAIN_OTSUTHR_H_ 21 #define TESSERACT_CCMAIN_OTSUTHR_H_ 38 int OtsuThreshold(Pix* src_pix,
int left,
int top,
int width,
int height,
39 int** thresholds,
int** hi_values);
46 int left,
int top,
int width,
int height,
52 int OtsuStats(
const int* histogram,
int* H_out,
int* omega0_out);
56 #endif // TESSERACT_CCMAIN_OTSUTHR_H_ int OtsuStats(const int *histogram, int *H_out, int *omega0_out)
Definition: otsuthr.cpp:174
const int kHistogramSize
Definition: otsuthr.h:27
Definition: baseapi.cpp:94
void HistogramRect(Pix *src_pix, int channel, int left, int top, int width, int height, int *histogram)
Definition: otsuthr.cpp:151
int OtsuThreshold(Pix *src_pix, int left, int top, int width, int height, int **thresholds, int **hi_values)
Definition: otsuthr.cpp:39