Leptonica 1.68
C Image Processing Library

distance_reg.c File Reference

This tests pixDistanceFunction() for a variety of usage with all 8 combinations of these parameters: connectivity (4 or 8), dest depth (8 or 16), and boundary cond (L_BOUNDARY_BG or L_BOUNDARY_FG). More...

#include "allheaders.h"

Go to the source code of this file.

Defines

#define DEBUG   0

Functions

static void TestDistance (PIXA *pixa, PIX *pixs, l_int32 conn, l_int32 depth, l_int32 bc, L_REGPARAMS *rp)
 main (int argc, char **argv)

Detailed Description

This tests pixDistanceFunction() for a variety of usage with all 8 combinations of these parameters: connectivity (4 or 8), dest depth (8 or 16), and boundary cond (L_BOUNDARY_BG or L_BOUNDARY_FG).

Definition in file distance_reg.c.


Define Documentation

#define DEBUG   0

Definition at line 32 of file distance_reg.c.

Referenced by main().


Function Documentation

static void TestDistance ( PIXA pixa,
PIX pixs,
l_int32  conn,
l_int32  depth,
l_int32  bc,
L_REGPARAMS rp 
) [static]
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines