Leptonica 1.68
C Image Processing Library
|
Uses pixGenerateSelBoundary() to generate hit-miss Sels that are a good fit for two 1 bpp patterns: a "T" in the banner name and the banner name ("Tribune"). More...
#include "allheaders.h"
Go to the source code of this file.
Functions | |
l_int32 | GeneratePattern (l_int32 patno, l_int32 red, L_REGPARAMS *rp) |
main (int argc, char **argv) | |
Variables | |
static const l_uint32 | HitColor = 0x33aa4400 |
static const l_uint32 | MissColor = 0xaa44bb00 |
static const char * | patname [2] |
Uses pixGenerateSelBoundary() to generate hit-miss Sels that are a good fit for two 1 bpp patterns: a "T" in the banner name and the banner name ("Tribune").
Definition in file findpattern_reg.c.
l_int32 GeneratePattern | ( | l_int32 | patno, |
l_int32 | red, | ||
L_REGPARAMS * | rp | ||
) |
Definition at line 72 of file findpattern_reg.c.
References L_RegParams::display, ERROR_INT, FALSE, HitColor, IFF_PNG, L_CLONE, MissColor, NULL, patname, pixaAddPix(), pixaCreate(), pixaDestroy(), pixaDisplayTiledAndScaled(), pixClone(), pixCopy(), pixDestroy(), pixDisplayHitMissSel(), pixDisplayMatchedPattern(), pixDisplayWithTitle(), pixGenerateSelBoundary(), pixHMT(), pixRead(), pixReduceRankBinaryCascade(), pixRemoveMatchedPattern(), PROCNAME, regTestWritePixAndCheck(), selDestroy(), selGetParameters(), startTimer(), stopTimer(), and L_RegParams::success.
Referenced by main().
main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 50 of file findpattern_reg.c.
References GeneratePattern(), regTestCleanup(), and regTestSetup().
Definition at line 39 of file findpattern_reg.c.
Referenced by GeneratePattern().
Definition at line 40 of file findpattern_reg.c.
Referenced by GeneratePattern().
const char* patname[2] [static] |
{ "tribune-word.png", "tribune-t.png"}
Definition at line 43 of file findpattern_reg.c.
Referenced by GeneratePattern().