Leptonica 1.68
C Image Processing Library
|
Demonstrates unsupervised color segmentation using pixColorSegment(). 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 | MAX_DIST = 120 |
static const l_int32 | MAX_COLORS = 15 |
static const l_int32 | SEL_SIZE = 4 |
static const l_int32 | FINAL_COLORS = 15 |
Demonstrates unsupervised color segmentation using pixColorSegment().
Definition in file colorsegtest.c.
main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 51 of file colorsegtest.c.
References ERROR_INT, filein, FINAL_COLORS, IFF_PNG, MAX_COLORS, MAX_DIST, NULL, pixColorSegment(), pixDestroy(), pixRead(), pixRemoveColormap(), pixWrite(), REMOVE_CMAP_BASED_ON_SRC, SEL_SIZE, startTimer(), and stopTimer().
Definition at line 45 of file colorsegtest.c.
Referenced by main().
const l_int32 MAX_COLORS = 15 [static] |
Definition at line 46 of file colorsegtest.c.
Referenced by main().
Definition at line 47 of file colorsegtest.c.
Referenced by main().
const l_int32 FINAL_COLORS = 15 [static] |
Definition at line 48 of file colorsegtest.c.
Referenced by main().