tesseract v5.3.3.20231005
otsuthr.cpp File Reference
#include "otsuthr.h"
#include <allheaders.h>
#include <cstring>
#include "helpers.h"

Go to the source code of this file.

Namespaces

namespace  tesseract
 

Functions

int tesseract::OtsuThreshold (Image src_pix, int left, int top, int width, int height, std::vector< int > &thresholds, std::vector< int > &hi_values)
 
void tesseract::HistogramRect (Image 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)