Leptonica 1.68
C Image Processing Library
|
Makes Figures 7-8 in Chapter 18, "Document Image Applications" of the book "Mathematical morphology: from theory to applications"; demonstrates use of pixGenerateSelBoundary() to generate a hit-miss Sel. 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 |
static const char * | patname [3] |
Makes Figures 7-8 in Chapter 18, "Document Image Applications" of the book "Mathematical morphology: from theory to applications"; demonstrates use of pixGenerateSelBoundary() to generate a hit-miss Sel.
Definition in file livre_hmt.c.
main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 47 of file livre_hmt.c.
References ERROR_INT, HitColor, IFF_PNG, L_CLONE, MissColor, NULL, patname, pixaAddPix(), pixaCreate(), pixaDisplayTiledAndScaled(), pixClone(), pixCopy(), pixDestroy(), pixDisplay(), pixDisplayHitMissSel(), pixDisplayMatchedPattern(), pixGenerateSelBoundary(), pixHMT(), pixRead(), pixReduceRankBinaryCascade(), pixRemoveMatchedPattern(), pixWrite(), selDestroy(), selGetParameters(), startTimer(), and stopTimer().
Definition at line 37 of file livre_hmt.c.
Referenced by main().
Definition at line 38 of file livre_hmt.c.
Referenced by main().
const char* patname[3] [static] |
{ "", "tribune-word.png", "tribune-t.png"}
Definition at line 41 of file livre_hmt.c.
Referenced by main().