Leptonica 1.68
C Image Processing Library

colorsegtest.c File Reference

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

Detailed Description

Demonstrates unsupervised color segmentation using pixColorSegment().

Definition in file colorsegtest.c.


Function Documentation


Variable Documentation

const l_int32 MAX_DIST = 120 [static]

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().

const l_int32 SEL_SIZE = 4 [static]

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().

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines