Leptonica 1.68
C Image Processing Library
|
Makes histograms of grayscale and color pixels from a pix using pixOctcubeHistogram() or pixGetGrayHistogram(). For RGB color, this uses rgb --> octcube indexing. More...
#include <stdio.h>
#include <stdlib.h>
#include "allheaders.h"
Go to the source code of this file.
Functions | |
main (int argc, char **argv) |
Makes histograms of grayscale and color pixels from a pix using pixOctcubeHistogram() or pixGetGrayHistogram(). For RGB color, this uses rgb --> octcube indexing.
Definition in file histotest.c.
main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 35 of file histotest.c.
References ERROR_INT, filein, GPLOT_LINES, GPLOT_LOG_SCALE_Y, GPLOT_X11, gplotAddPlot(), gplotCreate(), gplotDestroy(), gplotMakeOutput(), gplotSetScaling(), NULL, numaDestroy(), numaWrite(), pixDestroy(), pixGetDepth(), pixGetGrayHistogram(), pixOctcubeHistogram(), pixRead(), startTimer(), and stopTimer().