Leptonica 1.68
C Image Processing Library
|
This explores the space of the four parameters input for color segmentation: maxdist (the maximum distance between pixels that get clustered), selsize (responsible for smoothing the result), maxcolors and finalcolors. 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 | MaxColors [] = {4, 8, 16} |
static const l_int32 | FinalColors [] = {4, 8, 16} |
This explores the space of the four parameters input for color segmentation: maxdist (the maximum distance between pixels that get clustered), selsize (responsible for smoothing the result), maxcolors and finalcolors.
Definition in file colorseg_reg.c.
main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 42 of file colorseg_reg.c.
References ERROR_INT, FinalColors, IFF_JFIF_JPEG, MaxColors, pixaCreate(), pixaDestroy(), pixaDisplay(), pixColorSegment(), pixDestroy(), pixDisplay(), pixRead(), pixSaveTiled(), and pixWrite().
Definition at line 39 of file colorseg_reg.c.
Referenced by main().
const l_int32 FinalColors[] = {4, 8, 16} [static] |
Definition at line 40 of file colorseg_reg.c.
Referenced by main().