tesseract  5.0.0-alpha-619-ge9db
degradeimage.h File Reference
#include "allheaders.h"
#include <tesseract/genericvector.h>
#include <tesseract/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)