Leptonica 1.68
C Image Processing Library

adaptmaptest.c File Reference

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)

Detailed Description

Generates adaptive mappings in both gray and color, testing individual parts. Uses pixGetBackgroundGrayMap(), pixGetInvBackgroundMap(), pixApplyInvBackgroundGrayMap(), pixGetBackgroundRGBMap(), pixBackgroundNorm().

Definition in file adaptmaptest.c.


Define Documentation

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


Function Documentation

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines