tesseract  4.0.0-1-g2a2b
degradeimage.h File Reference
#include "allheaders.h"
#include "genericvector.h"
#include "helpers.h"
#include "rect.h"

Go to the source code of this file.

Namespaces

 tesseract
 

Functions

Pix * tesseract::DegradeImage (Pix *input, int exposure, TRand *randomizer, float *rotation)
 
Pix * tesseract::PrepareDistortedPix (const Pix *pix, bool perspective, bool invert, bool white_noise, bool smooth_noise, bool blur, int box_reduction, TRand *randomizer, GenericVector< TBOX > *boxes)
 
void tesseract::GeneratePerspectiveDistortion (int width, int height, TRand *randomizer, Pix **pix, GenericVector< TBOX > *boxes)
 
int tesseract::ProjectiveCoeffs (int width, int height, TRand *randomizer, float **im_coeffs, float **box_coeffs)