Leptonica 1.68
C Image Processing Library
|
Analyzes edges of a 1 bpp (connected component) image for smoothness. More...
#include <stdio.h>
#include <stdlib.h>
#include "allheaders.h"
Go to the source code of this file.
Functions | |
void | PixAddEdgeData (PIXA *pixa, PIX *pixs, l_int32 side, l_int32 minjump, l_int32 minreversal) |
main (int argc, char **argv) | |
Variables | |
static l_int32 | MIN_JUMP = 2 |
static l_int32 | MIN_REVERSAL = 3 |
Analyzes edges of a 1 bpp (connected component) image for smoothness.
Definition in file smoothedge_reg.c.
Definition at line 55 of file smoothedge_reg.c.
References L_INSERT, pixaAddPix(), pixAddBorder(), pixDestroy(), pixMeasureEdgeSmoothness(), and pixRead().
Referenced by main().
main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 19 of file smoothedge_reg.c.
References IFF_PNG, L_FROM_BOTTOM, L_FROM_LEFT, L_FROM_RIGHT, L_FROM_TOP, MIN_JUMP, MIN_REVERSAL, pixaCreate(), PixAddEdgeData(), pixaDestroy(), pixaDisplayTiledAndScaled(), pixDestroy(), pixGetWidth(), pixRead(), pixRotateOrth(), and pixWrite().
Definition at line 12 of file smoothedge_reg.c.
Referenced by main().
l_int32 MIN_REVERSAL = 3 [static] |
Definition at line 13 of file smoothedge_reg.c.
Referenced by main().