Leptonica 1.68
C Image Processing Library

smoothedge_reg.c File Reference

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

Detailed Description

Analyzes edges of a 1 bpp (connected component) image for smoothness.

Definition in file smoothedge_reg.c.


Function Documentation

void PixAddEdgeData ( PIXA pixa,
PIX pixs,
l_int32  side,
l_int32  minjump,
l_int32  minreversal 
)

Definition at line 55 of file smoothedge_reg.c.

References L_INSERT, pixaAddPix(), pixAddBorder(), pixDestroy(), pixMeasureEdgeSmoothness(), and pixRead().

Referenced by main().


Variable Documentation

l_int32 MIN_JUMP = 2 [static]

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().

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines