Leptonica 1.68
C Image Processing Library
|
Demonstrates using a hit-miss sel to find the letter "c" in feyn.tif. More...
#include <stdio.h>
#include <stdlib.h>
#include "allheaders.h"
Go to the source code of this file.
Functions | |
main (int argc, char **argv) | |
Variables | |
static const l_int32 | NumHorLines = 11 |
static const l_int32 | NumVertLines = 8 |
static const l_int32 | MinRunlength = 1 |
static const l_uint32 | HitColor = 0xff880000 |
static const l_uint32 | MissColor = 0x00ff8800 |
Demonstrates using a hit-miss sel to find the letter "c" in feyn.tif.
Definition in file findpattern1.c.
main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 45 of file findpattern1.c.
References boxaAddBox(), boxaCreate(), boxaDestroy(), boxaGetBox(), boxaGetCount(), boxaWriteStream(), boxCreate(), boxDestroy(), ERROR_INT, filein, HitColor, IFF_PNG, IFF_TIFF_G4, L_COPY, L_FLIP_PIXELS, L_INSERT, MinRunlength, MissColor, NULL, NumHorLines, NumVertLines, pixConnCompBB(), pixDestroy(), pixDilate(), pixDisplay(), pixDisplayHitMissSel(), pixErode(), pixGenerateSelWithRuns(), pixGetHeight(), pixGetWidth(), pixHMT(), pixRead(), pixRenderBox(), pixWrite(), SEL_HIT, selCreateBrick(), selDestroy(), selWriteStream(), startTimer(), stopTimer(), Box::x, and Box::y.
const l_int32 NumHorLines = 11 [static] |
Definition at line 36 of file findpattern1.c.
Referenced by main().
const l_int32 NumVertLines = 8 [static] |
Definition at line 37 of file findpattern1.c.
Referenced by main().
const l_int32 MinRunlength = 1 [static] |
Definition at line 38 of file findpattern1.c.
Referenced by main().
Definition at line 41 of file findpattern1.c.
Referenced by main().
Definition at line 42 of file findpattern1.c.
Referenced by main().