Leptonica 1.68
C Image Processing Library

findpattern_reg.c File Reference

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]

Detailed Description

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.


Function Documentation

main ( int  argc,
char **  argv 
)

Definition at line 50 of file findpattern_reg.c.

References GeneratePattern(), regTestCleanup(), and regTestSetup().


Variable Documentation

const l_uint32 HitColor = 0x33aa4400 [static]

Definition at line 39 of file findpattern_reg.c.

Referenced by GeneratePattern().

const l_uint32 MissColor = 0xaa44bb00 [static]

Definition at line 40 of file findpattern_reg.c.

Referenced by GeneratePattern().

const char* patname[2] [static]
Initial value:
 {
    "tribune-word.png",   
    "tribune-t.png"}

Definition at line 43 of file findpattern_reg.c.

Referenced by GeneratePattern().

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines