![]() |
Leptonica
1.83.1
Image processing and image analysis suite
|
#include <string.h>
#include "allheaders.h"
Go to the source code of this file.
Functions | |
static l_uint16 * | makeExpandTab2x (void) |
static l_uint32 * | makeExpandTab4x (void) |
static l_uint32 * | makeExpandTab8x (void) |
PIX * | pixExpandBinaryReplicate (PIX *pixs, l_int32 xfact, l_int32 yfact) |
PIX * | pixExpandBinaryPower2 (PIX *pixs, l_int32 factor) |
Variables | |
static l_uint32 | expandtab16 [] |
Replicated expansion (integer scaling) PIX *pixExpandBinaryReplicate() Special case: power of 2 replicated expansion PIX *pixExpandBinaryPower2() Expansion tables for power of 2 expansion static l_uint16 *makeExpandTab2x() static l_uint32 *makeExpandTab4x() static l_uint32 *makeExpandTab8x()
Definition in file binexpand.c.
[in] | pixs | 1 bpp |
[in] | factor | expansion factor: 1, 2, 4, 8, 16 |
Definition at line 133 of file binexpand.c.
References pixCopy(), and pixGetDimensions().
Referenced by pixExpandBinaryReplicate().
[in] | pixs | 1 bpp |
[in] | xfact | integer scale factor for horiz. replicative expansion |
[in] | yfact | integer scale factor for vertical replicative expansion |
Definition at line 70 of file binexpand.c.
References pixCopy(), pixExpandBinaryPower2(), and pixGetDimensions().
Referenced by pixExpandReplicate().
|
static |
Definition at line 55 of file binexpand.c.