Leptonica 1.68
C Image Processing Library
|
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) |
Regression test for adaptive threshold normalization using: pixThresholdSpreadNorm() and pixThresholdToBinary().
Definition in file threshnorm_reg.c.
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().
main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 31 of file threshnorm_reg.c.
References AddTestSet(), L_RegParams::display, IFF_JFIF_JPEG, L_SOBEL_EDGE, L_TWO_SIDED_EDGE, NULL, pixaCreate(), pixaDestroy(), pixaDisplay(), pixDestroy(), pixDisplayWithTitle(), pixRead(), pixSaveTiled(), regTestCleanup(), regTestSetup(), and regTestWritePixAndCheck().