Leptonica 1.68
C Image Processing Library
|
Demonstrates Bruel algorithm for extracting large whitespace boxes from a binary image using boxaGetWhiteblocks(). More...
#include <stdio.h>
#include <stdlib.h>
#include "allheaders.h"
Go to the source code of this file.
Defines | |
#define | REDUCTION 1 |
Functions | |
main (int argc, char **argv) |
Demonstrates Bruel algorithm for extracting large whitespace boxes from a binary image using boxaGetWhiteblocks().
Definition in file partitiontest.c.
#define REDUCTION 1 |
Definition at line 34 of file partitiontest.c.
Referenced by main().
main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 37 of file partitiontest.c.
References boxaDestroy(), boxaGetWhiteblocks(), boxaPermuteRandom(), boxaSelectBySize(), boxaWriteStream(), boxCreate(), boxDestroy(), ERROR_INT, FALSE, filename, L_SELECT_IF_BOTH, L_SELECT_IF_LT, L_SORT_BY_AREA, L_SORT_BY_HEIGHT, L_SORT_BY_MAX_DIMENSION, L_SORT_BY_MIN_DIMENSION, L_SORT_BY_PERIMETER, L_SORT_BY_WIDTH, NULL, pixConnComp(), pixConvertTo1(), pixConvertTo8(), pixDestroy(), pixDilateBrick(), pixDisplayMultiple(), pixDisplayWrite(), pixDrawBoxa(), pixDrawBoxaRandom(), pixGetDimensions(), pixPaintBoxa(), pixPaintBoxaRandom(), pixRead(), REDUCTION, startTimer(), and stopTimer().