Leptonica 1.68
C Image Processing Library
|
Demonstrates generating a hit-miss sel by extracting the letter "c" and the word "Caltech" from feyn.tif and using pixGenerateSelBoundary(). 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_uint32 | HitColor = 0x33aa4400 |
static const l_uint32 | MissColor = 0xaa44bb00 |
Demonstrates generating a hit-miss sel by extracting the letter "c" and the word "Caltech" from feyn.tif and using pixGenerateSelBoundary().
Definition in file findpattern3.c.
main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 41 of file findpattern3.c.
References boxCreate(), boxDestroy(), Sel::cx, Sel::cy, ERROR_INT, HitColor, IFF_PNG, MissColor, NULL, pixClipRectangle(), pixCopy(), pixDestroy(), pixDisplay(), pixDisplayHitMissSel(), pixDisplayMatchedPattern(), pixGenerateSelBoundary(), pixHMT(), pixRead(), pixRemoveMatchedPattern(), pixWrite(), selDestroy(), startTimer(), and stopTimer().
Definition at line 37 of file findpattern3.c.
Referenced by main().
Definition at line 38 of file findpattern3.c.
Referenced by main().