Leptonica 1.68
C Image Processing Library

threshnorm_reg.c File Reference

Regression test for adaptive threshold normalization using: pixThresholdSpreadNorm() and pixThresholdToBinary(). More...

#include <string.h>
#include "allheaders.h"

Go to the source code of this file.

Functions

static void AddTestSet (PIXA *pixa, PIX *pixs, l_int32 filtertype, l_int32 edgethresh, l_int32 smoothx, l_int32 smoothy, l_float32 gamma, l_int32 minval, l_int32 maxval, l_int32 targetthresh)
 main (int argc, char **argv)

Detailed Description

Regression test for adaptive threshold normalization using: pixThresholdSpreadNorm() and pixThresholdToBinary().

Definition in file threshnorm_reg.c.


Function Documentation

void AddTestSet ( PIXA pixa,
PIX pixs,
l_int32  filtertype,
l_int32  edgethresh,
l_int32  smoothx,
l_int32  smoothy,
l_float32  gamma,
l_int32  minval,
l_int32  maxval,
l_int32  targetthresh 
) [static]

Definition at line 65 of file threshnorm_reg.c.

References NULL, pixDestroy(), pixSaveTiled(), pixThresholdSpreadNorm(), and pixThresholdToBinary().

Referenced by main().

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines