Skip to content

Commit

Permalink
doxygen
Browse files Browse the repository at this point in the history
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@452 d0cd1f9f-072b-0410-8dd7-cf729c803f20
  • Loading branch information
joregan committed Aug 19, 2010
1 parent 2d78215 commit 859ff4c
Show file tree
Hide file tree
Showing 5 changed files with 195 additions and 182 deletions.
60 changes: 30 additions & 30 deletions textord/edgblob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ EXTERN double_VAR(edges_childarea, 0.5,
EXTERN double_VAR(edges_boxarea, 0.875,
"Min area fraction of grandchild for box");

/**********************************************************************
* OL_BUCKETS::OL_BUCKETS
/**
* @name OL_BUCKETS::OL_BUCKETS
*
* Construct an array of buckets for associating outlines into blobs.
**********************************************************************/
*/

OL_BUCKETS::OL_BUCKETS(
//// constructor
Expand All @@ -78,12 +78,12 @@ ICOORD tright): bl(bleft), tr(tright) {
}


/**********************************************************************
* OL_BUCKETS::operator(
/**
* @name OL_BUCKETS::operator(
*
* Return a pointer to a list of C_OUTLINEs corresponding to the
* given pixel coordinates.
**********************************************************************/
*/

C_OUTLINE_LIST *
OL_BUCKETS::operator()( // array access
Expand All @@ -93,8 +93,8 @@ inT16 y) {
}


/**********************************************************************
* OL_BUCKETS::outline_complexity
/**
* @name OL_BUCKETS::outline_complexity
*
* This is the new version of count_child.
*
Expand All @@ -111,7 +111,7 @@ inT16 y) {
* is too high, has too many children(likely a container), or has too
* many layers of nested inner loops. This has the side-effect of
* flattening out boxed or reversed video text regions.
**********************************************************************/
*/

inT32 OL_BUCKETS::outline_complexity(
C_OUTLINE *outline, // parent outline
Expand Down Expand Up @@ -176,11 +176,11 @@ inT32 OL_BUCKETS::outline_complexity(
}


/**********************************************************************
* OL_BUCKETS::count_children
/**
* @name OL_BUCKETS::count_children
*
* Find number of descendants of this outline.
**********************************************************************/
*/

inT32 OL_BUCKETS::count_children( // recursive count
C_OUTLINE *outline, // parent outline
Expand Down Expand Up @@ -292,11 +292,11 @@ inT32 OL_BUCKETS::count_children( // recursive count



/**********************************************************************
* OL_BUCKETS::extract_children
/**
* @name OL_BUCKETS::extract_children
*
* Find number of descendants of this outline.
**********************************************************************/
*/

void OL_BUCKETS::extract_children( // recursive count
C_OUTLINE *outline, // parent outline
Expand Down Expand Up @@ -327,11 +327,11 @@ void OL_BUCKETS::extract_children( // recursive count
}


/**********************************************************************
* extract_edges
/**
* @name extract_edges
*
* Run the edge detector over the block and return a list of blobs.
**********************************************************************/
*/

void extract_edges( // find blobs
#ifndef GRAPHICS_DISABLED
Expand Down Expand Up @@ -360,11 +360,11 @@ void extract_edges( // find blobs
}


/**********************************************************************
* outlines_to_blobs
/**
* @name outlines_to_blobs
*
* Gather together outlines into blobs using the usual bucket sort.
**********************************************************************/
*/

void outlines_to_blobs( // find blobs
BLOCK *block, // block to scan
Expand All @@ -379,11 +379,11 @@ void outlines_to_blobs( // find blobs
}


/**********************************************************************
* fill_buckets
/**
* @name fill_buckets
*
* Run the edge detector over the block and return a list of blobs.
**********************************************************************/
*/

void fill_buckets( // find blobs
C_OUTLINE_LIST *outlines, // outlines in block
Expand All @@ -404,11 +404,11 @@ void fill_buckets( // find blobs
}


/**********************************************************************
* empty_buckets
/**
* @name empty_buckets
*
* Run the edge detector over the block and return a list of blobs.
**********************************************************************/
*/

void empty_buckets( // find blobs
BLOCK *block, // block to scan
Expand Down Expand Up @@ -449,13 +449,13 @@ void empty_buckets( // find blobs
}


/**********************************************************************
* capture_children
/**
* @name 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.
**********************************************************************/
*/

BOOL8 capture_children( // find children
OL_BUCKETS *buckets, // bucket sort clanss
Expand Down
Loading

0 comments on commit 859ff4c

Please sign in to comment.