Leptonica 1.68
C Image Processing Library

livre_pageseg.c File Reference

Makes Figures 2-5 in Chapter 18, "Document Image Applications" of the book "Mathematical morphology: from theory to applications"; demonstrates page segmentation. More...

#include <stdio.h>
#include <stdlib.h>
#include "allheaders.h"

Go to the source code of this file.

Defines

#define DFLAG   0

Functions

l_int32 DoPageSegmentation (PIX *pixs, l_int32 which)
 main (int argc, char **argv)

Detailed Description

Makes Figures 2-5 in Chapter 18, "Document Image Applications" of the book "Mathematical morphology: from theory to applications"; demonstrates page segmentation.

Definition in file livre_pageseg.c.


Define Documentation

#define DFLAG   0

Definition at line 37 of file livre_pageseg.c.

Referenced by DoPageSegmentation().


Function Documentation

main ( int  argc,
char **  argv 
)

Definition at line 42 of file livre_pageseg.c.

References DoPageSegmentation(), ERROR_INT, filein, NULL, pixDestroy(), and pixRead().

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines