tesseract  4.0.0-1-g2a2b
otsuthr.cpp File Reference
#include "otsuthr.h"
#include <cstring>
#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)