Leptonica 1.68
C Image Processing Library

binarize_reg.c File Reference

Tests Sauvola local binarization using pixSauvolaBinarize() and pixSauvolaBinarizeTiled(). More...

#include "allheaders.h"

Go to the source code of this file.

Functions

PIXPixTest1 (PIX *pixs, l_int32 size, l_float32 factor, L_REGPARAMS *rp)
PIXPixTest2 (PIX *pixs, l_int32 size, l_float32 factor, l_int32 nx, l_int32 ny, L_REGPARAMS *rp)
void PixTest3 (PIX *pixs, l_int32 size, l_float32 factor, l_int32 nx, l_int32 ny, l_int32 paircount, L_REGPARAMS *rp)
 main (int argc, char **argv)

Detailed Description

Tests Sauvola local binarization using pixSauvolaBinarize() and pixSauvolaBinarizeTiled().

Definition in file binarize_reg.c.


Function Documentation

void PixTest3 ( PIX pixs,
l_int32  size,
l_float32  factor,
l_int32  nx,
l_int32  ny,
l_int32  paircount,
L_REGPARAMS rp 
)

Definition at line 153 of file binarize_reg.c.

References pixDestroy(), PixTest1(), PixTest2(), and regTestComparePix().

Referenced by main().

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines