wordrec/makechop.h

Go to the documentation of this file.
00001 
00020 #ifndef MAKECHOP_H
00021 #define MAKECHOP_H
00022 
00023 /*----------------------------------------------------------------------
00024       I n c l u d e s
00025 ----------------------------------------------------------------------*/
00026 #include "chop.h"
00027 #include "olutil.h"
00028 
00029 /*----------------------------------------------------------------------
00030       M a c r o s
00031 ---------------------------------------------------------------------*/
00032 /* ================== */
00037 #define is_split_outline(outline,split)          \
00038 (point_in_outline (split->point1, outline) &&  \
00039    point_in_outline (split->point2, outline))    \
00040 
00041 
00042 /*----------------------------------------------------------------------
00043         Public Function Prototypes
00044 ----------------------------------------------------------------------*/
00045 void apply_seam(TBLOB *blob, TBLOB *other_blob, SEAM *seam); 
00046 
00047 void divide_blobs(TBLOB *blob, TBLOB *other_blob, INT32 location); 
00048 
00049 void form_two_blobs(TBLOB *blob, TBLOB *other_blob, INT32 location); 
00050 
00051 void make_double_split(TBLOB *blob, TBLOB *other_blob, SEAM *seam); 
00052 
00053 void make_single_split(TESSLINE *outlines, SPLIT *split); 
00054 
00055 void make_split_blobs(TBLOB *blob, TBLOB *other_blob, SEAM *seam); 
00056 
00057 void make_triple_split(TBLOB *blob, TBLOB *other_blob, SEAM *seam); 
00058 
00059 void undo_seam(TBLOB *blob, TBLOB *other_blob, SEAM *seam); 
00060 
00061 void undo_single_split(TBLOB *blob, SPLIT *split); 
00062 #endif

Generated on Wed Feb 28 19:49:13 2007 for Tesseract by  doxygen 1.5.1