Leptonica 1.68
C Image Processing Library
|
Tests grayscale rank functions: pixGetRankColorArray() and numaDiscretizeRankAndIntensity(). More...
#include <math.h>
#include <unistd.h>
#include "allheaders.h"
Go to the source code of this file.
Functions | |
static PIXA * | PixSavePlots1 (void) |
static PIXA * | PixSavePlots2 (void) |
main (int argc, char **argv) |
Tests grayscale rank functions: pixGetRankColorArray() and numaDiscretizeRankAndIntensity().
Definition in file rankhisto_reg.c.
static PIXA * PixSavePlots1 | ( | void | ) | [static] |
Definition at line 148 of file rankhisto_reg.c.
References pixaCreate(), pixDestroy(), pixRead(), and pixSaveTiled().
Referenced by main().
static PIXA * PixSavePlots2 | ( | void | ) | [static] |
Definition at line 183 of file rankhisto_reg.c.
References pixaCreate(), pixDestroy(), pixRead(), and pixSaveTiled().
Referenced by main().
main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 35 of file rankhisto_reg.c.
References L_RegParams::display, ERROR_INT, GPLOT_PNG, gplotSimple1(), IFF_PNG, L_MAX, L_SELECT_MIN, lept_calloc(), lept_free(), NULL, numaDestroy(), numaDiscretizeRankAndIntensity(), numaMakeConstant(), numaNormalizeHistogram(), numaReplaceNumber(), pixaDestroy(), pixaDisplay(), pixDestroy(), pixDisplayColorArray(), pixDisplayWithTitle(), pixelLinearMapToTargetColor(), pixGammaTRC(), pixGetDimensions(), pixGetRankColorArray(), pixLinearMapToTargetColor(), pixRead(), PixSavePlots1(), PixSavePlots2(), pixWrite(), regTestCheckFile(), regTestCleanup(), regTestSetup(), and L_RegParams::testname.