tesseract-doxygen/ccmain/charcut.h File Reference
Code for character clipping.
More...
#include "pgedit.h"
#include "notdll.h"
Go to the source code of this file.
Classes |
class | PIXROW |
Functions |
void | char_clip_word (WERD *word, IMAGE &bin_image, PIXROW_LIST *&pixrow_list, IMAGELINE *&imlines, TBOX &pix_box) |
IMAGELINE * | generate_imlines (IMAGE &bin_image, TBOX &pix_box) |
ScrollView * | display_clip_image (WERD *word, IMAGE &bin_image, PIXROW_LIST *pixrow_list, TBOX &pix_box) |
void | display_images (IMAGE &clip_image, IMAGE &scaled_image) |
void | plot_pixrows (PIXROW_LIST *pixrow_list, ScrollView *win) |
Variables |
int | pix_word_margin = 3 |
bool | show_char_clipping = TRUE |
int | net_image_width = 40 |
int | net_image_height = 36 |
int | net_image_x_height = 22 |
Detailed Description
Code for character clipping.
- Note:
- Formerly charclip.h
- Author:
- Phil Cheatle
- Date:
- Created Wed Nov 11 08:35:15 GMT 1992
Function Documentation
void char_clip_word |
( |
WERD * |
word, |
|
|
IMAGE & |
bin_image, |
|
|
PIXROW_LIST *& |
pixrow_list, |
|
|
IMAGELINE *& |
imlines, |
|
|
TBOX & |
pix_box | |
|
) |
| | |
- Parameters:
-
| word | word to be processed |
| bin_image | whole image |
| pixrow_list | pixrows built |
| imlines | lines cut from image |
| pix_box | box defining imlines |
- Parameters:
-
| word | word to be processed |
| bin_image | whole image |
| pixrow_list | pixrows built |
| pix_box | box of subimage |
void display_images |
( |
IMAGE & |
clip_image, |
|
|
IMAGE & |
scaled_image | |
|
) |
| | |
get some imagelines
- Parameters:
-
void plot_pixrows |
( |
PIXROW_LIST * |
pixrow_list, |
|
|
ScrollView * |
win | |
|
) |
| | |
Variable Documentation
"NN input image x_height"
"How far outside word BB to grow"
"Show clip image window?"