![]() |
Leptonica 1.68
C Image Processing Library
|
Generates adaptive mappings in both gray and color, testing individual parts. Uses pixGetBackgroundGrayMap(), pixGetInvBackgroundMap(), pixApplyInvBackgroundGrayMap(), pixGetBackgroundRGBMap(), pixBackgroundNorm(). More...
#include <stdio.h>#include <stdlib.h>#include "allheaders.h"Go to the source code of this file.
Defines | |
| #define | SIZE_X 10 |
| #define | SIZE_Y 30 |
| #define | BINTHRESH 50 |
| #define | MINCOUNT 30 |
| #define | BGVAL 200 |
| #define | SMOOTH_X 2 |
| #define | SMOOTH_Y 1 |
| #define | XS 151 |
| #define | YS 225 |
| #define | WS 913 |
| #define | HS 1285 |
Functions | |
| main (int argc, char **argv) | |
Generates adaptive mappings in both gray and color, testing individual parts. Uses pixGetBackgroundGrayMap(), pixGetInvBackgroundMap(), pixApplyInvBackgroundGrayMap(), pixGetBackgroundRGBMap(), pixBackgroundNorm().
Definition in file adaptmaptest.c.
| #define SIZE_X 10 |
Definition at line 30 of file adaptmaptest.c.
Referenced by main().
| #define SIZE_Y 30 |
Definition at line 31 of file adaptmaptest.c.
Referenced by main().
| #define BINTHRESH 50 |
Definition at line 32 of file adaptmaptest.c.
Referenced by main().
| #define MINCOUNT 30 |
Definition at line 33 of file adaptmaptest.c.
Referenced by main().
| #define BGVAL 200 |
Definition at line 35 of file adaptmaptest.c.
Referenced by main().
| #define SMOOTH_X 2 |
Definition at line 36 of file adaptmaptest.c.
Referenced by main().
| #define SMOOTH_Y 1 |
Definition at line 37 of file adaptmaptest.c.
Referenced by main().
| #define XS 151 |
Definition at line 40 of file adaptmaptest.c.
Referenced by main().
| #define YS 225 |
Definition at line 41 of file adaptmaptest.c.
Referenced by main().
| #define WS 913 |
Definition at line 42 of file adaptmaptest.c.
Referenced by main().
| #define HS 1285 |
Definition at line 43 of file adaptmaptest.c.
Referenced by main().
| main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 46 of file adaptmaptest.c.
References BGVAL, BINTHRESH, ERROR_INT, filein, HS, IFF_JFIF_JPEG, IFF_PNG, MINCOUNT, NULL, PIX_SET, pixaCreate(), pixaDestroy(), pixaDisplay(), pixApplyInvBackgroundGrayMap(), pixApplyInvBackgroundRGBMap(), pixBackgroundNorm(), pixClone(), pixConvertRGBToGray(), pixConvertTo32(), pixCreate(), pixDestroy(), pixDisplay(), pixDisplayMultiple(), pixDisplayWrite(), pixGammaTRCMasked(), pixGetBackgroundGrayMap(), pixGetBackgroundRGBMap(), pixGetDimensions(), pixGetInvBackgroundMap(), pixInvert(), pixRasterop(), pixRead(), pixSaveTiled(), pixWrite(), SIZE_X, SIZE_Y, SMOOTH_X, SMOOTH_Y, startTimer(), stopTimer(), WS, XS, and YS.