|
static Pix * | FindImages (Pix *pix, DebugPixa *pixa_debug) |
|
static void | ConnCompAndRectangularize (Pix *pix, DebugPixa *pixa_debug, Boxa **boxa, Pixa **pixa) |
|
static bool | pixNearlyRectangular (Pix *pix, double min_fraction, double max_fraction, double max_skew_gradient, int *x_start, int *y_start, int *x_end, int *y_end) |
|
static bool | BoundsWithinRect (Pix *pix, int *x_start, int *y_start, int *x_end, int *y_end) |
|
static double | ColorDistanceFromLine (const uint8_t *line1, const uint8_t *line2, const uint8_t *point) |
|
static uint32_t | ComposeRGB (uint32_t r, uint32_t g, uint32_t b) |
|
static uint8_t | ClipToByte (double pixel) |
|
static void | ComputeRectangleColors (const TBOX &rect, Pix *pix, int factor, Pix *color_map1, Pix *color_map2, Pix *rms_map, uint8_t *color1, uint8_t *color2) |
|
static bool | BlankImageInBetween (const TBOX &box1, const TBOX &box2, const TBOX &im_box, const FCOORD &rotation, Pix *pix) |
|
static int | CountPixelsInRotatedBox (TBOX box, const TBOX &im_box, const FCOORD &rotation, Pix *pix) |
|
static void | TransferImagePartsToImageMask (const FCOORD &rerotation, ColPartitionGrid *part_grid, Pix *image_mask) |
|
static void | FindImagePartitions (Pix *image_pix, const FCOORD &rotation, const FCOORD &rerotation, TO_BLOCK *block, TabFind *tab_grid, DebugPixa *pixa_debug, ColPartitionGrid *part_grid, ColPartition_LIST *big_parts) |
|