All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
otsuthr.cpp File Reference
#include "otsuthr.h"
#include <string.h>
#include "allheaders.h"
#include "helpers.h"
#include "openclwrapper.h"

Go to the source code of this file.

Namespaces

 tesseract
 

Functions

int tesseract::OtsuThreshold (Pix *src_pix, int left, int top, int width, int height, int **thresholds, int **hi_values)
 
void tesseract::HistogramRect (Pix *src_pix, int channel, int left, int top, int width, int height, int *histogram)
 
int tesseract::OtsuStats (const int *histogram, int *H_out, int *omega0_out)