tesseract  3.03
/usr/local/google/home/jbreiden/tesseract-ocr-read-only/training/degradeimage.cpp File Reference
#include "degradeimage.h"
#include <stdlib.h>
#include "allheaders.h"

Go to the source code of this file.

Namespaces

namespace  tesseract

Defines

#define rand_r(random_seed)   rand()

Functions

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

Variables

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

Define Documentation

#define rand_r (   random_seed)    rand()

Definition at line 39 of file degradeimage.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines