tesseract v5.3.3.20231005
edgblob.cpp File Reference
#include "edgblob.h"
#include "edgloop.h"
#include "scanedg.h"

Go to the source code of this file.

Namespaces

namespace  tesseract
 

Macros

#define BUCKETSIZE   16
 

Functions

extract_edges
void tesseract::extract_edges (Image pix, BLOCK *block)
 
fill_buckets
capture_children

Find all neighbouring outlines that are children of this outline and either move them to the output list or declare this outline illegal and return false.

empty_buckets

Run the edge detector over the block and return a list of blobs.

outlines_to_blobs

Gather together outlines into blobs using the usual bucket sort.

void tesseract::outlines_to_blobs (BLOCK *block, ICOORD bleft, ICOORD tright, C_OUTLINE_LIST *outlines)
 

Macro Definition Documentation

◆ BUCKETSIZE

#define BUCKETSIZE   16

Definition at line 29 of file edgblob.cpp.