tesseract-doxygen/textord/scanedg.cpp File Reference

#include "mfcpch.h"
#include "edgloop.h"
#include "scanedg.h"

Defines

#define WHITE_PIX   1
#define BLACK_PIX   0
#define FLIP_COLOUR(pix)   (1-(pix))
#define EWSIZE   4
#define XMARGIN   2
#define YMARGIN   3

Functions

DLLSYM void block_edges (IMAGE *t_image, PDBLK *block, ICOORD page_tr)
void make_margins (PDBLK *block, BLOCK_LINE_IT *line_it, uinT8 *pixels, uinT8 margin, inT16 left, inT16 right, inT16 y)
void whiteout_block (IMAGE *t_image, PDBLK *block)
void line_edges (inT16 x, inT16 y, inT16 xext, uinT8 uppercolour, uinT8 *bwpos, CRACKEDGE **prevline)
CRACKEDGEh_edge (inT16 x, inT16 y, inT8 sign, CRACKEDGE *join)
CRACKEDGEv_edge (inT16 x, inT16 y, inT8 sign, CRACKEDGE *join)
void join_edges (CRACKEDGE *edge1, CRACKEDGE *edge2)
void free_crackedges (CRACKEDGE *start)

Define Documentation

#define BLACK_PIX   0
#define EWSIZE   4
#define FLIP_COLOUR ( pix   )     (1-(pix))
#define WHITE_PIX   1
#define XMARGIN   2
#define YMARGIN   3

Function Documentation

DLLSYM void block_edges ( IMAGE t_image,
PDBLK block,
ICOORD  page_tr 
)
void free_crackedges ( CRACKEDGE start  ) 
CRACKEDGE* h_edge ( inT16  x,
inT16  y,
inT8  sign,
CRACKEDGE join 
)
void join_edges ( CRACKEDGE edge1,
CRACKEDGE edge2 
)
void line_edges ( inT16  x,
inT16  y,
inT16  xext,
uinT8  uppercolour,
uinT8 bwpos,
CRACKEDGE **  prevline 
)
void make_margins ( PDBLK block,
BLOCK_LINE_IT line_it,
uinT8 pixels,
uinT8  margin,
inT16  left,
inT16  right,
inT16  y 
)
CRACKEDGE* v_edge ( inT16  x,
inT16  y,
inT8  sign,
CRACKEDGE join 
)
void whiteout_block ( IMAGE t_image,
PDBLK block 
)
Generated on Sun Jul 18 17:10:51 2010 for Tesseract by  doxygen 1.6.3