#include <blobbox.h>
Definition at line 691 of file blobbox.h.
◆ TO_BLOCK() [1/2]
◆ TO_BLOCK() [2/2]
TO_BLOCK::TO_BLOCK |
( |
BLOCK * |
src_block | ) |
|
◆ ~TO_BLOCK()
◆ clear()
Definition at line 927 of file blobbox.cpp.
930 BLOBNBOX_IT it = boxes;
933 for (it.mark_cycle_pt(); !it.cycled_list(); it.forward()) {
◆ ComputeEdgeOffsets()
void TO_BLOCK::ComputeEdgeOffsets |
( |
Pix * |
thresholds, |
|
|
Pix * |
grey |
|
) |
| |
◆ DeleteUnownedNoise()
void TO_BLOCK::DeleteUnownedNoise |
( |
| ) |
|
◆ get_rows()
TO_ROW_LIST* TO_BLOCK::get_rows |
( |
| ) |
|
|
inline |
◆ plot_graded_blobs()
void TO_BLOCK::plot_graded_blobs |
( |
ScrollView * |
to_win | ) |
|
Definition at line 1054 of file blobbox.cpp.
1061 #ifndef GRAPHICS_DISABLED
◆ plot_noise_blobs()
void TO_BLOCK::plot_noise_blobs |
( |
ScrollView * |
to_win | ) |
|
◆ print_rows()
void TO_BLOCK::print_rows |
( |
| ) |
|
|
inline |
Definition at line 733 of file blobbox.h.
735 TO_ROW_IT row_it = &row_list;
738 for (row_it.mark_cycle_pt(); !row_it.cycled_list();
741 tprintf(
"Row range (%g,%g), para_c=%g, blobcount=%" PRId32
"\n",
◆ ReSetAndReFilterBlobs()
void TO_BLOCK::ReSetAndReFilterBlobs |
( |
| ) |
|
Definition at line 994 of file blobbox.cpp.
1014 BLOBNBOX_LIST noise_list;
1015 BLOBNBOX_LIST small_list;
1016 BLOBNBOX_LIST medium_list;
1017 BLOBNBOX_LIST large_list;
◆ rotate()
void TO_BLOCK::rotate |
( |
const FCOORD & |
rotation | ) |
|
|
inline |
Definition at line 709 of file blobbox.h.
713 for (BLOBNBOX_LIST** list = blobnbox_list; *list !=
nullptr; ++list) {
714 BLOBNBOX_IT it(*list);
715 for (it.mark_cycle_pt(); !it.cycled_list(); it.forward()) {
716 it.data()->rotate(rotation);
725 BLOBNBOX_IT blob_it(&
blobs);
726 for (blob_it.mark_cycle_pt(); !blob_it.cycled_list(); blob_it.forward()) {
727 widths.add(blob_it.data()->bounding_box().width(), 1);
728 heights.add(blob_it.data()->bounding_box().height(), 1);
731 static_cast<int>(heights.median() + 0.5));
◆ baseline_offset
float TO_BLOCK::baseline_offset |
◆ blobs
BLOBNBOX_LIST TO_BLOCK::blobs |
◆ block
◆ fixed_pitch
float TO_BLOCK::fixed_pitch |
◆ fp_nonsp
◆ fp_space
◆ kern_size
float TO_BLOCK::kern_size |
◆ key_row
◆ large_blobs
BLOBNBOX_LIST TO_BLOCK::large_blobs |
◆ line_size
float TO_BLOCK::line_size |
◆ line_spacing
float TO_BLOCK::line_spacing |
◆ max_blob_size
float TO_BLOCK::max_blob_size |
◆ max_nonspace
int32_t TO_BLOCK::max_nonspace |
◆ min_space
int32_t TO_BLOCK::min_space |
◆ noise_blobs
BLOBNBOX_LIST TO_BLOCK::noise_blobs |
◆ pitch_decision
◆ pr_nonsp
◆ pr_space
◆ small_blobs
BLOBNBOX_LIST TO_BLOCK::small_blobs |
◆ space_size
float TO_BLOCK::space_size |
◆ underlines
BLOBNBOX_LIST TO_BLOCK::underlines |
◆ xheight
The documentation for this class was generated from the following files: