tesseract v5.3.3.20231005
otsuthr.h File Reference
#include "image.h"
#include <vector>

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)
 

Variables

const int tesseract::kHistogramSize = 256