|
Leptonica
1.54
|
Макросы | |
| #define | OUTROOT "fmorphgen" |
| #define | TEMPLATE1 "morphtemplate1.txt" |
| #define | TEMPLATE2 "morphtemplate2.txt" |
| #define | PROTOARGS "(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);" |
Функции | |
| static char * | makeBarrelshiftString (l_int32 delx, l_int32 dely) |
| static SARRAY * | sarrayMakeInnerLoopDWACode (SEL *sel, l_int32 index) |
| static SARRAY * | sarrayMakeWplsCode (SEL *sel) |
| l_int32 | fmorphautogen (SELA *sela, l_int32 fileindex, const char *filename) |
| l_int32 | fmorphautogen1 (SELA *sela, l_int32 fileindex, const char *filename) |
| l_int32 | fmorphautogen2 (SELA *sela, l_int32 fileindex, const char *filename) |
Переменные | |
| static const l_int32 | L_BUF_SIZE = 512 |
| static char | wpldecls [][53] |
| static char | wplgendecls [][30] |
| static char | wpldefs [][25] |
| static char | wplstrp [][10] |
| static char | wplstrm [][10] |
| #define OUTROOT "fmorphgen" |
| #define TEMPLATE1 "morphtemplate1.txt" |
| #define TEMPLATE2 "morphtemplate2.txt" |
Input: sela
fileindex
filename (<optional>; can be null)
Return: 0 if OK; 1 on error
Notes: (1) This function generates all the code for implementing dwa morphological operations using all the sels in the sela. (2) See fmorphautogen1() and fmorphautogen2() for details.
Input: sela
fileindex
filename (<optional>; can be null)
Return: 0 if OK; 1 on error
Notes: (1) This function uses morphtemplate1.txt to create a top-level file that contains two functions. These functions will carry out dilation, erosion, opening or closing for any of the sels in the input sela. (2) The fileindex parameter is inserted into the output filename, as described below. (3) If filename == NULL, the output file is fmorphgen.<n>.c, where <n> is equal to the 'fileindex' parameter. (4) If filename != NULL, the output file is <filename>.<n>.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |