#include "mfcpch.h"
#include "blobbox.h"
#include "varable.h"
#include "clst.h"
#include "elst2.h"
#include "bits16.h"
#include "strngs.h"
#include "errcode.h"
#include <stdio.h>
#include <math.h>
#include "elst.h"
#include "points.h"
#include "mod128.h"
#include "ndminx.h"
#include "tprintf.h"
#include "scrollview.h"
#include "blckerr.h"
#include "rect.h"
#include "stepblob.h"
#include "serialis.h"
#include "memry.h"
#include "werd.h"
#include "img.h"
#include "ocrrow.h"
#include "hpddef.h"
#include "host.h"
Defines | |
#define | PROJECTION_MARGIN 10 |
#define | EXTERN |
Functions | |
ELISTIZE (BLOBNBOX) ELIST2IZE(TO_ROW) ELISTIZE(TO_BLOCK) void BLOBNBOX | |
void | find_blob_limits (PBLOB *blob, float leftx, float rightx, FCOORD rotation, float &ymin, float &ymax) |
void | find_cblob_limits (C_BLOB *blob, float leftx, float rightx, FCOORD rotation, float &ymin, float &ymax) |
void | find_cblob_vlimits (C_BLOB *blob, float leftx, float rightx, float &ymin, float &ymax) |
void | find_cblob_hlimits (C_BLOB *blob, float bottomy, float topy, float &xmin, float &xmax) |
PBLOB * | rotate_blob (PBLOB *blob, FCOORD rotation) |
PBLOB * | rotate_cblob (C_BLOB *blob, float xheight, FCOORD rotation) |
C_BLOB * | crotate_cblob (C_BLOB *blob, FCOORD rotation) |
TBOX | box_next (BLOBNBOX_IT *it) |
TBOX | box_next_pre_chopped (BLOBNBOX_IT *it) |
void | vertical_blob_projection (PBLOB *blob, STATS *stats) |
void | vertical_outline_projection (OUTLINE *outline, STATS *stats) |
void | vertical_cblob_projection (C_BLOB *blob, STATS *stats) |
void | vertical_coutline_projection (C_OUTLINE *outline, STATS *stats) |
void | plot_blob_list (ScrollView *win, BLOBNBOX_LIST *list, ScrollView::Color body_colour, ScrollView::Color child_colour) |
Variables | |
EXTERN double | textord_error_weight = 3 |
EXTERN bool | pitsync_projection_fix = TRUE |
#define EXTERN |
#define PROJECTION_MARGIN 10 |
TBOX box_next | ( | BLOBNBOX_IT * | it | ) |
TBOX box_next_pre_chopped | ( | BLOBNBOX_IT * | it | ) |
ELISTIZE | ( | BLOBNBOX | ) |
void find_blob_limits | ( | PBLOB * | blob, | |
float | leftx, | |||
float | rightx, | |||
FCOORD | rotation, | |||
float & | ymin, | |||
float & | ymax | |||
) |
void find_cblob_hlimits | ( | C_BLOB * | blob, | |
float | bottomy, | |||
float | topy, | |||
float & | xmin, | |||
float & | xmax | |||
) |
void find_cblob_limits | ( | C_BLOB * | blob, | |
float | leftx, | |||
float | rightx, | |||
FCOORD | rotation, | |||
float & | ymin, | |||
float & | ymax | |||
) |
void find_cblob_vlimits | ( | C_BLOB * | blob, | |
float | leftx, | |||
float | rightx, | |||
float & | ymin, | |||
float & | ymax | |||
) |
void plot_blob_list | ( | ScrollView * | win, | |
BLOBNBOX_LIST * | list, | |||
ScrollView::Color | body_colour, | |||
ScrollView::Color | child_colour | |||
) |
EXTERN bool pitsync_projection_fix = TRUE |
"Fix bug in projection profile"
double textord_error_weight = 3 |
"Weighting for error in believability"