Leptonica 1.68
C Image Processing Library

jbrankhaus.c File Reference

Demonstrates unsupervised classification of collections of connected components in binary images using jbRankHaus(). More...

#include <stdio.h>
#include <stdlib.h>
#include "allheaders.h"

Go to the source code of this file.

Defines

#define COMPONENTS   JB_CONN_COMPS
#define BUF_SIZE   512
#define DEBUG_TEST_DATA_IO   0
#define RENDER_DEBUG   1
#define DISPLAY_DIFFERENCE   1
#define DISPLAY_ALL_INSTANCES   0
#define X_SPACING   10
#define Y_SPACING   15
#define MAX_OUTPUT_WIDTH   400

Functions

 main (int argc, char **argv)

Detailed Description

Demonstrates unsupervised classification of collections of connected components in binary images using jbRankHaus().

Definition in file jbrankhaus.c.


Define Documentation

#define COMPONENTS   JB_CONN_COMPS

Definition at line 41 of file jbrankhaus.c.

Referenced by main().

#define BUF_SIZE   512

Definition at line 45 of file jbrankhaus.c.

Referenced by main().

#define DEBUG_TEST_DATA_IO   0

Definition at line 48 of file jbrankhaus.c.

#define RENDER_DEBUG   1

Definition at line 49 of file jbrankhaus.c.

#define DISPLAY_DIFFERENCE   1

Definition at line 50 of file jbrankhaus.c.

#define DISPLAY_ALL_INSTANCES   0

Definition at line 51 of file jbrankhaus.c.

#define X_SPACING   10

Definition at line 54 of file jbrankhaus.c.

Referenced by main().

#define Y_SPACING   15

Definition at line 55 of file jbrankhaus.c.

Referenced by main().

#define MAX_OUTPUT_WIDTH   400

Definition at line 56 of file jbrankhaus.c.

Referenced by main().


Function Documentation

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines