Leptonica 1.68
C Image Processing Library

cmapquant_reg.c File Reference

Tests quantization of rgb image to a specific colormap. Does this by starting with a grayscale image, doing a grayscale quantization with a colormap in the dest, then adding new colors, scaling (which removes the colormap), and finally re-quantizing back to the original colormap. More...

#include "allheaders.h"

Go to the source code of this file.

Defines

#define LEVEL   3
#define MIN_DEPTH   4

Functions

 main (int argc, char **argv)

Detailed Description

Tests quantization of rgb image to a specific colormap. Does this by starting with a grayscale image, doing a grayscale quantization with a colormap in the dest, then adding new colors, scaling (which removes the colormap), and finally re-quantizing back to the original colormap.

Definition in file cmapquant_reg.c.


Define Documentation

#define LEVEL   3

Definition at line 28 of file cmapquant_reg.c.

Referenced by main().

#define MIN_DEPTH   4

Definition at line 29 of file cmapquant_reg.c.

Referenced by main().


Function Documentation

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines