tesseract-doxygen/wordrec/pieces.cpp File Reference

#include "pieces.h"
#include "blobs.h"
#include "freelist.h"
#include "hideedge.h"
#include "matchtab.h"
#include "ndminx.h"
#include "plotseg.h"
#include "ratngs.h"
#include "wordclass.h"
#include "wordrec.h"

Namespaces

namespace  tesseract

Defines

#define set_bounds_entry(array, index, top_left, bot_right)
#define get_bounds_entry(array, index, top_left, bot_right)

Functions

void break_pieces (TBLOB *blobs, SEAMS seams, inT16 start, inT16 end)
void join_pieces (TBLOB *piece_blobs, SEAMS seams, inT16 start, inT16 end)
void hide_seam (SEAM *seam)
void hide_edge_pair (EDGEPT *pt1, EDGEPT *pt2)
void reveal_seam (SEAM *seam)
void reveal_edge_pair (EDGEPT *pt1, EDGEPT *pt2)
void bounds_of_piece (BOUNDS_LIST bounds, inT16 start, inT16 end, TPOINT *extreme_tl, TPOINT *extreme_br)
BOUNDS_LIST record_blob_bounds (TBLOB *blobs)
MATRIXrecord_piece_ratings (TBLOB *blobs)

Define Documentation

#define get_bounds_entry ( array,
index,
top_left,
bot_right   ) 
Value:
((top_left)  = (array)[index].topleft,                  \
(bot_right) = (array)[index].botright)                 \
#define set_bounds_entry ( array,
index,
top_left,
bot_right   ) 
Value:
((array)[index].topleft  = (top_left),                  \
(array)[index].botright = (bot_right))                 \

Function Documentation

void bounds_of_piece ( BOUNDS_LIST  bounds,
inT16  start,
inT16  end,
TPOINT extreme_tl,
TPOINT extreme_br 
)
void break_pieces ( TBLOB blobs,
SEAMS  seams,
inT16  start,
inT16  end 
)
void hide_edge_pair ( EDGEPT pt1,
EDGEPT pt2 
)
void hide_seam ( SEAM seam  ) 
void join_pieces ( TBLOB piece_blobs,
SEAMS  seams,
inT16  start,
inT16  end 
)
BOUNDS_LIST record_blob_bounds ( TBLOB blobs  ) 
MATRIX* record_piece_ratings ( TBLOB blobs  ) 
void reveal_edge_pair ( EDGEPT pt1,
EDGEPT pt2 
)
void reveal_seam ( SEAM seam  ) 
Generated on Sun Jul 18 17:10:52 2010 for Tesseract by  doxygen 1.6.3