Logo Search packages:      
Sourcecode: ocropus version File versions  Download package

didegrade.h File Reference

Detailed Description

Document image degradation.

Definition in file didegrade.h.

#include "colib.h"

Go to the source code of this file.


namespace  ocropus


void ocropus::degrade (colib::bytearray &image, double jitter_mean=.2, double jitter_sigma=.1, double sensitivity_mean=.125, double sensitivity_sigma=.04, double threshold_mean=.4, double threshold_sigma=.04)
 Degrade a grayscale text image by applying Baird's degradation model.

Generated by  Doxygen 1.6.0   Back to index