tesseract v5.3.3.20231005
polyaprx.cpp File Reference
#include "polyaprx.h"
#include "blobs.h"
#include "coutln.h"
#include "errcode.h"
#include "mod128.h"
#include "params.h"
#include "points.h"
#include "rect.h"
#include "tprintf.h"
#include <cstdint>

Go to the source code of this file.

Namespaces

namespace  tesseract
 

Macros

#define FASTEDGELENGTH   256
 
#define fixed_dist   20
 
#define approx_dist   15
 

Functions

TESSLINE * tesseract::ApproximateOutline (bool allow_detailed_fx, C_OUTLINE *c_outline)
 

Variables

const int tesseract::par1 = 4500 / (approx_dist * approx_dist)
 
const int tesseract::par2 = 6750 / (approx_dist * approx_dist)
 

Macro Definition Documentation

◆ approx_dist

#define approx_dist   15

Definition at line 41 of file polyaprx.cpp.

◆ FASTEDGELENGTH

#define FASTEDGELENGTH   256

Definition at line 34 of file polyaprx.cpp.

◆ fixed_dist

#define fixed_dist   20

Definition at line 40 of file polyaprx.cpp.