|
Leptonica
1.54
|
Функции | |
| PIX * | pixExpandBinaryReplicate (PIX *pixs, l_int32 factor) |
| PIX * | pixExpandBinaryPower2 (PIX *pixs, l_int32 factor) |
| 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