![]() |
Leptonica 1.68
C Image Processing Library
|
Regression test for in-place translation. More...
#include "allheaders.h"Go to the source code of this file.
Defines | |
| #define | BINARY_IMAGE "test1.png" |
| #define | GRAYSCALE_IMAGE "test8.jpg" |
| #define | FOUR_BPP_IMAGE "weasel4.8g.png" |
| #define | COLORMAP_IMAGE "dreyfus8.png" |
| #define | RGB_IMAGE "marge.jpg" |
Functions | |
| void | TranslateAndSave1 (PIXA *pixa, l_int32 depth, PIX *pix, l_int32 xshift, l_int32 yshift) |
| void | TranslateAndSave2 (PIXA *pixa, PIX *pix, l_int32 xshift, l_int32 yshift) |
| main (int argc, char **argv) | |
Regression test for in-place translation.
Definition in file translate_reg.c.
| #define BINARY_IMAGE "test1.png" |
Definition at line 24 of file translate_reg.c.
| #define GRAYSCALE_IMAGE "test8.jpg" |
Definition at line 25 of file translate_reg.c.
| #define FOUR_BPP_IMAGE "weasel4.8g.png" |
Definition at line 26 of file translate_reg.c.
| #define COLORMAP_IMAGE "dreyfus8.png" |
Definition at line 27 of file translate_reg.c.
| #define RGB_IMAGE "marge.jpg" |
Definition at line 28 of file translate_reg.c.
Definition at line 113 of file translate_reg.c.
References L_BRING_IN_BLACK, L_BRING_IN_WHITE, NULL, pixDestroy(), pixSaveTiled(), and pixTranslate().
Referenced by main().
Definition at line 137 of file translate_reg.c.
References L_BRING_IN_BLACK, L_BRING_IN_WHITE, L_INSERT, NULL, pixaAddPix(), and pixTranslate().
Referenced by main().
| main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 36 of file translate_reg.c.
References boxCreate(), boxDestroy(), L_RegParams::display, IFF_PNG, L_BRING_IN_BLACK, L_BRING_IN_WHITE, NULL, pixaCreate(), pixaDestroy(), pixaDisplayOnColor(), pixaDisplayTiledInRows(), pixClipRectangle(), pixConvertTo1(), pixDestroy(), pixDisplayWithTitle(), pixRead(), pixRemoveColormap(), pixRotateAM(), pixScaleBySampling(), regTestCleanup(), regTestSetup(), regTestWritePixAndCheck(), REMOVE_CMAP_TO_FULL_COLOR, REMOVE_CMAP_TO_GRAYSCALE, TranslateAndSave1(), and TranslateAndSave2().