Leptonica
1.54
|
Функции | |
static l_uint16 * | makeExpandTab2x (void) |
static l_uint32 * | makeExpandTab4x (void) |
static l_uint32 * | makeExpandTab8x (void) |
PIX * | pixExpandBinaryReplicate (PIX *pixs, l_int32 factor) |
PIX * | pixExpandBinaryPower2 (PIX *pixs, l_int32 factor) |
Переменные | |
static l_uint32 | expandtab16 [] |
static l_uint16 * makeExpandTab2x | ( | void | ) | [static] |
static l_uint32 * makeExpandTab4x | ( | void | ) | [static] |
static l_uint32 * makeExpandTab8x | ( | void | ) | [static] |
PIX* pixExpandBinaryPower2 | ( | PIX * | pixs, |
l_int32 | factor | ||
) |
Input: pixs (1 bpp) factor (expansion factor: 1, 2, 4, 8, 16) Return: pixd (expanded 1 bpp by replication), or null on error
PIX* pixExpandBinaryReplicate | ( | PIX * | pixs, |
l_int32 | factor | ||
) |
Input: pixs (1 bpp) factor (integer scale factor for replicative expansion) Return: pixd (scaled up), or null on error
l_uint32 expandtab16[] [static] |
{ 0x00000000, 0x0000ffff, 0xffff0000, 0xffffffff}