Leptonica 1.68
C Image Processing Library

colorquant_reg.c File Reference

Regression test for various color quantizers. More...

#include "allheaders.h"

Go to the source code of this file.

Functions

static l_int32 TestImage (const char *filename, l_int32 i, L_REGPARAMS *rp)
static void PixSave32 (PIXA *pixa, PIX *pixc, L_REGPARAMS *rp)
 main (int argc, char **argv)

Variables

static const l_int32 SPACE = 30
static const l_int32 MAX_WIDTH = 350
static const char * image [4]

Detailed Description

Regression test for various color quantizers.

Definition in file colorquant_reg.c.


Function Documentation

static void PixSave32 ( PIXA pixa,
PIX pixc,
L_REGPARAMS rp 
) [static]
main ( int  argc,
char **  argv 
)

Definition at line 35 of file colorquant_reg.c.

References image, regTestCleanup(), regTestSetup(), and TestImage().


Variable Documentation

const l_int32 SPACE = 30 [static]

Definition at line 24 of file colorquant_reg.c.

Referenced by PixSave32(), and TestImage().

const l_int32 MAX_WIDTH = 350 [static]

Definition at line 25 of file colorquant_reg.c.

Referenced by TestImage().

const char* image[4] [static]
Initial value:
 {"marge.jpg",
                               "test24.jpg",
                               "juditharismax.jpg",
                               "hardlight2_2.jpg"}

Definition at line 26 of file colorquant_reg.c.

Referenced by main(), and pixWriteTTFText().

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines