Leptonica 1.68
C Image Processing Library

grayquant_reg.c File Reference

Tests gray thresholding to 1, 2 and 4 bpp, with and without colormaps. More...

#include <stdio.h>
#include <stdlib.h>
#include "allheaders.h"

Go to the source code of this file.

Functions

 main (int argc, char **argv)

Variables

static const l_int32 THRESHOLD = 130
static const l_int32 NLEVELS = 4

Detailed Description

Tests gray thresholding to 1, 2 and 4 bpp, with and without colormaps.

Definition in file grayquant_reg.c.


Function Documentation


Variable Documentation

const l_int32 THRESHOLD = 130 [static]

Definition at line 26 of file grayquant_reg.c.

Referenced by main().

const l_int32 NLEVELS = 4 [static]

Definition at line 28 of file grayquant_reg.c.

Referenced by main().

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines