#include "mfcpch.h"#include "blobbox.h"#include "clst.h"#include "elst2.h"#include "params.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 "scrollview.h"#include "tprintf.h"#include "blckerr.h"#include "rect.h"#include "serialis.h"#include "memry.h"#include "werd.h"#include "img.h"#include "ocrrow.h"#include "publictypes.h"#include "hpddef.h"#include "host.h"#include "helpers.h"Defines | |
| #define | PROJECTION_MARGIN 10 |
| #define | EXTERN |
Functions | |
| ELISTIZE (BLOBNBOX) ELIST2IZE(TO_ROW) ELISTIZE(TO_BLOCK) const double kCosSmallAngle=0.866 | |
| 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) |
| 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_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 | |
| const double | kDefiniteAspectRatio = 2.0 |
| const double | kComplexShapePerimeterRatio = 1.5 |
| const double | kMinMediumSizeRatio = 0.25 |
| const double | kMaxMediumSizeRatio = 4.0 |
| #define EXTERN |
| #define PROJECTION_MARGIN 10 |
| TBOX box_next | ( | BLOBNBOX_IT * | it | ) |
| TBOX box_next_pre_chopped | ( | BLOBNBOX_IT * | it | ) |
| ELISTIZE | ( | BLOBNBOX | ) | const [pure virtual] |
| 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 | |||
| ) |
| const double kComplexShapePerimeterRatio = 1.5 |
| const double kDefiniteAspectRatio = 2.0 |
| const double kMaxMediumSizeRatio = 4.0 |
| const double kMinMediumSizeRatio = 0.25 |
1.6.3