Leptonica 1.68
C Image Processing Library

subpixel_reg.c File Reference

Regression test for subpixel scaling. More...

#include "allheaders.h"

Go to the source code of this file.

Functions

void AddTextAndSave (PIXA *pixa, PIX *pixs, l_int32 newrow, L_BMF *bmf, const char *textstr, l_int32 location, l_uint32 val)
 main (int argc, char **argv)

Variables

const char * textstr []

Detailed Description

Regression test for subpixel scaling.

Definition in file subpixel_reg.c.


Function Documentation

void AddTextAndSave ( PIXA pixa,
PIX pixs,
l_int32  newrow,
L_BMF bmf,
const char *  textstr,
l_int32  location,
l_uint32  val 
)

Definition at line 175 of file subpixel_reg.c.

References pixAddSingleTextblock(), pixaGetCount(), pixDestroy(), and pixSaveTiledOutline().

Referenced by main().


Variable Documentation

const char* textstr[]
Initial value:
           {"Downscaled with sharpening",
            "Subpixel scaling; horiz R-G-B",
            "Subpixel scaling; horiz B-G-R",
            "Subpixel scaling; vert R-G-B",
            "Subpixel scaling; vert B-G-R"}

Definition at line 28 of file subpixel_reg.c.

Referenced by main(), and pixDisplayColorArray().

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines