tesseract-doxygen/wordrec/chop.h File Reference
#include "oldheap.h"
#include "seam.h"
Go to the source code of this file.
Defines |
#define | MAX_NUM_POINTS 50 |
Typedefs |
typedef HEAP * | POINT_GROUP |
typedef HEAP * | SPLIT_GROUP |
Variables |
int | chop_debug = 0 |
bool | chop_enable = 1 |
bool | chop_vertical_creep = 0 |
int | chop_split_length = 10000 |
int | chop_same_distance = 2 |
int | chop_min_outline_points = 6 |
int | chop_inside_angle = -50 |
int | chop_min_outline_area = 2000 |
double | chop_split_dist_knob = 0.5 |
double | chop_overlap_knob = 0.9 |
double | chop_center_knob = 0.15 |
double | chop_sharpness_knob = 0.06 |
double | chop_width_change_knob = 5.0 |
double | chop_ok_split = 100.0 |
double | chop_good_split = 50.0 |
int | chop_x_y_weight = 3 |
point_bend_angle |
Measure the angle of bend at this edge point. The argument should be of type EDGEPT.
|
#define | point_bend_angle(point) (angle_change ((point)->prev, (point), (point)->next)) |
PRIORITY | point_priority (EDGEPT *point) |
void | add_point_to_list (POINT_GROUP point_list, EDGEPT *point) |
int | angle_change (EDGEPT *point1, EDGEPT *point2, EDGEPT *point3) |
int | is_little_chunk (EDGEPT *point1, EDGEPT *point2) |
int | is_small_area (EDGEPT *point1, EDGEPT *point2) |
EDGEPT * | pick_close_point (EDGEPT *critical_point, EDGEPT *vertical_point, int *best_dist) |
void | prioritize_points (TESSLINE *outline, POINT_GROUP points) |
void | new_min_point (EDGEPT *local_min, POINT_GROUP points) |
void | new_max_point (EDGEPT *local_max, POINT_GROUP points) |
void | vertical_projection_point (EDGEPT *split_point, EDGEPT *target_point, EDGEPT **best_point) |
Define Documentation
#define MAX_NUM_POINTS 50 |
#define point_bend_angle |
( |
point |
|
) |
(angle_change ((point)->prev, (point), (point)->next)) |
Typedef Documentation
Function Documentation
EDGEPT* pick_close_point |
( |
EDGEPT * |
critical_point, |
|
|
EDGEPT * |
vertical_point, |
|
|
int * |
best_dist | |
|
) |
| | |
void vertical_projection_point |
( |
EDGEPT * |
split_point, |
|
|
EDGEPT * |
target_point, |
|
|
EDGEPT ** |
best_point | |
|
) |
| | |
Variable Documentation
"Split center adjustment"
"Min Number of Points on Outline"
"Split overlap adjustment"
"Split sharpness adjustment"
"Split length adjustment"
"Width change adjustment"