/home/rays/src/opensrc/tesseract-ocr/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))

Functions

void block_edges (IMAGE *t_image, PDBLK *block, C_OUTLINE_IT *outline_it)
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, CRACKEDGE **free_cracks, C_OUTLINE_IT *outline_it)
CRACKEDGEh_edge (int sign, CRACKEDGE *join, CrackPos *pos)
CRACKEDGEv_edge (int sign, CRACKEDGE *join, CrackPos *pos)
void join_edges (CRACKEDGE *edge1, CRACKEDGE *edge2, CRACKEDGE **free_cracks, C_OUTLINE_IT *outline_it)
void free_crackedges (CRACKEDGE *start)

Define Documentation

#define BLACK_PIX   0
#define FLIP_COLOUR ( pix   )     (1-(pix))
#define WHITE_PIX   1

Function Documentation

void block_edges ( IMAGE t_image,
PDBLK block,
C_OUTLINE_IT *  outline_it 
)
void free_crackedges ( CRACKEDGE start  ) 
CRACKEDGE* h_edge ( int  sign,
CRACKEDGE join,
CrackPos pos 
)
void join_edges ( CRACKEDGE edge1,
CRACKEDGE edge2,
CRACKEDGE **  free_cracks,
C_OUTLINE_IT *  outline_it 
)
void line_edges ( inT16  x,
inT16  y,
inT16  xext,
uinT8  uppercolour,
uinT8 bwpos,
CRACKEDGE **  prevline,
CRACKEDGE **  free_cracks,
C_OUTLINE_IT *  outline_it 
)
void make_margins ( PDBLK block,
BLOCK_LINE_IT line_it,
uinT8 pixels,
uinT8  margin,
inT16  left,
inT16  right,
inT16  y 
)
CRACKEDGE* v_edge ( int  sign,
CRACKEDGE join,
CrackPos pos 
)
void whiteout_block ( IMAGE t_image,
PDBLK block 
)
Generated on Thu Feb 2 08:19:22 2012 for Tesseract by  doxygen 1.6.3