![]() |
Leptonica 1.68
C Image Processing Library
|
Demonstrates the usefulness of the modified version of Otsu for thresholding an image that doesn't have a well-defined background color. More...
#include <unistd.h>#include "allheaders.h"Go to the source code of this file.
Functions | |
| main (int argc, char **argv) | |
Demonstrates the usefulness of the modified version of Otsu for thresholding an image that doesn't have a well-defined background color.
Definition in file otsutest2.c.
| main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 44 of file otsutest2.c.
References bmfCreate(), bmfDestroy(), IFF_PNG, L_ADD_BELOW, NULL, pixaCreate(), pixAddBlackBorder(), pixAddSingleTextblock(), pixaDestroy(), pixaDisplay(), pixConvertTo8(), pixDestroy(), pixDisplay(), pixOtsuAdaptiveThreshold(), pixRead(), pixSaveTiled(), pixSaveTiledOutline(), pixSplitDistributionFgBg(), pixWrite(), and textstr.