All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
degradeimage.cpp File Reference
#include "degradeimage.h"
#include <stdlib.h>
#include "allheaders.h"
#include "helpers.h"

Go to the source code of this file.

Namespaces

 tesseract
 

Functions

Pix * tesseract::DegradeImage (Pix *input, int exposure, TRand *randomizer, float *rotation)
 

Variables

const float tesseract::kRotationRange = 0.02f
 
const int tesseract::kExposureFactor = 16
 
const int tesseract::kSaltnPepper = 5
 
const int tesseract::kMinRampSize = 1000