Leptonica 1.68
C Image Processing Library
|
Demonstrates grayscale image arithmetic using pixAccumulate(), pixMultConstAccumulate(), and pixFinalAccumulate(). More...
#include <stdio.h>
#include <stdlib.h>
#include "allheaders.h"
Go to the source code of this file.
Functions | |
main (int argc, char **argv) |
Demonstrates grayscale image arithmetic using pixAccumulate(), pixMultConstAccumulate(), and pixFinalAccumulate().
Definition in file arithtest.c.
main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 24 of file arithtest.c.
References ERROR_INT, filein, IFF_PNG, L_ARITH_ADD, L_LINEAR_SCALE, l_pngSetStrip16To8(), NULL, pixAccumulate(), pixConvert16To8(), pixFinalAccumulate(), pixGetHeight(), pixGetWidth(), pixInitAccumulate(), pixMaxDynamicRange(), pixMultConstAccumulate(), pixRead(), and pixWrite().