Leptonica 1.68
C Image Processing Library

morphseq_reg.c File Reference

Simple regression test for binary morph sequence (interpreter), showing display mode and rejection of invalid sequence components. More...

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

Go to the source code of this file.

Defines

#define VALID_SEQUENCE   "O1.3 + C3.1 + R22 + D2.2 + X4"
#define BAD_SEQUENCE

Functions

 main (int argc, char **argv)

Detailed Description

Simple regression test for binary morph sequence (interpreter), showing display mode and rejection of invalid sequence components.

Definition in file morphseq_reg.c.


Define Documentation

#define VALID_SEQUENCE   "O1.3 + C3.1 + R22 + D2.2 + X4"

Definition at line 27 of file morphseq_reg.c.

Referenced by main().

#define BAD_SEQUENCE
Value:
"O1.+D8 + E2.4 + e.4 + r25 + R + R.5 + X "\
                          " + x5 + y7.3"

Definition at line 28 of file morphseq_reg.c.

Referenced by main().


Function Documentation

main ( int  argc,
char **  argv 
)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines