Leptonica 1.68
C Image Processing Library
|
Demonstrates unsupervised classification of collections of connected components in binary images using jbCorrelation(). More...
#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 0 |
#define | DISPLAY_ALL_INSTANCES 0 |
#define | X_SPACING 10 |
#define | Y_SPACING 15 |
#define | MAX_OUTPUT_WIDTH 400 |
Functions | |
main (int argc, char **argv) |
Demonstrates unsupervised classification of collections of connected components in binary images using jbCorrelation().
Definition in file jbcorrelation.c.
#define COMPONENTS JB_CONN_COMPS |
Definition at line 35 of file jbcorrelation.c.
Referenced by main().
#define BUF_SIZE 512 |
Definition at line 39 of file jbcorrelation.c.
Referenced by main().
#define DEBUG_TEST_DATA_IO 0 |
Definition at line 42 of file jbcorrelation.c.
#define RENDER_DEBUG 1 |
Definition at line 43 of file jbcorrelation.c.
#define DISPLAY_DIFFERENCE 0 |
Definition at line 44 of file jbcorrelation.c.
#define DISPLAY_ALL_INSTANCES 0 |
Definition at line 45 of file jbcorrelation.c.
#define X_SPACING 10 |
Definition at line 48 of file jbcorrelation.c.
Referenced by main().
#define Y_SPACING 15 |
Definition at line 49 of file jbcorrelation.c.
Referenced by main().
#define MAX_OUTPUT_WIDTH 400 |
Definition at line 50 of file jbcorrelation.c.
Referenced by main().
main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 53 of file jbcorrelation.c.
References BUF_SIZE, COMPONENTS, ERROR_INT, FALSE, filename, getSortedPathnamesInDirectory(), IFF_PNG, jbAddPages(), jbClasserDestroy(), jbCorrelation(), jbCorrelationInit(), jbDataDestroy(), jbDataRead(), jbDataRender(), jbDataSave(), jbDataWrite(), L_CLONE, MAX_OUTPUT_WIDTH, JbClasser::nclass, nfiles, NULL, JbClasser::pixaa, pixaaDisplayByPixa(), pixaDestroy(), pixaGetCount(), pixaGetPix(), pixDestroy(), pixEqual(), pixRead(), pixWrite(), pixXor(), sarrayDestroy(), sarrayGetCount(), sarrayGetString(), sarrayWriteStream(), startTimer(), stopTimer(), TRUE, X_SPACING, and Y_SPACING.