Leptonica 1.68
C Image Processing Library
|
Tests various bilinear transformations: pixBilinearSampledPta() and pixBilinearPta(). More...
#include <stdio.h>
#include <stdlib.h>
#include "allheaders.h"
Go to the source code of this file.
Defines | |
#define | ALL 1 |
#define | ADDED_BORDER_PIXELS 500 |
Functions | |
static void | MakePtas (l_int32 i, PTA **pptas, PTA **pptad) |
main (int argc, char **argv) | |
Variables | |
static const l_int32 | x1 [] = { 32, 32, 32} |
static const l_int32 | y1 [] = { 150, 150, 150} |
static const l_int32 | x2 [] = { 520, 520, 520} |
static const l_int32 | y2 [] = { 150, 150, 150} |
static const l_int32 | x3 [] = { 32, 32, 32} |
static const l_int32 | y3 [] = { 612, 612, 612} |
static const l_int32 | x4 [] = { 520, 520, 520} |
static const l_int32 | y4 [] = { 612, 612, 612} |
static const l_int32 | xp1 [] = { 32, 32, 32} |
static const l_int32 | yp1 [] = { 150, 150, 150} |
static const l_int32 | xp2 [] = { 520, 520, 520} |
static const l_int32 | yp2 [] = { 44, 124, 140} |
static const l_int32 | xp3 [] = { 32, 32, 32} |
static const l_int32 | yp3 [] = { 612, 612, 612} |
static const l_int32 | xp4 [] = { 520, 520, 520} |
static const l_int32 | yp4 [] = { 694, 624, 622} |
Tests various bilinear transformations: pixBilinearSampledPta() and pixBilinearPta().
Definition in file bilinear_reg.c.
#define ALL 1 |
Definition at line 48 of file bilinear_reg.c.
#define ADDED_BORDER_PIXELS 500 |
Definition at line 49 of file bilinear_reg.c.
Referenced by main().
main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 52 of file bilinear_reg.c.
References ADDED_BORDER_PIXELS, ERROR_INT, IFF_PNG, L_BRING_IN_WHITE, MakePtas(), pixaCreate(), pixAddBorder(), pixaDestroy(), pixaDisplay(), pixBilinearPta(), pixBilinearSampledPta(), pixDestroy(), pixDisplay(), pixInvert(), pixRead(), pixRemoveBorder(), pixSaveTiled(), pixScaleToGray3(), pixWrite(), pixXor(), ptaDestroy(), startTimer(), and stopTimer().
Definition at line 30 of file bilinear_reg.c.
Referenced by MakePtas().
Definition at line 31 of file bilinear_reg.c.
Referenced by MakePtas().
Definition at line 32 of file bilinear_reg.c.
Referenced by MakePtas().
Definition at line 33 of file bilinear_reg.c.
Referenced by MakePtas().
Definition at line 34 of file bilinear_reg.c.
Referenced by MakePtas().
Definition at line 35 of file bilinear_reg.c.
Referenced by MakePtas().
Definition at line 36 of file bilinear_reg.c.
Referenced by MakePtas().
Definition at line 37 of file bilinear_reg.c.
Referenced by MakePtas().
Definition at line 39 of file bilinear_reg.c.
Referenced by MakePtas().
Definition at line 40 of file bilinear_reg.c.
Referenced by MakePtas().
Definition at line 41 of file bilinear_reg.c.
Referenced by MakePtas().
Definition at line 42 of file bilinear_reg.c.
Referenced by MakePtas().
Definition at line 43 of file bilinear_reg.c.
Referenced by MakePtas().
Definition at line 44 of file bilinear_reg.c.
Referenced by MakePtas().
Definition at line 45 of file bilinear_reg.c.
Referenced by MakePtas().
Definition at line 46 of file bilinear_reg.c.
Referenced by MakePtas().