Leptonica 1.68
C Image Processing Library

livre_hmt.c File Reference

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]

Detailed Description

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.


Function Documentation


Variable Documentation

const l_uint32 HitColor = 0x33aa4400 [static]

Definition at line 37 of file livre_hmt.c.

Referenced by main().

const l_uint32 MissColor = 0xaa44bb00 [static]

Definition at line 38 of file livre_hmt.c.

Referenced by main().

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

Definition at line 41 of file livre_hmt.c.

Referenced by main().

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines