Leptonica 1.68
C Image Processing Library
|
Demonstrates conversion from grayscale to false color using pixConvertGrayToFalseColor(), where the colormap is modeled after the Matlab "jet" configuration. More...
#include <stdio.h>
#include <stdlib.h>
#include "allheaders.h"
Go to the source code of this file.
Defines | |
#define | DEPTH 16 |
#define | WIDTH 768 |
#define | HEIGHT 100 |
Functions | |
main (int argc, char **argv) |
Demonstrates conversion from grayscale to false color using pixConvertGrayToFalseColor(), where the colormap is modeled after the Matlab "jet" configuration.
Definition in file falsecolortest.c.
#define DEPTH 16 |
Definition at line 25 of file falsecolortest.c.
Referenced by main().
#define WIDTH 768 |
Definition at line 26 of file falsecolortest.c.
Referenced by main().
#define HEIGHT 100 |
Definition at line 27 of file falsecolortest.c.
Referenced by main().
main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 30 of file falsecolortest.c.
References DEPTH, ERROR_INT, HEIGHT, IFF_PNG, pixConvertGrayToFalseColor(), pixCreate(), pixDestroy(), pixDisplay(), pixGetDepth(), pixRead(), pixSetPixel(), pixWrite(), and WIDTH.